Beispiel #1
0
 private void ShowServerForm()
 {
     if (serverForm == null)
     {
         serverForm             = new ServerListForm(manager);
         serverForm.FormClosed += ServerForm_FormClosed;
         serverForm.Show();
     }
     else
     {
         serverForm.Activate();
     }
 }
Beispiel #2
0
 private void ServerForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     serverForm = null;
 }