public InfoForm(InfoFormSendReportType SendReportType)
        {
            InitializeComponent();

            this.sendReportType = SendReportType;

            if (sendReportType == InfoFormSendReportType.Disabled)
            {
                this.sendButton.Visible = false;
            }
        }
 public static void Show(System.Windows.Forms.Form ParentForm, string Caption, string Text, InfoFormSendReportType SendReportType)
 {
     Show(ParentForm, Caption, Text, null, SendReportType);
 }
 public static void Show(string Caption, string Text, string AuxText, InfoFormSendReportType SendReportType)
 {
     Show((System.Windows.Forms.Form)null, Caption, Text, AuxText, SendReportType);
 }
 public static void Show(string Caption, System.Exception Exception, InfoFormSendReportType SendReportType)
 {
     Show((System.Windows.Forms.Form)null, Caption, Exception, SendReportType);
 }
        public static void Show(System.Windows.Forms.Form ParentForm, string Caption, string Text, string AuxText, InfoFormSendReportType SendReportType)
        {
            InfoForm infoForm = new InfoForm(SendReportType);

            if (AuxText != null)
            {
                infoForm.ShowForm(ParentForm, Caption, Text, AuxText, null);
            }
            else
            {
                infoForm.ShowForm(ParentForm, Caption, Text, null);
            }
        }
        public static void Show(System.Windows.Forms.Form ParentForm, string Caption, System.Exception Exception, InfoFormSendReportType SendReportType)
        {
            InfoForm infoForm = new InfoForm(SendReportType);

            infoForm.ShowForm(ParentForm, Caption, Exception);
        }