24 lines
845 B
VB.net
24 lines
845 B
VB.net
Public Class PageOtherAbout
|
|
|
|
Private Shadows IsLoaded As Boolean = False
|
|
Private Sub PageOtherAbout_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
|
|
|
|
'重复加载部分
|
|
PanBack.ScrollToHome()
|
|
|
|
'非重复加载部分
|
|
If IsLoaded Then Return
|
|
IsLoaded = True
|
|
|
|
ItemAboutPcl.Info = ItemAboutPcl.Info.Replace("%VERSION%", VersionDisplay).Replace("%VERSIONCODE%", VersionCode).Replace("%BRANCH%", CInt(BuildType))
|
|
End Sub
|
|
|
|
Private Sub BtnAboutUpdate_Click(sender As Object, e As MouseButtonEventArgs) Handles BtnAboutUpdate.Click
|
|
UpdateCheckByButton()
|
|
End Sub
|
|
Private Sub BtnAboutSnapshotUpdate_Click(sender As Object, e As MouseButtonEventArgs) Handles BtnAboutSnapshotUpdate.Click
|
|
UpdateCheckByButton(CheckSnapshot:=True)
|
|
End Sub
|
|
|
|
End Class
|