bool CloseWindowWithOutHistory(string name) { if (m_WinBases.ContainsKey(name)) { WindowsBase w = m_WinBases[name]; if (w.Deactive()) { _Now = null; return(true); } } return(false); }
public bool CloseWindow(string name) { if (m_WinBases.ContainsKey(name)) { WindowsBase w = m_WinBases[name]; if (w.closeState == WindowsBase.CloseState.Default) { m_QueueWindows.Push(w); } if (w.Deactive()) { _Now = null; return(true); } } return(false); }