优化代码

This commit is contained in:
BookerLiu
2022-09-01 15:23:44 +08:00
parent e82af431b5
commit d5e0dc98db
14 changed files with 576 additions and 83 deletions

View File

@@ -111,9 +111,7 @@ namespace GeekDesk.Control.Windows
private static System.Windows.Window window = null;
#pragma warning disable CS0108 // “ToDoWindow.Show()”隐藏继承的成员“Window.Show()”。如果是有意隐藏,请使用关键字 new。
public static void Show()
#pragma warning restore CS0108 // “ToDoWindow.Show()”隐藏继承的成员“Window.Show()”。如果是有意隐藏,请使用关键字 new。
{
if (window == null || !window.Activate())
{