private void MainForm_Load(object sender, EventArgs e) { Text = "MOSA GDB Debugger v" + CompilerVersion.VersionString; dockPanel.SuspendLayout(true); dockPanel.Theme = new VS2015DarkTheme(); dockPanel.DockTopPortion = 88; controlView.Show(dockPanel, DockState.DockTop); statusView.Show(controlView.PanelPane, DockAlignment.Right, 0.50); breakPointView.Show(dockPanel, DockState.DockBottom); watchView.Show(breakPointView.PanelPane, DockAlignment.Right, 0.50); launchView.Show(dockPanel, DockState.Document); displayView.Show(dockPanel, DockState.Document); traceView.Show(dockPanel, DockState.Document); outputView.Show(dockPanel, DockState.Document); //scriptView.Show(dockPanel, DockState.Document); registersView.Show(dockPanel, DockState.DockRight); stackFrameView.Show(registersView.Pane, DockAlignment.Bottom, 0.5); sourceView.Show(dockPanel, DockState.Document); sourceDataView.Show(dockPanel, DockState.Document); var memoryView = new MemoryView(this); memoryView.Show(dockPanel, DockState.Document); symbolView.Show(dockPanel, DockState.Document); methodParametersView.Show(symbolView.PanelPane, DockAlignment.Right, 0.35); instructionView.Show(methodParametersView.PanelPane, DockAlignment.Bottom, 0.85); methodView.Show(instructionView.PanelPane, instructionView); callStackView.Show(instructionView.PanelPane, DockAlignment.Bottom, 0.25); registersView.Show(); launchView.Show(); dockPanel.ResumeLayout(true, true); if (ImageFile != null) { LaunchImage(); } }
private void btnViewMemory_Click(object sender, EventArgs e) { var memoryView = new MemoryView(this); memoryView.Show(dockPanel, DockState.Document); }
private void toolStripButton2_Click(object sender, EventArgs e) { var memoryView = new MemoryView(); memoryView.Show(dockPanel, DockState.Document); }