public static void ShowMessageBox(string title, string message) { if (AppLib.MessageWindow == null) { AppLib.CreateMsgBox(); } AppLib.MessageWindow.Title = title; AppLib.MessageWindow.MessageText = message; AppLib.MessageWindow.ShowDialog(); }