예제 #1
0
 private void ServerGraphForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     _serverGraphForm = null;
 }
예제 #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();
     }
 }