Merge pull request #5043 from ZeroWolf233/main

按F5刷新自定义主页
This commit is contained in:
龙腾猫跃 authored and GitHub committed 2024-11-04 17:38:51 +08:00
commit 114d9dd079
2 files changed
+7 -1

No files matched your search

@@ -22,4 +22,4 @@
</local:MyCard>
</StackPanel>
</local:MyScrollViewer>
</local:MyPageRight>
</local:MyPageRight>
@@ -26,6 +26,12 @@
''' <summary>
''' 刷新自定义主页。
''' </summary>
Private Sub PressF5(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
If e.Key = Key.F5 Then
ForceRefresh()
End If
End Sub
Private Sub Refresh() Handles Me.Loaded
RunInNewThread(
Sub()