| | |
| | | }
|
| | | }
|
| | |
|
| | | public WindowType GetWindowType(string name)
|
| | | {
|
| | | return windows.GetWindowType(name);
|
| | | }
|
| | |
|
| | | public void OpenFromLocal<T>() where T : Window
|
| | | {
|
| | | var command = new OpenCommand()
|
| | |
| | | windowKeys.Remove(key);
|
| | | }
|
| | |
|
| | | public WindowType GetWindowType(string key)
|
| | | {
|
| | | if (windows.ContainsKey(key))
|
| | | {
|
| | | return windows[key].windowInfo.windowType;
|
| | | }
|
| | | else
|
| | | {
|
| | | return WindowType.Flag;
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | for (int i = 0; i < windowKeys.Count; i++)
|
| | | {
|
| | | var key = windowKeys[i];
|
| | | var type = WindowCenter.Instance.GetWindowType(key);
|
| | | if (type >= WindowType.Tip && type <= WindowType.Loading)
|
| | | {
|
| | | continue;
|
| | | }
|
| | |
|
| | | if (WindowCenter.Instance.IsOpen(key) && key != "NewBieWin")
|
| | | {
|
| | | if (!openWindows.ContainsKey(jumpPhase))
|
| | |
| | | Tip = 3,
|
| | | System = 4,
|
| | | Loading = 5,
|
| | |
|
| | | Flag=99,
|
| | | }
|
| | |
|
| | | public enum GestureType
|