Esempio n. 1
0
 private void ServerGraphForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _serverGraphForm = null;
 }
Esempio n. 2
0
 private void ServerGraphToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_serverGraphForm == null)
     {
         _serverGraphForm = new ServerGraphForm(_controller) { MdiParent = this };
         _serverGraphForm.FormClosed += ServerGraphForm_FormClosed;
         _serverGraphForm.Show();
     }
     else
     {
         _serverGraphForm.Activate();
     }
 }