Exemple #1
0
 private void syslogViewerMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Form myForm = this.FindForm("syslogViewer");
         if (myForm == null || myForm.IsDisposed)
         {
             myForm      = new baseClass.forms.syslogViewer();
             myForm.Name = "syslogViewer";
         }
         this.ShowForm(myForm);
     }
     catch (Exception er)
     {
         this.ShowError(er);
     }
 }
Exemple #2
0
 private void syslogViewerMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Form myForm = this.FindForm("syslogViewer");
         if (myForm == null || myForm.IsDisposed)
         {
             myForm = new baseClass.forms.syslogViewer();
             myForm.Name = "syslogViewer";
         }
         this.ShowForm(myForm);
     }
     catch (Exception er)
     {
         this.ShowError(er);
     }
 }