--- trunk/RomCheater/Main.Designer.cs 2012/05/09 06:28:44 16 +++ trunk/RomCheater/Main.Designer.cs 2012/06/02 15:48:25 227 @@ -28,49 +28,52 @@ /// private void InitializeComponent() { - this.main_split = new System.Windows.Forms.SplitContainer(); + WeifenLuo.WinFormsUI.Docking.DockPanelSkin dockPanelSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPanelSkin(); + WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin autoHideStripSkin1 = new WeifenLuo.WinFormsUI.Docking.AutoHideStripSkin(); + WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient1 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin dockPaneStripSkin1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripSkin(); + WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient dockPaneStripGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient2 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient2 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient3 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient1 = new WeifenLuo.WinFormsUI.Docking.DockPaneStripToolWindowGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient4 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient5 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.DockPanelGradient dockPanelGradient3 = new WeifenLuo.WinFormsUI.Docking.DockPanelGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient6 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); + WeifenLuo.WinFormsUI.Docking.TabGradient tabGradient7 = new WeifenLuo.WinFormsUI.Docking.TabGradient(); this.mainmnu = new System.Windows.Forms.MenuStrip(); this.mnuFile = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemOpenProcess = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.mnuItemExit = new System.Windows.Forms.ToolStripMenuItem(); - this.txtLog = new System.Windows.Forms.RichTextBox(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.MainTab = new System.Windows.Forms.TabPage(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.Status_control_flow = new System.Windows.Forms.FlowLayoutPanel(); - this.btnCopyLogToClipboard = new System.Windows.Forms.Button(); - ((System.ComponentModel.ISupportInitialize)(this.main_split)).BeginInit(); - this.main_split.Panel1.SuspendLayout(); - this.main_split.Panel2.SuspendLayout(); - this.main_split.SuspendLayout(); + this.mnuTools = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuView = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemShowLogWindow = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemShowRamDumpDialog = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemShowPIDSelector = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemShowMemoryView = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemShowDataTypeConverter = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuHelp = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemHelpAbout = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuDebug = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuTestExeParse = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuItemFindMaxNonNegativeHexValue = new System.Windows.Forms.ToolStripMenuItem(); + this.dockPanel = new WeifenLuo.WinFormsUI.Docking.DockPanel(); + this.mnuItemShowMemorySearch = new System.Windows.Forms.ToolStripMenuItem(); this.mainmnu.SuspendLayout(); - this.tabControl1.SuspendLayout(); - this.Status_control_flow.SuspendLayout(); this.SuspendLayout(); // - // main_split - // - this.main_split.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.main_split.Dock = System.Windows.Forms.DockStyle.Fill; - this.main_split.Location = new System.Drawing.Point(0, 24); - this.main_split.Name = "main_split"; - this.main_split.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // main_split.Panel1 - // - this.main_split.Panel1.Controls.Add(this.tabControl1); - // - // main_split.Panel2 - // - this.main_split.Panel2.Controls.Add(this.txtLog); - this.main_split.Panel2.Controls.Add(this.Status_control_flow); - this.main_split.Size = new System.Drawing.Size(1229, 688); - this.main_split.SplitterDistance = 534; - this.main_split.TabIndex = 0; - // // mainmnu // this.mainmnu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuFile}); + this.mnuFile, + this.mnuTools, + this.mnuView, + this.mnuHelp, + this.mnuDebug}); this.mainmnu.Location = new System.Drawing.Point(0, 0); this.mainmnu.Name = "mainmnu"; this.mainmnu.Size = new System.Drawing.Size(1229, 24); @@ -80,80 +83,197 @@ // mnuFile // this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemOpenProcess, + this.toolStripSeparator1, this.mnuItemExit}); this.mnuFile.Name = "mnuFile"; this.mnuFile.Size = new System.Drawing.Size(37, 20); this.mnuFile.Text = "&File"; // + // mnuItemOpenProcess + // + this.mnuItemOpenProcess.Name = "mnuItemOpenProcess"; + this.mnuItemOpenProcess.Size = new System.Drawing.Size(146, 22); + this.mnuItemOpenProcess.Text = "&Open process"; + this.mnuItemOpenProcess.Click += new System.EventHandler(this.mnuItemOpenProcess_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(143, 6); + // // mnuItemExit // this.mnuItemExit.Name = "mnuItemExit"; - this.mnuItemExit.Size = new System.Drawing.Size(152, 22); + this.mnuItemExit.Size = new System.Drawing.Size(146, 22); this.mnuItemExit.Text = "&Exit"; this.mnuItemExit.Click += new System.EventHandler(this.mnuItemExit_Click); // - // txtLog + // mnuTools // - this.txtLog.BackColor = System.Drawing.SystemColors.ControlDark; - this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill; - this.txtLog.Location = new System.Drawing.Point(0, 0); - this.txtLog.Name = "txtLog"; - this.txtLog.ReadOnly = true; - this.txtLog.Size = new System.Drawing.Size(1225, 118); - this.txtLog.TabIndex = 0; - this.txtLog.Text = ""; - // - // tabControl1 - // - this.tabControl1.Controls.Add(this.MainTab); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl1.Location = new System.Drawing.Point(0, 0); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(1225, 530); - this.tabControl1.TabIndex = 0; - // - // MainTab - // - this.MainTab.Location = new System.Drawing.Point(4, 22); - this.MainTab.Name = "MainTab"; - this.MainTab.Padding = new System.Windows.Forms.Padding(3); - this.MainTab.Size = new System.Drawing.Size(1217, 504); - this.MainTab.TabIndex = 0; - this.MainTab.Text = "tabPage1"; - this.MainTab.UseVisualStyleBackColor = true; - // - // tabPage2 - // - this.tabPage2.Location = new System.Drawing.Point(4, 22); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(192, 74); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "tabPage2"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // Status_control_flow - // - this.Status_control_flow.Controls.Add(this.btnCopyLogToClipboard); - this.Status_control_flow.Dock = System.Windows.Forms.DockStyle.Bottom; - this.Status_control_flow.Location = new System.Drawing.Point(0, 118); - this.Status_control_flow.Name = "Status_control_flow"; - this.Status_control_flow.Size = new System.Drawing.Size(1225, 28); - this.Status_control_flow.TabIndex = 1; - // - // btnCopyLogToClipboard - // - this.btnCopyLogToClipboard.AutoSize = true; - this.btnCopyLogToClipboard.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.btnCopyLogToClipboard.Location = new System.Drawing.Point(3, 3); - this.btnCopyLogToClipboard.Name = "btnCopyLogToClipboard"; - this.btnCopyLogToClipboard.Size = new System.Drawing.Size(125, 23); - this.btnCopyLogToClipboard.TabIndex = 0; - this.btnCopyLogToClipboard.Text = "Copy Log To Clipboard"; - this.btnCopyLogToClipboard.UseVisualStyleBackColor = true; - this.btnCopyLogToClipboard.Click += new System.EventHandler(this.btnCopyLogToClipboard_Click); + this.mnuTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemConfig}); + this.mnuTools.Name = "mnuTools"; + this.mnuTools.Size = new System.Drawing.Size(48, 20); + this.mnuTools.Text = "&Tools"; + // + // mnuItemConfig + // + this.mnuItemConfig.Name = "mnuItemConfig"; + this.mnuItemConfig.Size = new System.Drawing.Size(110, 22); + this.mnuItemConfig.Text = "&Config"; + this.mnuItemConfig.Click += new System.EventHandler(this.mnuItemConfig_Click); + // + // mnuView + // + this.mnuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemShowLogWindow, + this.mnuItemShowRamDumpDialog, + this.mnuItemShowPIDSelector, + this.mnuItemShowMemoryView, + this.mnuItemShowDataTypeConverter, + this.mnuItemShowMemorySearch}); + this.mnuView.Name = "mnuView"; + this.mnuView.Size = new System.Drawing.Size(44, 20); + this.mnuView.Text = "&View"; + // + // mnuItemShowLogWindow + // + this.mnuItemShowLogWindow.Name = "mnuItemShowLogWindow"; + this.mnuItemShowLogWindow.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowLogWindow.Text = "Show &Log Window"; + this.mnuItemShowLogWindow.Click += new System.EventHandler(this.mnuItemShowLogWindow_Click); + // + // mnuItemShowRamDumpDialog + // + this.mnuItemShowRamDumpDialog.Name = "mnuItemShowRamDumpDialog"; + this.mnuItemShowRamDumpDialog.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowRamDumpDialog.Text = "Show &Ram Dump Dialog"; + this.mnuItemShowRamDumpDialog.Click += new System.EventHandler(this.mnuItemShowRamDumpDialog_Click); + // + // mnuItemShowPIDSelector + // + this.mnuItemShowPIDSelector.Name = "mnuItemShowPIDSelector"; + this.mnuItemShowPIDSelector.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowPIDSelector.Text = "Show &Process Selctor"; + this.mnuItemShowPIDSelector.Click += new System.EventHandler(this.mnuItemShowPIDSelector_Click); + // + // mnuItemShowMemoryView + // + this.mnuItemShowMemoryView.Name = "mnuItemShowMemoryView"; + this.mnuItemShowMemoryView.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowMemoryView.Text = "Show &Memory View"; + this.mnuItemShowMemoryView.Click += new System.EventHandler(this.mnuItemShowMemoryView_Click); + // + // mnuItemShowDataTypeConverter + // + this.mnuItemShowDataTypeConverter.Name = "mnuItemShowDataTypeConverter"; + this.mnuItemShowDataTypeConverter.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowDataTypeConverter.Text = "Show &DataType Converter"; + this.mnuItemShowDataTypeConverter.Click += new System.EventHandler(this.mnuItemShowDataTypeConverter_Click); + // + // mnuHelp + // + this.mnuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuItemHelpAbout}); + this.mnuHelp.Name = "mnuHelp"; + this.mnuHelp.Size = new System.Drawing.Size(44, 20); + this.mnuHelp.Text = "&Help"; + // + // mnuItemHelpAbout + // + this.mnuItemHelpAbout.Name = "mnuItemHelpAbout"; + this.mnuItemHelpAbout.Size = new System.Drawing.Size(107, 22); + this.mnuItemHelpAbout.Text = "&About"; + this.mnuItemHelpAbout.Click += new System.EventHandler(this.mnuItemHelpAbout_Click); + // + // mnuDebug + // + this.mnuDebug.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuTestExeParse, + this.mnuItemFindMaxNonNegativeHexValue}); + this.mnuDebug.Name = "mnuDebug"; + this.mnuDebug.Size = new System.Drawing.Size(54, 20); + this.mnuDebug.Text = "&Debug"; + // + // mnuTestExeParse + // + this.mnuTestExeParse.Name = "mnuTestExeParse"; + this.mnuTestExeParse.Size = new System.Drawing.Size(248, 22); + this.mnuTestExeParse.Text = "&Test EXE Parse"; + this.mnuTestExeParse.Click += new System.EventHandler(this.mnuTestExeParse_Click); + // + // mnuItemFindMaxNonNegativeHexValue + // + this.mnuItemFindMaxNonNegativeHexValue.Name = "mnuItemFindMaxNonNegativeHexValue"; + this.mnuItemFindMaxNonNegativeHexValue.Size = new System.Drawing.Size(248, 22); + this.mnuItemFindMaxNonNegativeHexValue.Text = "&Find max non-negative hex value"; + this.mnuItemFindMaxNonNegativeHexValue.Click += new System.EventHandler(this.mnuItemFindMaxNonNegativeHexValue_Click); + // + // dockPanel + // + this.dockPanel.ActiveAutoHideContent = null; + this.dockPanel.BackColor = System.Drawing.SystemColors.ControlLight; + this.dockPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.dockPanel.DockBackColor = System.Drawing.SystemColors.ControlLight; + this.dockPanel.DocumentStyle = WeifenLuo.WinFormsUI.Docking.DocumentStyle.DockingWindow; + this.dockPanel.Location = new System.Drawing.Point(0, 24); + this.dockPanel.Name = "dockPanel"; + this.dockPanel.Size = new System.Drawing.Size(1229, 688); + dockPanelGradient1.EndColor = System.Drawing.SystemColors.ControlLight; + dockPanelGradient1.StartColor = System.Drawing.SystemColors.ControlLight; + autoHideStripSkin1.DockStripGradient = dockPanelGradient1; + tabGradient1.EndColor = System.Drawing.SystemColors.Control; + tabGradient1.StartColor = System.Drawing.SystemColors.Control; + tabGradient1.TextColor = System.Drawing.SystemColors.ControlDarkDark; + autoHideStripSkin1.TabGradient = tabGradient1; + autoHideStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); + dockPanelSkin1.AutoHideStripSkin = autoHideStripSkin1; + tabGradient2.EndColor = System.Drawing.SystemColors.ControlLightLight; + tabGradient2.StartColor = System.Drawing.SystemColors.ControlLightLight; + tabGradient2.TextColor = System.Drawing.SystemColors.ControlText; + dockPaneStripGradient1.ActiveTabGradient = tabGradient2; + dockPanelGradient2.EndColor = System.Drawing.SystemColors.Control; + dockPanelGradient2.StartColor = System.Drawing.SystemColors.Control; + dockPaneStripGradient1.DockStripGradient = dockPanelGradient2; + tabGradient3.EndColor = System.Drawing.SystemColors.ControlLight; + tabGradient3.StartColor = System.Drawing.SystemColors.ControlLight; + tabGradient3.TextColor = System.Drawing.SystemColors.ControlText; + dockPaneStripGradient1.InactiveTabGradient = tabGradient3; + dockPaneStripSkin1.DocumentGradient = dockPaneStripGradient1; + dockPaneStripSkin1.TextFont = new System.Drawing.Font("Segoe UI", 9F); + tabGradient4.EndColor = System.Drawing.SystemColors.ActiveCaption; + tabGradient4.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tabGradient4.StartColor = System.Drawing.SystemColors.GradientActiveCaption; + tabGradient4.TextColor = System.Drawing.SystemColors.ActiveCaptionText; + dockPaneStripToolWindowGradient1.ActiveCaptionGradient = tabGradient4; + tabGradient5.EndColor = System.Drawing.SystemColors.Control; + tabGradient5.StartColor = System.Drawing.SystemColors.Control; + tabGradient5.TextColor = System.Drawing.SystemColors.ControlText; + dockPaneStripToolWindowGradient1.ActiveTabGradient = tabGradient5; + dockPanelGradient3.EndColor = System.Drawing.SystemColors.ControlLight; + dockPanelGradient3.StartColor = System.Drawing.SystemColors.ControlLight; + dockPaneStripToolWindowGradient1.DockStripGradient = dockPanelGradient3; + tabGradient6.EndColor = System.Drawing.SystemColors.InactiveCaption; + tabGradient6.LinearGradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; + tabGradient6.StartColor = System.Drawing.SystemColors.GradientInactiveCaption; + tabGradient6.TextColor = System.Drawing.SystemColors.InactiveCaptionText; + dockPaneStripToolWindowGradient1.InactiveCaptionGradient = tabGradient6; + tabGradient7.EndColor = System.Drawing.Color.Transparent; + tabGradient7.StartColor = System.Drawing.Color.Transparent; + tabGradient7.TextColor = System.Drawing.SystemColors.ControlDarkDark; + dockPaneStripToolWindowGradient1.InactiveTabGradient = tabGradient7; + dockPaneStripSkin1.ToolWindowGradient = dockPaneStripToolWindowGradient1; + dockPanelSkin1.DockPaneStripSkin = dockPaneStripSkin1; + this.dockPanel.Skin = dockPanelSkin1; + this.dockPanel.TabIndex = 3; + // + // mnuItemShowMemorySearch + // + this.mnuItemShowMemorySearch.Name = "mnuItemShowMemorySearch"; + this.mnuItemShowMemorySearch.Size = new System.Drawing.Size(211, 22); + this.mnuItemShowMemorySearch.Text = "Show Memory &Search"; + this.mnuItemShowMemorySearch.Click += new System.EventHandler(this.mnuItemShowMemorySearch_Click); // // Main // @@ -161,19 +281,15 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ControlLight; this.ClientSize = new System.Drawing.Size(1229, 712); - this.Controls.Add(this.main_split); + this.Controls.Add(this.dockPanel); this.Controls.Add(this.mainmnu); this.Name = "Main"; this.Text = "Form1"; - this.main_split.Panel1.ResumeLayout(false); - this.main_split.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.main_split)).EndInit(); - this.main_split.ResumeLayout(false); + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing); + this.Load += new System.EventHandler(this.Main_Load); + this.Shown += new System.EventHandler(this.Main_Shown); this.mainmnu.ResumeLayout(false); this.mainmnu.PerformLayout(); - this.tabControl1.ResumeLayout(false); - this.Status_control_flow.ResumeLayout(false); - this.Status_control_flow.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -181,16 +297,26 @@ #endregion - private System.Windows.Forms.SplitContainer main_split; private System.Windows.Forms.MenuStrip mainmnu; private System.Windows.Forms.ToolStripMenuItem mnuFile; private System.Windows.Forms.ToolStripMenuItem mnuItemExit; - private System.Windows.Forms.RichTextBox txtLog; - private System.Windows.Forms.TabControl tabControl1; - private System.Windows.Forms.TabPage MainTab; - private System.Windows.Forms.TabPage tabPage2; - private System.Windows.Forms.FlowLayoutPanel Status_control_flow; - private System.Windows.Forms.Button btnCopyLogToClipboard; + private System.Windows.Forms.ToolStripMenuItem mnuTools; + private System.Windows.Forms.ToolStripMenuItem mnuItemConfig; + private System.Windows.Forms.ToolStripMenuItem mnuItemOpenProcess; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel; + private System.Windows.Forms.ToolStripMenuItem mnuView; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowLogWindow; + private System.Windows.Forms.ToolStripMenuItem mnuHelp; + private System.Windows.Forms.ToolStripMenuItem mnuItemHelpAbout; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowRamDumpDialog; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowPIDSelector; + private System.Windows.Forms.ToolStripMenuItem mnuDebug; + private System.Windows.Forms.ToolStripMenuItem mnuTestExeParse; + private System.Windows.Forms.ToolStripMenuItem mnuItemFindMaxNonNegativeHexValue; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowMemoryView; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowDataTypeConverter; + private System.Windows.Forms.ToolStripMenuItem mnuItemShowMemorySearch; } }