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