private void debuggerToolStripMenuItem_Click(object sender, EventArgs e) { if (debugger == null) { debugger = new FormDebugger(nn); debugger.FormClosed += Debugger_FormClosed; debugger.Show(); } else { debugger.Focus(); } }
private void Debugger_FormClosed(object sender, FormClosedEventArgs e) { debugger = null; }