public static MessageBox ShowYesNo(string text, Action<int> result) { MessageBox msg = new MessageBox(2, text, result); GuiManager.Singleton.Controls.Add(msg); msg.Focus(); return msg; }
public static MessageBox ShowMessage(string text) { MessageBox msg = new MessageBox(0, text, null); GuiManager.Singleton.Controls.Add(msg); msg.Focus(); return msg; }
public static MessageBox ShowMessage(string text) { MessageBox msg = new MessageBox(0, text, null); GuiManager.Singleton.Controls.Add(msg); msg.Focus(); return(msg); }
public static MessageBox ShowOk(string text, Action <int> result) { MessageBox msg = new MessageBox(1, text, result); GuiManager.Singleton.Controls.Add(msg); msg.Focus(); return(msg); }