示例#1
0
        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);
            }
        }
示例#2
0
        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);
        }