APG.CodeHelper.ExceptionHandler.ExceptionHandler.ShowExceptionDialog C# (CSharp) Method

ShowExceptionDialog() private static method

private static ShowExceptionDialog ( Exception exception, string exceptionMessage, string aboutMessage, MessageBoxIcon messageBoxIcon, bool bShowSendButton, System detailDialogType ) : void
exception System.Exception
exceptionMessage string
aboutMessage string
messageBoxIcon MessageBoxIcon
bShowSendButton bool
detailDialogType System
return void
        private static void ShowExceptionDialog(Exception exception, string exceptionMessage, string aboutMessage, MessageBoxIcon messageBoxIcon, bool bShowSendButton, System.Type detailDialogType)
        {
            ExceptionDialog exceptionDialog = new ExceptionDialog(exception);
            exceptionDialog.DetailDialogType = detailDialogType;
            exceptionDialog.ExceptionMessage = exceptionMessage;
            exceptionDialog.AboutMessage = aboutMessage;
            exceptionDialog.MessageIcon = messageBoxIcon;
            exceptionDialog.Text = Application.ProductName;
            exceptionDialog.BtnRaport.Visible = bShowSendButton;

            exceptionDialog.ShowDialog();
        }

Same methods

ExceptionHandler::ShowExceptionDialog ( Exception exception, string exceptionMessage, string aboutMessage, MessageBoxIcon messageBoxIcon, bool bShowSendButton ) : void