Пример #1
0
 private void ShowMemoryWindow()
 {
     if (memoryWindow == null || memoryWindow.IsDisposed)
     {
         memoryWindow = new MemoryWindow
         {
             //fix Memory = system.RAM,
             Left = debugWindow.Left,
             Top  = debugWindow.Top + debugWindow.Height
         };
         memoryWindow.Show();
     }
     else
     {
         memoryWindow.BringToFront();
     }
     memoryWindow.UpdateMCRButtons();
 }
Пример #2
0
 private void ShowMemoryWindow()
 {
     memoryToolStripMenuItem.Enabled = true;
     if (memoryWindow == null || memoryWindow.IsDisposed)
     {
         memoryWindow = new MemoryWindow
         {
             Memory = kernel.CPU.Memory,
             Left   = debugWindow.Left,
             Top    = debugWindow.Top + debugWindow.Height
         };
         memoryWindow.Show();
     }
     else
     {
         memoryWindow.BringToFront();
     }
     memoryWindow.UpdateMCRButtons();
     memoryWindow.SetGamma += UpdateGamma;
 }