| | |
| | |
|
| | | public void Close(string name)
|
| | | {
|
| | | if (WindowConfig.Get().IsChildWindow(name))
|
| | | if (WindowConfig.IsChildWindow(name))
|
| | | {
|
| | | CloseImmediately(name);
|
| | | }
|
| | |
| | | break;
|
| | | }
|
| | |
|
| | | isIgnore = isIgnore || WindowConfig.Get().IsChildWindow(name);
|
| | | isIgnore = isIgnore || WindowConfig.IsChildWindow(name);
|
| | | if (!isIgnore)
|
| | | {
|
| | | if (window.windowState == Window.WindowState.Opened || window.windowState == Window.WindowState.Opening)
|
| | |
| | | continue;
|
| | | }
|
| | |
|
| | | var isIgnore = WindowConfig.Get().IsChildWindow(name);
|
| | | var isIgnore = WindowConfig.IsChildWindow(name);
|
| | | if (isIgnore)
|
| | | {
|
| | | continue;
|
| | |
| | | break;
|
| | | }
|
| | |
|
| | | isIgnore = isIgnore || WindowConfig.Get().IsChildWindow(name);
|
| | | isIgnore = isIgnore || WindowConfig.IsChildWindow(name);
|
| | | if (!isIgnore)
|
| | | {
|
| | | if (window.windowState == Window.WindowState.Opened || window.windowState == Window.WindowState.Opening)
|