🎉 添加新手引导

This commit is contained in:
BookerLiu
2023-04-19 15:44:50 +08:00
parent 48732a0815
commit 943e8bcefb

View File

@@ -1028,6 +1028,9 @@ namespace GeekDesk
#region #region
private void Guide() private void Guide()
{ {
try
{
//防止影响主程序进程
if (CheckShouldShowApp()) if (CheckShouldShowApp())
{ {
ShowApp(); ShowApp();
@@ -1036,6 +1039,8 @@ namespace GeekDesk
GuideSwitch(0); GuideSwitch(0);
GuideCard.Visibility = Visibility.Visible; GuideCard.Visibility = Visibility.Visible;
} }
catch (Exception) { }
}
private void GuideSwitch(int index) private void GuideSwitch(int index)
{ {