private void ShowServerLogForm()
 {
     if (serverLogForm != null)
     {
         serverLogForm.Activate();
         serverLogForm.Update();
     }
     else
     {
         serverLogForm = new ServerLogForm(controller);
         serverLogForm.Show();
         serverLogForm.FormClosed += serverLogForm_FormClosed;
     }
 }
Exemple #2
0
 private void ShowServerLogForm()
 {
     if (serverLogForm != null)
     {
         serverLogForm.Activate();
         serverLogForm.Update();
         if (serverLogForm.WindowState == FormWindowState.Minimized)
         {
             serverLogForm.WindowState = FormWindowState.Normal;
         }
     }
     else
     {
         serverLogForm = new ServerLogForm(controller);
         serverLogForm.Show();
         serverLogForm.Activate();
         serverLogForm.BringToFront();
         serverLogForm.FormClosed += serverLogForm_FormClosed;
     }
 }