chore: 减少屎山
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
PanBack.ScrollToHome()
|
PanBack.ScrollToHome()
|
||||||
PanScroll = PanBack '不知道为啥不能在 XAML 设置
|
PanScroll = PanBack '不知道为啥不能在 XAML 设置
|
||||||
PanLog.Visibility = If(ModeDebug, Visibility.Visible, Visibility.Collapsed)
|
PanLog.Visibility = If(ModeDebug, Visibility.Visible, Visibility.Collapsed)
|
||||||
AddHandler Me.KeyDown, AddressOf PressF5
|
|
||||||
'快照版提示
|
'快照版提示
|
||||||
#If BETA Then
|
#If BETA Then
|
||||||
PanHint.Visibility = Visibility.Collapsed
|
PanHint.Visibility = Visibility.Collapsed
|
||||||
@@ -27,7 +26,7 @@
|
|||||||
''' <summary>
|
''' <summary>
|
||||||
''' 刷新自定义主页。
|
''' 刷新自定义主页。
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Private Sub PressF5(sender As Object, e As KeyEventArgs)
|
Private Sub PressF5(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
|
||||||
If e.Key = Key.F5 Then
|
If e.Key = Key.F5 Then
|
||||||
ForceRefresh()
|
ForceRefresh()
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user