Esempio n. 1
0
 private void buttonDebug_Click(object sender, EventArgs e)
 {
     if (debugWindow == null || debugWindow.IsDisposed)
     {
         debugWindow = new DebugWindow();
         debugWindow.Show();
     }
     else
     {
         debugWindow.WindowState = FormWindowState.Normal;
         debugWindow.Activate();
         debugWindow.Show();
     }
     debugWindow.UpdateState();
 }