System/WindowBase/WindowCenter.cs
@@ -77,6 +77,11 @@ } } public WindowType GetWindowType(string name) { return windows.GetWindowType(name); } public void OpenFromLocal<T>() where T : Window { var command = new OpenCommand() @@ -768,6 +773,18 @@ windowKeys.Remove(key); } public WindowType GetWindowType(string key) { if (windows.ContainsKey(key)) { return windows[key].windowInfo.windowType; } else { return WindowType.Flag; } } } }