🎉 添加新手引导

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

View File

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