Пример #1
0
        /// <summary>
        /// Display a error messagebox with details.
        /// </summary>
        /// <param name="message">error message</param>
        /// <param name="detailedMessage">details</param>
        public static void ShowDetailedErrorMessageBox(string message, string details)
        {
            FormMessageBox frmMessageBox = new FormMessageBox();

            frmMessageBox.Init(message, details, StringMessages.ErrorMessageDialogCaption);
            frmMessageBox.ShowDialog();
        }
Пример #2
0
 /// <summary>
 /// Display a error messagebox with details.
 /// </summary>
 /// <param name="message">error message</param>
 /// <param name="detailedMessage">details</param>
 public static void ShowDetailedErrorMessageBox(string message, string details)
 {
     FormMessageBox frmMessageBox = new FormMessageBox();
     frmMessageBox.Init(message, details, StringMessages.ErrorMessageDialogCaption);
     frmMessageBox.ShowDialog();
 }