Exemplo n.º 1
0
 private void ShowDebugWindow()
 {
     DebugWindow           = new UI.CPUWindow();
     DebugWindow.CPU       = kernel.CPU;
     kernel.CPU.DebugPause = true;
     DebugWindow.Kernel    = kernel;
     DebugWindow.Left      = Screen.PrimaryScreen.WorkingArea.Width - DebugWindow.Width;
     DebugWindow.Top       = Screen.PrimaryScreen.WorkingArea.Top;
     DebugWindow.Show();
 }
Exemplo n.º 2
0
 private void ShowDebugWindow()
 {
     if (debugWindow == null || debugWindow.IsDisposed)
     {
         system.CPU.DebugPause = true;
         debugWindow           = new UI.CPUWindow
         {
             Top = Screen.PrimaryScreen.WorkingArea.Top,
         };
         debugWindow.Left = Screen.PrimaryScreen.WorkingArea.Width - debugWindow.Width;
         debugWindow.SetKernel(system);
         debugWindow.Show();
     }
     else
     {
         debugWindow.BringToFront();
     }
 }
Exemplo n.º 3
0
 private void ShowDebugWindow()
 {
     cPUToolStripMenuItem.Enabled = true;
     if (debugWindow == null || debugWindow.IsDisposed)
     {
         kernel.CPU.DebugPause = true;
         debugWindow           = new UI.CPUWindow
         {
             Top = Screen.PrimaryScreen.WorkingArea.Top,
         };
         debugWindow.Left = Screen.PrimaryScreen.WorkingArea.Width - debugWindow.Width;
         debugWindow.SetKernel(kernel);
         debugWindow.Show();
     }
     else
     {
         debugWindow.SetKernel(kernel);
         debugWindow.BringToFront();
     }
 }