| | |
| | |
|
| | | public bool IsJumpState { get; private set; }
|
| | | private int jumpPhase = 0;
|
| | |
|
| | | public int jumpType { get; private set; }
|
| | | public void GetPreAllOpenWin()
|
| | | {
|
| | | jumpPhase += 1;
|
| | |
| | | {
|
| | | IsJumpState = false;
|
| | | jumpPhase = 0;
|
| | | jumpType = 0;
|
| | | openWindows.Clear();
|
| | | jumpWinNameDict.Clear();
|
| | | WindowCenter.Instance.jumpWindowCloseEvent -= CloseWindow;
|
| | |
| | | IsJumpState = false;
|
| | | openWindows.Clear();
|
| | | jumpWinNameDict.Clear();
|
| | | jumpType = 0;
|
| | | jumpPhase = 0;
|
| | | break;
|
| | | }
|
| | |
| | |
|
| | | private void SetJumpLogic<T>(int _functionalOrder = 0, bool _forceSync = true) where T : Window
|
| | | {
|
| | |
|
| | | string curOpenWin = typeof(T).Name;
|
| | | jumpWinNameDict.Add(jumpPhase, curOpenWin);
|
| | | jumpType = _tagWinSearchModel.Type;
|
| | | switch (_tagWinSearchModel.Type)
|
| | | {
|
| | | case 1:
|
| | |
| | | }
|
| | | DebugEx.Log("关闭界面类型:" + _tagWinSearchModel.Type);
|
| | | WindowCenter.Instance.jumpWindowCloseEvent -= CloseWindow;
|
| | |
|
| | | jumpType = _tagWinSearchModel.Type;
|
| | | int i = 0;
|
| | | List<string> openWinlist = null;
|
| | | switch (_tagWinSearchModel.Type)
|