public MuGuiManager() { LastMbMessage = string.Empty; zModalWindows = new List<Window>(); zDoGetWindows = true; zWindows = new List<Window>(); zLastCursorOwner = null; zWindowCursorOwner = null; LastMessageBoxReturn = MessageBoxReturn.Nothing; }
public MuGuiManager() { LastMbMessage = string.Empty; zModalWindows = new List <Window>(); zDoGetWindows = true; zWindows = new List <Window>(); zLastCursorOwner = null; zWindowCursorOwner = null; LastMessageBoxReturn = MessageBoxReturn.Nothing; }
public void Clear() { LastMessageBoxReturn = MessageBoxReturn.Nothing; LastMbMessage = string.Empty; while (zWindows.Count > 0) { zWindows.Last().Destroy(); } while (zModalWindows.Count > 0) { zModalWindows.Last().Destroy(); } }
public bool CompareMBresult(MessageBoxReturn result, string msg) => result == LastMessageBoxReturn && msg == LastMbMessage;
public void Clear() { LastMessageBoxReturn = MessageBoxReturn.Nothing; LastMbMessage = string.Empty; while (zWindows.Count > 0) zWindows.Last().Destroy(); while (zModalWindows.Count > 0) zModalWindows.Last().Destroy(); }