Beispiel #1
0
 public static void ShowHelpAboutTest(string testDescription)
 {
     try
     {
         _msg.Length = 0;
         _msg.Append(testDescription);
         _msg.Append(": ");
         Program._messageLog.WriteLine(_msg.ToString());
         HelpAboutForm frm = new HelpAboutForm();
         frm.CHelpAbout_Load(frm, new EventArgs());
         frm.Hide();
         _msg.Length = 0;
         _msg.Append("\r\n----------\r\n");
         _msg.Append(frm.txtApplicationName.Text);
         _msg.Append("\r\n----------\r\n");
         _msg.Append(frm.txtApplicationInfo.Text);
         _msg.Append("\r\n----------\r\n");
         _msg.Append(frm.txtRegistrationInfo.Text);
         _msg.Append("\r\n----------\r\n");
         _msg.Append(frm.txtSystemInfo.Text);
         _msg.Append("\r\n----------\r\n");
         Program._messageLog.WriteLine(_msg.ToString());
         frm.Close();
         frm = null;
     }
     catch (System.Exception ex)
     {
         _msg.Length = 0;
         _msg.Append(AppGlobals.AppMessages.FormatErrorMessage(ex));
         Program._messageLog.WriteLine(_msg.ToString());
         AppMessages.DisplayErrorMessage(_msg.ToString(), _saveErrorMessagesToAppLog);
     }
     finally
     {
         ;
     }
 }
Beispiel #2
0
        private void ShowHelpAbout()
        {
            HelpAboutForm appHelpAboutForm = new HelpAboutForm();

            appHelpAboutForm.ShowDialog();
        }