/// /// \brief Displays a message box /// \param question [in] message text inside the box /// \param title [in] title of the message box public static string Prompt(string question, string title) { InfoDialog inst = new InfoDialog(question, title); inst.ShowDialog(); inst.Focus(); return(null); }
/// \brief Info Dialog /// \param title [in] dialog title /// \param msg [in] message to display public static void ShowInfoDialog(string title, string msg) { var ob = InfoDialog.Prompt(msg, title); Environment.Exit(0); }