From 07e0be2837002638c817d60f870241fc2870bf2a Mon Sep 17 00:00:00 2001 From: uttervitriol Date: Sun, 2 Apr 2023 16:31:37 -0400 Subject: [PATCH 1/3] add settings tab to change various font/icon sizing parameters --- .../Controls/MemoryViewControl.Designer.cs | 2 +- ReClass.NET/Controls/MemoryViewControl.cs | 6 +- ReClass.NET/Controls/ProjectView.Designer.cs | 2 +- ReClass.NET/Forms/MainForm.Designer.cs | 2511 +++++++++-------- ReClass.NET/Forms/MainForm.cs | 3 +- ReClass.NET/Forms/SettingsForm.Designer.cs | 752 +++-- ReClass.NET/Forms/SettingsForm.cs | 85 +- ReClass.NET/Settings.cs | 12 +- ReClass.NET/UI/IconProvider.cs | 2 +- 9 files changed, 1915 insertions(+), 1460 deletions(-) diff --git a/ReClass.NET/Controls/MemoryViewControl.Designer.cs b/ReClass.NET/Controls/MemoryViewControl.Designer.cs index 942c196d..056212f6 100644 --- a/ReClass.NET/Controls/MemoryViewControl.Designer.cs +++ b/ReClass.NET/Controls/MemoryViewControl.Designer.cs @@ -68,7 +68,7 @@ private void InitializeComponent() #endregion private System.Windows.Forms.Timer repaintTimer; - private HotSpotTextBox hotSpotEditBox; + public HotSpotTextBox hotSpotEditBox; private System.Windows.Forms.ToolTip nodeInfoToolTip; } } diff --git a/ReClass.NET/Controls/MemoryViewControl.cs b/ReClass.NET/Controls/MemoryViewControl.cs index 64b8dfa4..ad5c2151 100644 --- a/ReClass.NET/Controls/MemoryViewControl.cs +++ b/ReClass.NET/Controls/MemoryViewControl.cs @@ -58,7 +58,9 @@ public SelectedNodeInfo(BaseNode node, RemoteProcess process, MemoryBuffer memor private HotSpot selectionCaret; private HotSpot selectionAnchor; - private readonly FontEx font; + public FontEx font; + + public int IconScale { get; set; } = 13; public ContextMenuStrip NodeContextMenuStrip { get; set; } @@ -137,6 +139,8 @@ protected override void OnPaint(PaintEventArgs e) MultipleNodesSelected = selectedNodes.Count > 1 }; + view.IconProvider.Dimensions = DpiUtil.ScaleIntX(IconScale); + var scrollPosition = AutoScrollPosition; var drawnSize = args.Node.Draw( diff --git a/ReClass.NET/Controls/ProjectView.Designer.cs b/ReClass.NET/Controls/ProjectView.Designer.cs index 25d6422e..efa75683 100644 --- a/ReClass.NET/Controls/ProjectView.Designer.cs +++ b/ReClass.NET/Controls/ProjectView.Designer.cs @@ -59,6 +59,6 @@ private void InitializeComponent() #endregion - private System.Windows.Forms.TreeView projectTreeView; + public System.Windows.Forms.TreeView projectTreeView; } } diff --git a/ReClass.NET/Forms/MainForm.Designer.cs b/ReClass.NET/Forms/MainForm.Designer.cs index e2b2a199..c0e6e406 100644 --- a/ReClass.NET/Forms/MainForm.Designer.cs +++ b/ReClass.NET/Forms/MainForm.Designer.cs @@ -30,243 +30,249 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); - this.processUpdateTimer = new System.Windows.Forms.Timer(this.components); - this.splitContainer = new System.Windows.Forms.SplitContainer(); - this.projectView = new ReClassNET.Controls.ProjectView(); - this.projectClassContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.deleteClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator19 = new System.Windows.Forms.ToolStripSeparator(); - this.removeUnusedClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator20 = new System.Windows.Forms.ToolStripSeparator(); - this.showCodeOfClassToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.projectClassesContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.enableHierarchyViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.autoExpandHierarchyViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); - this.expandAllClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.collapseAllClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator22 = new System.Windows.Forms.ToolStripSeparator(); - this.addNewClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.projectEnumContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.editEnumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.projectEnumsContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.editEnumsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.memoryViewControl = new ReClassNET.Controls.MemoryViewControl(); - this.selectedNodeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.changeTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.addBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.integerToolStripMenuItem1 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem2 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem3 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem4 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem5 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem6 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem7 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.insertBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.integerToolStripMenuItem8 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem9 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem10 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem11 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem12 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem13 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.integerToolStripMenuItem14 = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); - this.createClassFromNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); - this.dissectNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); - this.searchForEqualValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); - this.findOutWhatAccessesThisAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.findOutWhatWritesToThisAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); - this.copyNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pasteNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); - this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); - this.hideNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.unhideNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.unhideChildNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.unhideNodesAboveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.unhideNodesBelowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator(); - this.copyAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); - this.showCodeOfClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.shrinkClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStrip = new System.Windows.Forms.ToolStrip(); - this.attachToProcessToolStripSplitButton = new System.Windows.Forms.ToolStripSplitButton(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.openProjectToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); - this.newClassToolStripButton = new System.Windows.Forms.ToolStripButton(); - this.addBytesToolStripDropDownButton = new System.Windows.Forms.ToolStripDropDownButton(); - this.add4BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add8BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add64BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add256BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add1024BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add2048BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.add4096BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.addXBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.insertBytesToolStripDropDownButton = new System.Windows.Forms.ToolStripDropDownButton(); - this.insert4BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert8BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert64BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert256BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert1024BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert2048BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insert4096BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); - this.insertXBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.nodeTypesToolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.statusStrip = new System.Windows.Forms.StatusStrip(); - this.processInfoToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.infoToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.mainMenuStrip = new System.Windows.Forms.MenuStrip(); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.attachToProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.reattachToProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.detachToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.openProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mergeWithProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.clearProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.processInformationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.memorySearcherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.namedAddressesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator23 = new System.Windows.Forms.ToolStripSeparator(); - this.isLittleEndianToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); - this.loadSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.loadSymbolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.resumeProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.suspendProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.terminateProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.projectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.goToClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.cleanUnusedClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.showEnumsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); - this.generateCppCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.generateCSharpCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); - this.splitContainer.Panel1.SuspendLayout(); - this.splitContainer.Panel2.SuspendLayout(); - this.splitContainer.SuspendLayout(); - this.projectClassContextMenuStrip.SuspendLayout(); - this.projectClassesContextMenuStrip.SuspendLayout(); - this.projectEnumContextMenuStrip.SuspendLayout(); - this.projectEnumsContextMenuStrip.SuspendLayout(); - this.selectedNodeContextMenuStrip.SuspendLayout(); - this.toolStrip.SuspendLayout(); - this.statusStrip.SuspendLayout(); - this.mainMenuStrip.SuspendLayout(); - this.SuspendLayout(); - // - // processUpdateTimer - // - this.processUpdateTimer.Enabled = true; - this.processUpdateTimer.Interval = 5000; - this.processUpdateTimer.Tick += new System.EventHandler(this.processUpdateTimer_Tick); - // - // splitContainer - // - this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; - this.splitContainer.Location = new System.Drawing.Point(0, 49); - this.splitContainer.Name = "splitContainer"; - // - // splitContainer.Panel1 - // - this.splitContainer.Panel1.Controls.Add(this.projectView); - // - // splitContainer.Panel2 - // - this.splitContainer.Panel2.BackColor = System.Drawing.SystemColors.Control; - this.splitContainer.Panel2.Controls.Add(this.memoryViewControl); - this.splitContainer.Size = new System.Drawing.Size(1141, 524); - this.splitContainer.SplitterDistance = 201; - this.splitContainer.TabIndex = 4; - // - // projectView - // - this.projectView.ClassContextMenuStrip = this.projectClassContextMenuStrip; - this.projectView.ClassesContextMenuStrip = this.projectClassesContextMenuStrip; - this.projectView.Dock = System.Windows.Forms.DockStyle.Fill; - this.projectView.EnumContextMenuStrip = this.projectEnumContextMenuStrip; - this.projectView.EnumsContextMenuStrip = this.projectEnumsContextMenuStrip; - this.projectView.Location = new System.Drawing.Point(0, 0); - this.projectView.Name = "projectView"; - this.projectView.Size = new System.Drawing.Size(201, 524); - this.projectView.TabIndex = 0; - this.projectView.SelectionChanged += new ReClassNET.Controls.ProjectView.SelectionChangedEvent(this.classesView_ClassSelected); - // - // projectClassContextMenuStrip - // - this.projectClassContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + this.processUpdateTimer = new System.Windows.Forms.Timer(this.components); + this.splitContainer = new System.Windows.Forms.SplitContainer(); + this.projectView = new ReClassNET.Controls.ProjectView(); + this.projectClassContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.deleteClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator19 = new System.Windows.Forms.ToolStripSeparator(); + this.removeUnusedClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator20 = new System.Windows.Forms.ToolStripSeparator(); + this.showCodeOfClassToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.projectClassesContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.enableHierarchyViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.autoExpandHierarchyViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); + this.expandAllClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.collapseAllClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator22 = new System.Windows.Forms.ToolStripSeparator(); + this.addNewClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.projectEnumContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.editEnumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.projectEnumsContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.editEnumsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.memoryViewControl = new ReClassNET.Controls.MemoryViewControl(); + this.selectedNodeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.changeTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.addBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.integerToolStripMenuItem1 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem2 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem3 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem4 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem5 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem6 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem7 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.insertBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.integerToolStripMenuItem8 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem9 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem10 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem11 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem12 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem13 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.integerToolStripMenuItem14 = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.createClassFromNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); + this.dissectNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.searchForEqualValuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); + this.findOutWhatAccessesThisAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.findOutWhatWritesToThisAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); + this.copyNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pasteNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); + this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); + this.hideNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unhideNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unhideChildNodesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unhideNodesAboveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.unhideNodesBelowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator(); + this.copyAddressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.showCodeOfClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.shrinkClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip = new System.Windows.Forms.ToolStrip(); + this.attachToProcessToolStripSplitButton = new System.Windows.Forms.ToolStripSplitButton(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.openProjectToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.saveToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.newClassToolStripButton = new System.Windows.Forms.ToolStripButton(); + this.addBytesToolStripDropDownButton = new System.Windows.Forms.ToolStripDropDownButton(); + this.add4BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add8BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add64BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add256BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add1024BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add2048BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.add4096BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.addXBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.insertBytesToolStripDropDownButton = new System.Windows.Forms.ToolStripDropDownButton(); + this.insert4BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert8BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert64BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert256BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert1024BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert2048BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insert4096BytesToolStripMenuItem = new ReClassNET.Controls.IntegerToolStripMenuItem(); + this.insertXBytesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.nodeTypesToolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.statusStrip = new System.Windows.Forms.StatusStrip(); + this.processInfoToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.infoToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.mainMenuStrip = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.attachToProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.reattachToProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.detachToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.openProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mergeWithProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.clearProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.processToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.processInformationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.memorySearcherToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.namedAddressesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator23 = new System.Windows.Forms.ToolStripSeparator(); + this.isLittleEndianToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); + this.loadSymbolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.loadSymbolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.resumeProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.suspendProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.terminateProcessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.projectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.goToClassToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cleanUnusedClassesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.showEnumsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); + this.generateCppCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.generateCSharpCodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); + this.splitContainer.Panel1.SuspendLayout(); + this.splitContainer.Panel2.SuspendLayout(); + this.splitContainer.SuspendLayout(); + this.projectClassContextMenuStrip.SuspendLayout(); + this.projectClassesContextMenuStrip.SuspendLayout(); + this.projectEnumContextMenuStrip.SuspendLayout(); + this.projectEnumsContextMenuStrip.SuspendLayout(); + this.selectedNodeContextMenuStrip.SuspendLayout(); + this.toolStrip.SuspendLayout(); + this.statusStrip.SuspendLayout(); + this.mainMenuStrip.SuspendLayout(); + this.SuspendLayout(); + // + // processUpdateTimer + // + this.processUpdateTimer.Enabled = true; + this.processUpdateTimer.Interval = 5000; + this.processUpdateTimer.Tick += new System.EventHandler(this.processUpdateTimer_Tick); + // + // splitContainer + // + this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer.Location = new System.Drawing.Point(0, 68); + this.splitContainer.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.splitContainer.Name = "splitContainer"; + // + // splitContainer.Panel1 + // + this.splitContainer.Panel1.Controls.Add(this.projectView); + // + // splitContainer.Panel2 + // + this.splitContainer.Panel2.BackColor = System.Drawing.SystemColors.Control; + this.splitContainer.Panel2.Controls.Add(this.memoryViewControl); + this.splitContainer.Size = new System.Drawing.Size(1712, 815); + this.splitContainer.SplitterDistance = 201; + this.splitContainer.SplitterWidth = 6; + this.splitContainer.TabIndex = 4; + // + // projectView + // + this.projectView.ClassContextMenuStrip = this.projectClassContextMenuStrip; + this.projectView.ClassesContextMenuStrip = this.projectClassesContextMenuStrip; + this.projectView.Dock = System.Windows.Forms.DockStyle.Fill; + this.projectView.EnumContextMenuStrip = this.projectEnumContextMenuStrip; + this.projectView.EnumsContextMenuStrip = this.projectEnumsContextMenuStrip; + this.projectView.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.projectView.Location = new System.Drawing.Point(0, 0); + this.projectView.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); + this.projectView.Name = "projectView"; + this.projectView.Size = new System.Drawing.Size(201, 815); + this.projectView.TabIndex = 0; + this.projectView.SelectionChanged += new ReClassNET.Controls.ProjectView.SelectionChangedEvent(this.classesView_ClassSelected); + // + // projectClassContextMenuStrip + // + this.projectClassContextMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.projectClassContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.deleteClassToolStripMenuItem, this.toolStripSeparator19, this.removeUnusedClassesToolStripMenuItem, this.toolStripSeparator20, this.showCodeOfClassToolStripMenuItem2}); - this.projectClassContextMenuStrip.Name = "contextMenuStrip"; - this.projectClassContextMenuStrip.Size = new System.Drawing.Size(206, 82); - // - // deleteClassToolStripMenuItem - // - this.deleteClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Remove; - this.deleteClassToolStripMenuItem.Name = "deleteClassToolStripMenuItem"; - this.deleteClassToolStripMenuItem.Size = new System.Drawing.Size(205, 22); - this.deleteClassToolStripMenuItem.Text = "Delete class"; - this.deleteClassToolStripMenuItem.Click += new System.EventHandler(this.deleteClassToolStripMenuItem_Click); - // - // toolStripSeparator19 - // - this.toolStripSeparator19.Name = "toolStripSeparator19"; - this.toolStripSeparator19.Size = new System.Drawing.Size(202, 6); - // - // removeUnusedClassesToolStripMenuItem - // - this.removeUnusedClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; - this.removeUnusedClassesToolStripMenuItem.Name = "removeUnusedClassesToolStripMenuItem"; - this.removeUnusedClassesToolStripMenuItem.Size = new System.Drawing.Size(205, 22); - this.removeUnusedClassesToolStripMenuItem.Text = "Remove unused classes"; - this.removeUnusedClassesToolStripMenuItem.Click += new System.EventHandler(this.removeUnusedClassesToolStripMenuItem_Click); - // - // toolStripSeparator20 - // - this.toolStripSeparator20.Name = "toolStripSeparator20"; - this.toolStripSeparator20.Size = new System.Drawing.Size(202, 6); - // - // showCodeOfClassToolStripMenuItem2 - // - this.showCodeOfClassToolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; - this.showCodeOfClassToolStripMenuItem2.Name = "showCodeOfClassToolStripMenuItem2"; - this.showCodeOfClassToolStripMenuItem2.Size = new System.Drawing.Size(205, 22); - this.showCodeOfClassToolStripMenuItem2.Text = "Show C++ Code of Class"; - this.showCodeOfClassToolStripMenuItem2.Click += new System.EventHandler(this.showCodeOfClassToolStripMenuItem2_Click); - // - // projectClassesContextMenuStrip - // - this.projectClassesContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.projectClassContextMenuStrip.Name = "contextMenuStrip"; + this.projectClassContextMenuStrip.Size = new System.Drawing.Size(291, 112); + // + // deleteClassToolStripMenuItem + // + this.deleteClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Remove; + this.deleteClassToolStripMenuItem.Name = "deleteClassToolStripMenuItem"; + this.deleteClassToolStripMenuItem.Size = new System.Drawing.Size(290, 32); + this.deleteClassToolStripMenuItem.Text = "Delete class"; + this.deleteClassToolStripMenuItem.Click += new System.EventHandler(this.deleteClassToolStripMenuItem_Click); + // + // toolStripSeparator19 + // + this.toolStripSeparator19.Name = "toolStripSeparator19"; + this.toolStripSeparator19.Size = new System.Drawing.Size(287, 6); + // + // removeUnusedClassesToolStripMenuItem + // + this.removeUnusedClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; + this.removeUnusedClassesToolStripMenuItem.Name = "removeUnusedClassesToolStripMenuItem"; + this.removeUnusedClassesToolStripMenuItem.Size = new System.Drawing.Size(290, 32); + this.removeUnusedClassesToolStripMenuItem.Text = "Remove unused classes"; + this.removeUnusedClassesToolStripMenuItem.Click += new System.EventHandler(this.removeUnusedClassesToolStripMenuItem_Click); + // + // toolStripSeparator20 + // + this.toolStripSeparator20.Name = "toolStripSeparator20"; + this.toolStripSeparator20.Size = new System.Drawing.Size(287, 6); + // + // showCodeOfClassToolStripMenuItem2 + // + this.showCodeOfClassToolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; + this.showCodeOfClassToolStripMenuItem2.Name = "showCodeOfClassToolStripMenuItem2"; + this.showCodeOfClassToolStripMenuItem2.Size = new System.Drawing.Size(290, 32); + this.showCodeOfClassToolStripMenuItem2.Text = "Show C++ Code of Class"; + this.showCodeOfClassToolStripMenuItem2.Click += new System.EventHandler(this.showCodeOfClassToolStripMenuItem2_Click); + // + // projectClassesContextMenuStrip + // + this.projectClassesContextMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.projectClassesContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.enableHierarchyViewToolStripMenuItem, this.autoExpandHierarchyViewToolStripMenuItem, this.toolStripSeparator21, @@ -274,108 +280,112 @@ private void InitializeComponent() this.collapseAllClassesToolStripMenuItem, this.toolStripSeparator22, this.addNewClassToolStripMenuItem}); - this.projectClassesContextMenuStrip.Name = "rootContextMenuStrip"; - this.projectClassesContextMenuStrip.Size = new System.Drawing.Size(222, 126); - // - // enableHierarchyViewToolStripMenuItem - // - this.enableHierarchyViewToolStripMenuItem.Name = "enableHierarchyViewToolStripMenuItem"; - this.enableHierarchyViewToolStripMenuItem.Size = new System.Drawing.Size(221, 22); - this.enableHierarchyViewToolStripMenuItem.Text = "Enable hierarchy view"; - this.enableHierarchyViewToolStripMenuItem.Click += new System.EventHandler(this.enableHierarchyViewToolStripMenuItem_Click); - // - // autoExpandHierarchyViewToolStripMenuItem - // - this.autoExpandHierarchyViewToolStripMenuItem.Name = "autoExpandHierarchyViewToolStripMenuItem"; - this.autoExpandHierarchyViewToolStripMenuItem.Size = new System.Drawing.Size(221, 22); - this.autoExpandHierarchyViewToolStripMenuItem.Text = "Auto expand hierarchy view"; - this.autoExpandHierarchyViewToolStripMenuItem.Click += new System.EventHandler(this.autoExpandHierarchyViewToolStripMenuItem_Click); - // - // toolStripSeparator21 - // - this.toolStripSeparator21.Name = "toolStripSeparator21"; - this.toolStripSeparator21.Size = new System.Drawing.Size(218, 6); - // - // expandAllClassesToolStripMenuItem - // - this.expandAllClassesToolStripMenuItem.Enabled = false; - this.expandAllClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Tree_Expand; - this.expandAllClassesToolStripMenuItem.Name = "expandAllClassesToolStripMenuItem"; - this.expandAllClassesToolStripMenuItem.Size = new System.Drawing.Size(221, 22); - this.expandAllClassesToolStripMenuItem.Text = "Expand all classes"; - this.expandAllClassesToolStripMenuItem.Click += new System.EventHandler(this.expandAllClassesToolStripMenuItem_Click); - // - // collapseAllClassesToolStripMenuItem - // - this.collapseAllClassesToolStripMenuItem.Enabled = false; - this.collapseAllClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Tree_Collapse; - this.collapseAllClassesToolStripMenuItem.Name = "collapseAllClassesToolStripMenuItem"; - this.collapseAllClassesToolStripMenuItem.Size = new System.Drawing.Size(221, 22); - this.collapseAllClassesToolStripMenuItem.Text = "Collapse all classes"; - this.collapseAllClassesToolStripMenuItem.Click += new System.EventHandler(this.collapseAllClassesToolStripMenuItem_Click); - // - // toolStripSeparator22 - // - this.toolStripSeparator22.Name = "toolStripSeparator22"; - this.toolStripSeparator22.Size = new System.Drawing.Size(218, 6); - // - // addNewClassToolStripMenuItem - // - this.addNewClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; - this.addNewClassToolStripMenuItem.Name = "addNewClassToolStripMenuItem"; - this.addNewClassToolStripMenuItem.Size = new System.Drawing.Size(221, 22); - this.addNewClassToolStripMenuItem.Text = "Add new class"; - this.addNewClassToolStripMenuItem.Click += new System.EventHandler(this.newClassToolStripButton_Click); - // - // projectEnumContextMenuStrip - // - this.projectEnumContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.projectClassesContextMenuStrip.Name = "rootContextMenuStrip"; + this.projectClassesContextMenuStrip.Size = new System.Drawing.Size(311, 176); + // + // enableHierarchyViewToolStripMenuItem + // + this.enableHierarchyViewToolStripMenuItem.Name = "enableHierarchyViewToolStripMenuItem"; + this.enableHierarchyViewToolStripMenuItem.Size = new System.Drawing.Size(310, 32); + this.enableHierarchyViewToolStripMenuItem.Text = "Enable hierarchy view"; + this.enableHierarchyViewToolStripMenuItem.Click += new System.EventHandler(this.enableHierarchyViewToolStripMenuItem_Click); + // + // autoExpandHierarchyViewToolStripMenuItem + // + this.autoExpandHierarchyViewToolStripMenuItem.Name = "autoExpandHierarchyViewToolStripMenuItem"; + this.autoExpandHierarchyViewToolStripMenuItem.Size = new System.Drawing.Size(310, 32); + this.autoExpandHierarchyViewToolStripMenuItem.Text = "Auto expand hierarchy view"; + this.autoExpandHierarchyViewToolStripMenuItem.Click += new System.EventHandler(this.autoExpandHierarchyViewToolStripMenuItem_Click); + // + // toolStripSeparator21 + // + this.toolStripSeparator21.Name = "toolStripSeparator21"; + this.toolStripSeparator21.Size = new System.Drawing.Size(307, 6); + // + // expandAllClassesToolStripMenuItem + // + this.expandAllClassesToolStripMenuItem.Enabled = false; + this.expandAllClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Tree_Expand; + this.expandAllClassesToolStripMenuItem.Name = "expandAllClassesToolStripMenuItem"; + this.expandAllClassesToolStripMenuItem.Size = new System.Drawing.Size(310, 32); + this.expandAllClassesToolStripMenuItem.Text = "Expand all classes"; + this.expandAllClassesToolStripMenuItem.Click += new System.EventHandler(this.expandAllClassesToolStripMenuItem_Click); + // + // collapseAllClassesToolStripMenuItem + // + this.collapseAllClassesToolStripMenuItem.Enabled = false; + this.collapseAllClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Tree_Collapse; + this.collapseAllClassesToolStripMenuItem.Name = "collapseAllClassesToolStripMenuItem"; + this.collapseAllClassesToolStripMenuItem.Size = new System.Drawing.Size(310, 32); + this.collapseAllClassesToolStripMenuItem.Text = "Collapse all classes"; + this.collapseAllClassesToolStripMenuItem.Click += new System.EventHandler(this.collapseAllClassesToolStripMenuItem_Click); + // + // toolStripSeparator22 + // + this.toolStripSeparator22.Name = "toolStripSeparator22"; + this.toolStripSeparator22.Size = new System.Drawing.Size(307, 6); + // + // addNewClassToolStripMenuItem + // + this.addNewClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; + this.addNewClassToolStripMenuItem.Name = "addNewClassToolStripMenuItem"; + this.addNewClassToolStripMenuItem.Size = new System.Drawing.Size(310, 32); + this.addNewClassToolStripMenuItem.Text = "Add new class"; + this.addNewClassToolStripMenuItem.Click += new System.EventHandler(this.newClassToolStripButton_Click); + // + // projectEnumContextMenuStrip + // + this.projectEnumContextMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.projectEnumContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.editEnumToolStripMenuItem}); - this.projectEnumContextMenuStrip.Name = "projectEnumContextMenuStrip"; - this.projectEnumContextMenuStrip.Size = new System.Drawing.Size(138, 26); - // - // editEnumToolStripMenuItem - // - this.editEnumToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Enum_Type; - this.editEnumToolStripMenuItem.Name = "editEnumToolStripMenuItem"; - this.editEnumToolStripMenuItem.Size = new System.Drawing.Size(137, 22); - this.editEnumToolStripMenuItem.Text = "Edit Enum..."; - this.editEnumToolStripMenuItem.Click += new System.EventHandler(this.editEnumToolStripMenuItem_Click); - // - // projectEnumsContextMenuStrip - // - this.projectEnumsContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.projectEnumContextMenuStrip.Name = "projectEnumContextMenuStrip"; + this.projectEnumContextMenuStrip.Size = new System.Drawing.Size(185, 36); + // + // editEnumToolStripMenuItem + // + this.editEnumToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Enum_Type; + this.editEnumToolStripMenuItem.Name = "editEnumToolStripMenuItem"; + this.editEnumToolStripMenuItem.Size = new System.Drawing.Size(184, 32); + this.editEnumToolStripMenuItem.Text = "Edit Enum..."; + this.editEnumToolStripMenuItem.Click += new System.EventHandler(this.editEnumToolStripMenuItem_Click); + // + // projectEnumsContextMenuStrip + // + this.projectEnumsContextMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.projectEnumsContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.editEnumsToolStripMenuItem}); - this.projectEnumsContextMenuStrip.Name = "projectEnumsContextMenuStrip"; - this.projectEnumsContextMenuStrip.Size = new System.Drawing.Size(143, 26); - // - // editEnumsToolStripMenuItem - // - this.editEnumsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; - this.editEnumsToolStripMenuItem.Name = "editEnumsToolStripMenuItem"; - this.editEnumsToolStripMenuItem.Size = new System.Drawing.Size(142, 22); - this.editEnumsToolStripMenuItem.Text = "Edit enums..."; - this.editEnumsToolStripMenuItem.Click += new System.EventHandler(this.editEnumsToolStripMenuItem_Click); - // - // memoryViewControl - // - this.memoryViewControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.memoryViewControl.Dock = System.Windows.Forms.DockStyle.Fill; - this.memoryViewControl.Location = new System.Drawing.Point(0, 0); - this.memoryViewControl.Name = "memoryViewControl"; - this.memoryViewControl.NodeContextMenuStrip = this.selectedNodeContextMenuStrip; - this.memoryViewControl.Size = new System.Drawing.Size(936, 524); - this.memoryViewControl.TabIndex = 0; - this.memoryViewControl.DrawContextRequested += new ReClassNET.Controls.DrawContextRequestEventHandler(this.memoryViewControl_DrawContextRequested); - this.memoryViewControl.SelectionChanged += new System.EventHandler(this.memoryViewControl_SelectionChanged); - this.memoryViewControl.ChangeClassTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeClassTypeClick); - this.memoryViewControl.ChangeWrappedTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeWrappedTypeClick); - this.memoryViewControl.ChangeEnumTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeEnumTypeClick); - this.memoryViewControl.KeyDown += new System.Windows.Forms.KeyEventHandler(this.memoryViewControl_KeyDown); - // - // selectedNodeContextMenuStrip - // - this.selectedNodeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.projectEnumsContextMenuStrip.Name = "projectEnumsContextMenuStrip"; + this.projectEnumsContextMenuStrip.Size = new System.Drawing.Size(193, 36); + // + // editEnumsToolStripMenuItem + // + this.editEnumsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; + this.editEnumsToolStripMenuItem.Name = "editEnumsToolStripMenuItem"; + this.editEnumsToolStripMenuItem.Size = new System.Drawing.Size(192, 32); + this.editEnumsToolStripMenuItem.Text = "Edit enums..."; + this.editEnumsToolStripMenuItem.Click += new System.EventHandler(this.editEnumsToolStripMenuItem_Click); + // + // memoryViewControl + // + this.memoryViewControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.memoryViewControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.memoryViewControl.Location = new System.Drawing.Point(0, 0); + this.memoryViewControl.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.memoryViewControl.Name = "memoryViewControl"; + this.memoryViewControl.NodeContextMenuStrip = this.selectedNodeContextMenuStrip; + this.memoryViewControl.Size = new System.Drawing.Size(1505, 815); + this.memoryViewControl.TabIndex = 0; + this.memoryViewControl.DrawContextRequested += new ReClassNET.Controls.DrawContextRequestEventHandler(this.memoryViewControl_DrawContextRequested); + this.memoryViewControl.SelectionChanged += new System.EventHandler(this.memoryViewControl_SelectionChanged); + this.memoryViewControl.ChangeClassTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeClassTypeClick); + this.memoryViewControl.ChangeWrappedTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeWrappedTypeClick); + this.memoryViewControl.ChangeEnumTypeClick += new ReClassNET.Controls.NodeClickEventHandler(this.memoryViewControl_ChangeEnumTypeClick); + this.memoryViewControl.KeyDown += new System.Windows.Forms.KeyEventHandler(this.memoryViewControl_KeyDown); + // + // selectedNodeContextMenuStrip + // + this.selectedNodeContextMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.selectedNodeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.changeTypeToolStripMenuItem, this.addBytesToolStripMenuItem, this.insertBytesToolStripMenuItem, @@ -401,20 +411,20 @@ private void InitializeComponent() this.toolStripSeparator11, this.showCodeOfClassToolStripMenuItem, this.shrinkClassToolStripMenuItem}); - this.selectedNodeContextMenuStrip.Name = "selectedNodeContextMenuStrip"; - this.selectedNodeContextMenuStrip.Size = new System.Drawing.Size(270, 410); - this.selectedNodeContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.selectedNodeContextMenuStrip_Opening); - // - // changeTypeToolStripMenuItem - // - this.changeTypeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Exchange_Button; - this.changeTypeToolStripMenuItem.Name = "changeTypeToolStripMenuItem"; - this.changeTypeToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.changeTypeToolStripMenuItem.Text = "Change Type"; - // - // addBytesToolStripMenuItem - // - this.addBytesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.selectedNodeContextMenuStrip.Name = "selectedNodeContextMenuStrip"; + this.selectedNodeContextMenuStrip.Size = new System.Drawing.Size(387, 570); + this.selectedNodeContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.selectedNodeContextMenuStrip_Opening); + // + // changeTypeToolStripMenuItem + // + this.changeTypeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Exchange_Button; + this.changeTypeToolStripMenuItem.Name = "changeTypeToolStripMenuItem"; + this.changeTypeToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.changeTypeToolStripMenuItem.Text = "Change Type"; + // + // addBytesToolStripMenuItem + // + this.addBytesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.integerToolStripMenuItem1, this.integerToolStripMenuItem2, this.integerToolStripMenuItem3, @@ -423,85 +433,85 @@ private void InitializeComponent() this.integerToolStripMenuItem6, this.integerToolStripMenuItem7, this.toolStripMenuItem1}); - this.addBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; - this.addBytesToolStripMenuItem.Name = "addBytesToolStripMenuItem"; - this.addBytesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.addBytesToolStripMenuItem.Text = "Add Bytes"; - // - // integerToolStripMenuItem1 - // - this.integerToolStripMenuItem1.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4; - this.integerToolStripMenuItem1.Name = "integerToolStripMenuItem1"; - this.integerToolStripMenuItem1.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem1.Text = "Add 4 Bytes"; - this.integerToolStripMenuItem1.Value = 4; - this.integerToolStripMenuItem1.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem2 - // - this.integerToolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_8; - this.integerToolStripMenuItem2.Name = "integerToolStripMenuItem2"; - this.integerToolStripMenuItem2.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem2.Text = "Add 8 Bytes"; - this.integerToolStripMenuItem2.Value = 8; - this.integerToolStripMenuItem2.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem3 - // - this.integerToolStripMenuItem3.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_64; - this.integerToolStripMenuItem3.Name = "integerToolStripMenuItem3"; - this.integerToolStripMenuItem3.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem3.Text = "Add 64 Bytes"; - this.integerToolStripMenuItem3.Value = 64; - this.integerToolStripMenuItem3.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem4 - // - this.integerToolStripMenuItem4.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_256; - this.integerToolStripMenuItem4.Name = "integerToolStripMenuItem4"; - this.integerToolStripMenuItem4.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem4.Text = "Add 256 Bytes"; - this.integerToolStripMenuItem4.Value = 256; - this.integerToolStripMenuItem4.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem5 - // - this.integerToolStripMenuItem5.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_1024; - this.integerToolStripMenuItem5.Name = "integerToolStripMenuItem5"; - this.integerToolStripMenuItem5.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem5.Text = "Add 1024 Bytes"; - this.integerToolStripMenuItem5.Value = 1024; - this.integerToolStripMenuItem5.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem6 - // - this.integerToolStripMenuItem6.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_2048; - this.integerToolStripMenuItem6.Name = "integerToolStripMenuItem6"; - this.integerToolStripMenuItem6.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem6.Text = "Add 2048 Bytes"; - this.integerToolStripMenuItem6.Value = 2048; - this.integerToolStripMenuItem6.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem7 - // - this.integerToolStripMenuItem7.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4096; - this.integerToolStripMenuItem7.Name = "integerToolStripMenuItem7"; - this.integerToolStripMenuItem7.Size = new System.Drawing.Size(154, 22); - this.integerToolStripMenuItem7.Text = "Add 4096 Bytes"; - this.integerToolStripMenuItem7.Value = 4096; - this.integerToolStripMenuItem7.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(154, 22); - this.toolStripMenuItem1.Text = "Add ... Bytes"; - this.toolStripMenuItem1.Click += new System.EventHandler(this.addXBytesToolStripMenuItem_Click); - // - // insertBytesToolStripMenuItem - // - this.insertBytesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.addBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; + this.addBytesToolStripMenuItem.Name = "addBytesToolStripMenuItem"; + this.addBytesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.addBytesToolStripMenuItem.Text = "Add Bytes"; + // + // integerToolStripMenuItem1 + // + this.integerToolStripMenuItem1.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4; + this.integerToolStripMenuItem1.Name = "integerToolStripMenuItem1"; + this.integerToolStripMenuItem1.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem1.Text = "Add 4 Bytes"; + this.integerToolStripMenuItem1.Value = 4; + this.integerToolStripMenuItem1.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem2 + // + this.integerToolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_8; + this.integerToolStripMenuItem2.Name = "integerToolStripMenuItem2"; + this.integerToolStripMenuItem2.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem2.Text = "Add 8 Bytes"; + this.integerToolStripMenuItem2.Value = 8; + this.integerToolStripMenuItem2.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem3 + // + this.integerToolStripMenuItem3.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_64; + this.integerToolStripMenuItem3.Name = "integerToolStripMenuItem3"; + this.integerToolStripMenuItem3.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem3.Text = "Add 64 Bytes"; + this.integerToolStripMenuItem3.Value = 64; + this.integerToolStripMenuItem3.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem4 + // + this.integerToolStripMenuItem4.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_256; + this.integerToolStripMenuItem4.Name = "integerToolStripMenuItem4"; + this.integerToolStripMenuItem4.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem4.Text = "Add 256 Bytes"; + this.integerToolStripMenuItem4.Value = 256; + this.integerToolStripMenuItem4.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem5 + // + this.integerToolStripMenuItem5.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_1024; + this.integerToolStripMenuItem5.Name = "integerToolStripMenuItem5"; + this.integerToolStripMenuItem5.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem5.Text = "Add 1024 Bytes"; + this.integerToolStripMenuItem5.Value = 1024; + this.integerToolStripMenuItem5.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem6 + // + this.integerToolStripMenuItem6.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_2048; + this.integerToolStripMenuItem6.Name = "integerToolStripMenuItem6"; + this.integerToolStripMenuItem6.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem6.Text = "Add 2048 Bytes"; + this.integerToolStripMenuItem6.Value = 2048; + this.integerToolStripMenuItem6.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem7 + // + this.integerToolStripMenuItem7.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4096; + this.integerToolStripMenuItem7.Name = "integerToolStripMenuItem7"; + this.integerToolStripMenuItem7.Size = new System.Drawing.Size(240, 34); + this.integerToolStripMenuItem7.Text = "Add 4096 Bytes"; + this.integerToolStripMenuItem7.Value = 4096; + this.integerToolStripMenuItem7.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // toolStripMenuItem1 + // + this.toolStripMenuItem1.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new System.Drawing.Size(240, 34); + this.toolStripMenuItem1.Text = "Add ... Bytes"; + this.toolStripMenuItem1.Click += new System.EventHandler(this.addXBytesToolStripMenuItem_Click); + // + // insertBytesToolStripMenuItem + // + this.insertBytesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.integerToolStripMenuItem8, this.integerToolStripMenuItem9, this.integerToolStripMenuItem10, @@ -510,261 +520,262 @@ private void InitializeComponent() this.integerToolStripMenuItem13, this.integerToolStripMenuItem14, this.toolStripMenuItem2}); - this.insertBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; - this.insertBytesToolStripMenuItem.Name = "insertBytesToolStripMenuItem"; - this.insertBytesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.insertBytesToolStripMenuItem.Text = "Insert Bytes"; - // - // integerToolStripMenuItem8 - // - this.integerToolStripMenuItem8.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4; - this.integerToolStripMenuItem8.Name = "integerToolStripMenuItem8"; - this.integerToolStripMenuItem8.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem8.Text = "Insert 4 Bytes"; - this.integerToolStripMenuItem8.Value = 4; - this.integerToolStripMenuItem8.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem9 - // - this.integerToolStripMenuItem9.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_8; - this.integerToolStripMenuItem9.Name = "integerToolStripMenuItem9"; - this.integerToolStripMenuItem9.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem9.Text = "Insert 8 Bytes"; - this.integerToolStripMenuItem9.Value = 8; - this.integerToolStripMenuItem9.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem10 - // - this.integerToolStripMenuItem10.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_64; - this.integerToolStripMenuItem10.Name = "integerToolStripMenuItem10"; - this.integerToolStripMenuItem10.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem10.Text = "Insert 64 Bytes"; - this.integerToolStripMenuItem10.Value = 64; - this.integerToolStripMenuItem10.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem11 - // - this.integerToolStripMenuItem11.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_256; - this.integerToolStripMenuItem11.Name = "integerToolStripMenuItem11"; - this.integerToolStripMenuItem11.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem11.Text = "Insert 256 Bytes"; - this.integerToolStripMenuItem11.Value = 256; - this.integerToolStripMenuItem11.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem12 - // - this.integerToolStripMenuItem12.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_1024; - this.integerToolStripMenuItem12.Name = "integerToolStripMenuItem12"; - this.integerToolStripMenuItem12.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem12.Text = "Insert 1024 Bytes"; - this.integerToolStripMenuItem12.Value = 1024; - this.integerToolStripMenuItem12.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem13 - // - this.integerToolStripMenuItem13.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_2048; - this.integerToolStripMenuItem13.Name = "integerToolStripMenuItem13"; - this.integerToolStripMenuItem13.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem13.Text = "Insert 2048 Bytes"; - this.integerToolStripMenuItem13.Value = 2048; - this.integerToolStripMenuItem13.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // integerToolStripMenuItem14 - // - this.integerToolStripMenuItem14.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4096; - this.integerToolStripMenuItem14.Name = "integerToolStripMenuItem14"; - this.integerToolStripMenuItem14.Size = new System.Drawing.Size(161, 22); - this.integerToolStripMenuItem14.Text = "Insert 4096 Bytes"; - this.integerToolStripMenuItem14.Value = 4096; - this.integerToolStripMenuItem14.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(161, 22); - this.toolStripMenuItem2.Text = "Insert ... Bytes"; - this.toolStripMenuItem2.Click += new System.EventHandler(this.insertXBytesToolStripMenuItem_Click); - // - // toolStripSeparator8 - // - this.toolStripSeparator8.Name = "toolStripSeparator8"; - this.toolStripSeparator8.Size = new System.Drawing.Size(266, 6); - // - // createClassFromNodesToolStripMenuItem - // - this.createClassFromNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; - this.createClassFromNodesToolStripMenuItem.Name = "createClassFromNodesToolStripMenuItem"; - this.createClassFromNodesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.createClassFromNodesToolStripMenuItem.Text = "Create Class from Nodes"; - this.createClassFromNodesToolStripMenuItem.Click += new System.EventHandler(this.createClassFromNodesToolStripMenuItem_Click); - // - // toolStripSeparator13 - // - this.toolStripSeparator13.Name = "toolStripSeparator13"; - this.toolStripSeparator13.Size = new System.Drawing.Size(266, 6); - // - // dissectNodesToolStripMenuItem - // - this.dissectNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Camera; - this.dissectNodesToolStripMenuItem.Name = "dissectNodesToolStripMenuItem"; - this.dissectNodesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.dissectNodesToolStripMenuItem.Text = "Dissect Node(s)"; - this.dissectNodesToolStripMenuItem.Click += new System.EventHandler(this.dissectNodesToolStripMenuItem_Click); - // - // toolStripSeparator9 - // - this.toolStripSeparator9.Name = "toolStripSeparator9"; - this.toolStripSeparator9.Size = new System.Drawing.Size(266, 6); - // - // searchForEqualValuesToolStripMenuItem - // - this.searchForEqualValuesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.searchForEqualValuesToolStripMenuItem.Name = "searchForEqualValuesToolStripMenuItem"; - this.searchForEqualValuesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.searchForEqualValuesToolStripMenuItem.Text = "Search for equal values..."; - this.searchForEqualValuesToolStripMenuItem.Click += new System.EventHandler(this.searchForEqualValuesToolStripMenuItem_Click); - // - // toolStripSeparator15 - // - this.toolStripSeparator15.Name = "toolStripSeparator15"; - this.toolStripSeparator15.Size = new System.Drawing.Size(266, 6); - // - // findOutWhatAccessesThisAddressToolStripMenuItem - // - this.findOutWhatAccessesThisAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Find_Access; - this.findOutWhatAccessesThisAddressToolStripMenuItem.Name = "findOutWhatAccessesThisAddressToolStripMenuItem"; - this.findOutWhatAccessesThisAddressToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.findOutWhatAccessesThisAddressToolStripMenuItem.Text = "Find out what accesses this address..."; - this.findOutWhatAccessesThisAddressToolStripMenuItem.Click += new System.EventHandler(this.findOutWhatAccessesThisAddressToolStripMenuItem_Click); - // - // findOutWhatWritesToThisAddressToolStripMenuItem - // - this.findOutWhatWritesToThisAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Find_Write; - this.findOutWhatWritesToThisAddressToolStripMenuItem.Name = "findOutWhatWritesToThisAddressToolStripMenuItem"; - this.findOutWhatWritesToThisAddressToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.findOutWhatWritesToThisAddressToolStripMenuItem.Text = "Find out what writes to this address..."; - this.findOutWhatWritesToThisAddressToolStripMenuItem.Click += new System.EventHandler(this.findOutWhatWritesToThisAddressToolStripMenuItem_Click); - // - // toolStripSeparator14 - // - this.toolStripSeparator14.Name = "toolStripSeparator14"; - this.toolStripSeparator14.Size = new System.Drawing.Size(266, 6); - // - // copyNodeToolStripMenuItem - // - this.copyNodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Copy; - this.copyNodeToolStripMenuItem.Name = "copyNodeToolStripMenuItem"; - this.copyNodeToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.copyNodeToolStripMenuItem.Text = "Copy Node(s)"; - this.copyNodeToolStripMenuItem.Click += new System.EventHandler(this.copyNodeToolStripMenuItem_Click); - // - // pasteNodesToolStripMenuItem - // - this.pasteNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Paste; - this.pasteNodesToolStripMenuItem.Name = "pasteNodesToolStripMenuItem"; - this.pasteNodesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.pasteNodesToolStripMenuItem.Text = "Paste Node(s)"; - this.pasteNodesToolStripMenuItem.Click += new System.EventHandler(this.pasteNodesToolStripMenuItem_Click); - // - // toolStripSeparator10 - // - this.toolStripSeparator10.Name = "toolStripSeparator10"; - this.toolStripSeparator10.Size = new System.Drawing.Size(266, 6); - // - // removeToolStripMenuItem - // - this.removeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Delete; - this.removeToolStripMenuItem.Name = "removeToolStripMenuItem"; - this.removeToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.removeToolStripMenuItem.Text = "Remove Node(s)"; - this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click); - // - // toolStripSeparator12 - // - this.toolStripSeparator12.Name = "toolStripSeparator12"; - this.toolStripSeparator12.Size = new System.Drawing.Size(266, 6); - // - // hideNodesToolStripMenuItem - // - this.hideNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.hideNodesToolStripMenuItem.Name = "hideNodesToolStripMenuItem"; - this.hideNodesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.hideNodesToolStripMenuItem.Text = "Hide selected Node(s)"; - this.hideNodesToolStripMenuItem.Click += new System.EventHandler(this.hideNodesToolStripMenuItem_Click); - // - // unhideNodesToolStripMenuItem - // - this.unhideNodesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.insertBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; + this.insertBytesToolStripMenuItem.Name = "insertBytesToolStripMenuItem"; + this.insertBytesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.insertBytesToolStripMenuItem.Text = "Insert Bytes"; + // + // integerToolStripMenuItem8 + // + this.integerToolStripMenuItem8.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4; + this.integerToolStripMenuItem8.Name = "integerToolStripMenuItem8"; + this.integerToolStripMenuItem8.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem8.Text = "Insert 4 Bytes"; + this.integerToolStripMenuItem8.Value = 4; + this.integerToolStripMenuItem8.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem9 + // + this.integerToolStripMenuItem9.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_8; + this.integerToolStripMenuItem9.Name = "integerToolStripMenuItem9"; + this.integerToolStripMenuItem9.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem9.Text = "Insert 8 Bytes"; + this.integerToolStripMenuItem9.Value = 8; + this.integerToolStripMenuItem9.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem10 + // + this.integerToolStripMenuItem10.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_64; + this.integerToolStripMenuItem10.Name = "integerToolStripMenuItem10"; + this.integerToolStripMenuItem10.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem10.Text = "Insert 64 Bytes"; + this.integerToolStripMenuItem10.Value = 64; + this.integerToolStripMenuItem10.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem11 + // + this.integerToolStripMenuItem11.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_256; + this.integerToolStripMenuItem11.Name = "integerToolStripMenuItem11"; + this.integerToolStripMenuItem11.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem11.Text = "Insert 256 Bytes"; + this.integerToolStripMenuItem11.Value = 256; + this.integerToolStripMenuItem11.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem12 + // + this.integerToolStripMenuItem12.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_1024; + this.integerToolStripMenuItem12.Name = "integerToolStripMenuItem12"; + this.integerToolStripMenuItem12.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem12.Text = "Insert 1024 Bytes"; + this.integerToolStripMenuItem12.Value = 1024; + this.integerToolStripMenuItem12.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem13 + // + this.integerToolStripMenuItem13.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_2048; + this.integerToolStripMenuItem13.Name = "integerToolStripMenuItem13"; + this.integerToolStripMenuItem13.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem13.Text = "Insert 2048 Bytes"; + this.integerToolStripMenuItem13.Value = 2048; + this.integerToolStripMenuItem13.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // integerToolStripMenuItem14 + // + this.integerToolStripMenuItem14.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4096; + this.integerToolStripMenuItem14.Name = "integerToolStripMenuItem14"; + this.integerToolStripMenuItem14.Size = new System.Drawing.Size(250, 34); + this.integerToolStripMenuItem14.Text = "Insert 4096 Bytes"; + this.integerToolStripMenuItem14.Value = 4096; + this.integerToolStripMenuItem14.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(250, 34); + this.toolStripMenuItem2.Text = "Insert ... Bytes"; + this.toolStripMenuItem2.Click += new System.EventHandler(this.insertXBytesToolStripMenuItem_Click); + // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(383, 6); + // + // createClassFromNodesToolStripMenuItem + // + this.createClassFromNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; + this.createClassFromNodesToolStripMenuItem.Name = "createClassFromNodesToolStripMenuItem"; + this.createClassFromNodesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.createClassFromNodesToolStripMenuItem.Text = "Create Class from Nodes"; + this.createClassFromNodesToolStripMenuItem.Click += new System.EventHandler(this.createClassFromNodesToolStripMenuItem_Click); + // + // toolStripSeparator13 + // + this.toolStripSeparator13.Name = "toolStripSeparator13"; + this.toolStripSeparator13.Size = new System.Drawing.Size(383, 6); + // + // dissectNodesToolStripMenuItem + // + this.dissectNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Camera; + this.dissectNodesToolStripMenuItem.Name = "dissectNodesToolStripMenuItem"; + this.dissectNodesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.dissectNodesToolStripMenuItem.Text = "Dissect Node(s)"; + this.dissectNodesToolStripMenuItem.Click += new System.EventHandler(this.dissectNodesToolStripMenuItem_Click); + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(383, 6); + // + // searchForEqualValuesToolStripMenuItem + // + this.searchForEqualValuesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.searchForEqualValuesToolStripMenuItem.Name = "searchForEqualValuesToolStripMenuItem"; + this.searchForEqualValuesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.searchForEqualValuesToolStripMenuItem.Text = "Search for equal values..."; + this.searchForEqualValuesToolStripMenuItem.Click += new System.EventHandler(this.searchForEqualValuesToolStripMenuItem_Click); + // + // toolStripSeparator15 + // + this.toolStripSeparator15.Name = "toolStripSeparator15"; + this.toolStripSeparator15.Size = new System.Drawing.Size(383, 6); + // + // findOutWhatAccessesThisAddressToolStripMenuItem + // + this.findOutWhatAccessesThisAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Find_Access; + this.findOutWhatAccessesThisAddressToolStripMenuItem.Name = "findOutWhatAccessesThisAddressToolStripMenuItem"; + this.findOutWhatAccessesThisAddressToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.findOutWhatAccessesThisAddressToolStripMenuItem.Text = "Find out what accesses this address..."; + this.findOutWhatAccessesThisAddressToolStripMenuItem.Click += new System.EventHandler(this.findOutWhatAccessesThisAddressToolStripMenuItem_Click); + // + // findOutWhatWritesToThisAddressToolStripMenuItem + // + this.findOutWhatWritesToThisAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Find_Write; + this.findOutWhatWritesToThisAddressToolStripMenuItem.Name = "findOutWhatWritesToThisAddressToolStripMenuItem"; + this.findOutWhatWritesToThisAddressToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.findOutWhatWritesToThisAddressToolStripMenuItem.Text = "Find out what writes to this address..."; + this.findOutWhatWritesToThisAddressToolStripMenuItem.Click += new System.EventHandler(this.findOutWhatWritesToThisAddressToolStripMenuItem_Click); + // + // toolStripSeparator14 + // + this.toolStripSeparator14.Name = "toolStripSeparator14"; + this.toolStripSeparator14.Size = new System.Drawing.Size(383, 6); + // + // copyNodeToolStripMenuItem + // + this.copyNodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Copy; + this.copyNodeToolStripMenuItem.Name = "copyNodeToolStripMenuItem"; + this.copyNodeToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.copyNodeToolStripMenuItem.Text = "Copy Node(s)"; + this.copyNodeToolStripMenuItem.Click += new System.EventHandler(this.copyNodeToolStripMenuItem_Click); + // + // pasteNodesToolStripMenuItem + // + this.pasteNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Paste; + this.pasteNodesToolStripMenuItem.Name = "pasteNodesToolStripMenuItem"; + this.pasteNodesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.pasteNodesToolStripMenuItem.Text = "Paste Node(s)"; + this.pasteNodesToolStripMenuItem.Click += new System.EventHandler(this.pasteNodesToolStripMenuItem_Click); + // + // toolStripSeparator10 + // + this.toolStripSeparator10.Name = "toolStripSeparator10"; + this.toolStripSeparator10.Size = new System.Drawing.Size(383, 6); + // + // removeToolStripMenuItem + // + this.removeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Delete; + this.removeToolStripMenuItem.Name = "removeToolStripMenuItem"; + this.removeToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.removeToolStripMenuItem.Text = "Remove Node(s)"; + this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click); + // + // toolStripSeparator12 + // + this.toolStripSeparator12.Name = "toolStripSeparator12"; + this.toolStripSeparator12.Size = new System.Drawing.Size(383, 6); + // + // hideNodesToolStripMenuItem + // + this.hideNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.hideNodesToolStripMenuItem.Name = "hideNodesToolStripMenuItem"; + this.hideNodesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.hideNodesToolStripMenuItem.Text = "Hide selected Node(s)"; + this.hideNodesToolStripMenuItem.Click += new System.EventHandler(this.hideNodesToolStripMenuItem_Click); + // + // unhideNodesToolStripMenuItem + // + this.unhideNodesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.unhideChildNodesToolStripMenuItem, this.unhideNodesAboveToolStripMenuItem, this.unhideNodesBelowToolStripMenuItem}); - this.unhideNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.unhideNodesToolStripMenuItem.Name = "unhideNodesToolStripMenuItem"; - this.unhideNodesToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.unhideNodesToolStripMenuItem.Text = "Unhide..."; - // - // unhideChildNodesToolStripMenuItem - // - this.unhideChildNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.unhideChildNodesToolStripMenuItem.Name = "unhideChildNodesToolStripMenuItem"; - this.unhideChildNodesToolStripMenuItem.Size = new System.Drawing.Size(163, 22); - this.unhideChildNodesToolStripMenuItem.Text = "... Child Node(s)"; - this.unhideChildNodesToolStripMenuItem.Click += new System.EventHandler(this.unhideChildNodesToolStripMenuItem_Click); - // - // unhideNodesAboveToolStripMenuItem - // - this.unhideNodesAboveToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.unhideNodesAboveToolStripMenuItem.Name = "unhideNodesAboveToolStripMenuItem"; - this.unhideNodesAboveToolStripMenuItem.Size = new System.Drawing.Size(163, 22); - this.unhideNodesAboveToolStripMenuItem.Text = "... Node(s) above"; - this.unhideNodesAboveToolStripMenuItem.Click += new System.EventHandler(this.unhideNodesAboveToolStripMenuItem_Click); - // - // unhideNodesBelowToolStripMenuItem - // - this.unhideNodesBelowToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.unhideNodesBelowToolStripMenuItem.Name = "unhideNodesBelowToolStripMenuItem"; - this.unhideNodesBelowToolStripMenuItem.Size = new System.Drawing.Size(163, 22); - this.unhideNodesBelowToolStripMenuItem.Text = "... Node(s) below"; - this.unhideNodesBelowToolStripMenuItem.Click += new System.EventHandler(this.unhideNodesBelowToolStripMenuItem_Click); - // - // toolStripSeparator18 - // - this.toolStripSeparator18.Name = "toolStripSeparator18"; - this.toolStripSeparator18.Size = new System.Drawing.Size(266, 6); - // - // copyAddressToolStripMenuItem - // - this.copyAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Copy; - this.copyAddressToolStripMenuItem.Name = "copyAddressToolStripMenuItem"; - this.copyAddressToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.copyAddressToolStripMenuItem.Text = "Copy Address"; - this.copyAddressToolStripMenuItem.Click += new System.EventHandler(this.copyAddressToolStripMenuItem_Click); - // - // toolStripSeparator11 - // - this.toolStripSeparator11.Name = "toolStripSeparator11"; - this.toolStripSeparator11.Size = new System.Drawing.Size(266, 6); - // - // showCodeOfClassToolStripMenuItem - // - this.showCodeOfClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; - this.showCodeOfClassToolStripMenuItem.Name = "showCodeOfClassToolStripMenuItem"; - this.showCodeOfClassToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.showCodeOfClassToolStripMenuItem.Text = "Show C++ Code of Class"; - this.showCodeOfClassToolStripMenuItem.Click += new System.EventHandler(this.showCodeOfClassToolStripMenuItem_Click); - // - // shrinkClassToolStripMenuItem - // - this.shrinkClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; - this.shrinkClassToolStripMenuItem.Name = "shrinkClassToolStripMenuItem"; - this.shrinkClassToolStripMenuItem.Size = new System.Drawing.Size(269, 22); - this.shrinkClassToolStripMenuItem.Text = "Shrink Class"; - this.shrinkClassToolStripMenuItem.Click += new System.EventHandler(this.shrinkClassToolStripMenuItem_Click); - // - // toolStrip - // - this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.unhideNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.unhideNodesToolStripMenuItem.Name = "unhideNodesToolStripMenuItem"; + this.unhideNodesToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.unhideNodesToolStripMenuItem.Text = "Unhide..."; + // + // unhideChildNodesToolStripMenuItem + // + this.unhideChildNodesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.unhideChildNodesToolStripMenuItem.Name = "unhideChildNodesToolStripMenuItem"; + this.unhideChildNodesToolStripMenuItem.Size = new System.Drawing.Size(247, 34); + this.unhideChildNodesToolStripMenuItem.Text = "... Child Node(s)"; + this.unhideChildNodesToolStripMenuItem.Click += new System.EventHandler(this.unhideChildNodesToolStripMenuItem_Click); + // + // unhideNodesAboveToolStripMenuItem + // + this.unhideNodesAboveToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.unhideNodesAboveToolStripMenuItem.Name = "unhideNodesAboveToolStripMenuItem"; + this.unhideNodesAboveToolStripMenuItem.Size = new System.Drawing.Size(247, 34); + this.unhideNodesAboveToolStripMenuItem.Text = "... Node(s) above"; + this.unhideNodesAboveToolStripMenuItem.Click += new System.EventHandler(this.unhideNodesAboveToolStripMenuItem_Click); + // + // unhideNodesBelowToolStripMenuItem + // + this.unhideNodesBelowToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.unhideNodesBelowToolStripMenuItem.Name = "unhideNodesBelowToolStripMenuItem"; + this.unhideNodesBelowToolStripMenuItem.Size = new System.Drawing.Size(247, 34); + this.unhideNodesBelowToolStripMenuItem.Text = "... Node(s) below"; + this.unhideNodesBelowToolStripMenuItem.Click += new System.EventHandler(this.unhideNodesBelowToolStripMenuItem_Click); + // + // toolStripSeparator18 + // + this.toolStripSeparator18.Name = "toolStripSeparator18"; + this.toolStripSeparator18.Size = new System.Drawing.Size(383, 6); + // + // copyAddressToolStripMenuItem + // + this.copyAddressToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Copy; + this.copyAddressToolStripMenuItem.Name = "copyAddressToolStripMenuItem"; + this.copyAddressToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.copyAddressToolStripMenuItem.Text = "Copy Address"; + this.copyAddressToolStripMenuItem.Click += new System.EventHandler(this.copyAddressToolStripMenuItem_Click); + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(383, 6); + // + // showCodeOfClassToolStripMenuItem + // + this.showCodeOfClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; + this.showCodeOfClassToolStripMenuItem.Name = "showCodeOfClassToolStripMenuItem"; + this.showCodeOfClassToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.showCodeOfClassToolStripMenuItem.Text = "Show C++ Code of Class"; + this.showCodeOfClassToolStripMenuItem.Click += new System.EventHandler(this.showCodeOfClassToolStripMenuItem_Click); + // + // shrinkClassToolStripMenuItem + // + this.shrinkClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; + this.shrinkClassToolStripMenuItem.Name = "shrinkClassToolStripMenuItem"; + this.shrinkClassToolStripMenuItem.Size = new System.Drawing.Size(386, 32); + this.shrinkClassToolStripMenuItem.Text = "Shrink Class"; + this.shrinkClassToolStripMenuItem.Click += new System.EventHandler(this.shrinkClassToolStripMenuItem_Click); + // + // toolStrip + // + this.toolStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.attachToProcessToolStripSplitButton, this.toolStripSeparator6, this.openProjectToolStripButton, @@ -774,68 +785,69 @@ private void InitializeComponent() this.addBytesToolStripDropDownButton, this.insertBytesToolStripDropDownButton, this.nodeTypesToolStripSeparator}); - this.toolStrip.Location = new System.Drawing.Point(0, 24); - this.toolStrip.Name = "toolStrip"; - this.toolStrip.Size = new System.Drawing.Size(1141, 25); - this.toolStrip.TabIndex = 3; - // - // attachToProcessToolStripSplitButton - // - this.attachToProcessToolStripSplitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.attachToProcessToolStripSplitButton.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier; - this.attachToProcessToolStripSplitButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.attachToProcessToolStripSplitButton.Name = "attachToProcessToolStripSplitButton"; - this.attachToProcessToolStripSplitButton.Size = new System.Drawing.Size(32, 22); - this.attachToProcessToolStripSplitButton.ToolTipText = "Attach to Process..."; - this.attachToProcessToolStripSplitButton.ButtonClick += new System.EventHandler(this.attachToProcessToolStripSplitButton_ButtonClick); - this.attachToProcessToolStripSplitButton.DropDownClosed += new System.EventHandler(this.attachToProcessToolStripSplitButton_DropDownClosed); - this.attachToProcessToolStripSplitButton.DropDownOpening += new System.EventHandler(this.attachToProcessToolStripSplitButton_DropDownOpening); - // - // toolStripSeparator6 - // - this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25); - // - // openProjectToolStripButton - // - this.openProjectToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.openProjectToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Folder; - this.openProjectToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.openProjectToolStripButton.Name = "openProjectToolStripButton"; - this.openProjectToolStripButton.Size = new System.Drawing.Size(23, 22); - this.openProjectToolStripButton.ToolTipText = "Open Project..."; - this.openProjectToolStripButton.Click += new System.EventHandler(this.openProjectToolStripMenuItem_Click); - // - // saveToolStripButton - // - this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.saveToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Save; - this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.saveToolStripButton.Name = "saveToolStripButton"; - this.saveToolStripButton.Size = new System.Drawing.Size(23, 22); - this.saveToolStripButton.ToolTipText = "Save Project"; - this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // toolStripSeparator7 - // - this.toolStripSeparator7.Name = "toolStripSeparator7"; - this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25); - // - // newClassToolStripButton - // - this.newClassToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.newClassToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; - this.newClassToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.newClassToolStripButton.Name = "newClassToolStripButton"; - this.newClassToolStripButton.Size = new System.Drawing.Size(23, 22); - this.newClassToolStripButton.Text = "addClassToolStripButton"; - this.newClassToolStripButton.ToolTipText = "Add a new class to this project"; - this.newClassToolStripButton.Click += new System.EventHandler(this.newClassToolStripButton_Click); - // - // addBytesToolStripDropDownButton - // - this.addBytesToolStripDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.addBytesToolStripDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStrip.Location = new System.Drawing.Point(0, 35); + this.toolStrip.Name = "toolStrip"; + this.toolStrip.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.toolStrip.Size = new System.Drawing.Size(1712, 33); + this.toolStrip.TabIndex = 3; + // + // attachToProcessToolStripSplitButton + // + this.attachToProcessToolStripSplitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.attachToProcessToolStripSplitButton.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier; + this.attachToProcessToolStripSplitButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.attachToProcessToolStripSplitButton.Name = "attachToProcessToolStripSplitButton"; + this.attachToProcessToolStripSplitButton.Size = new System.Drawing.Size(45, 28); + this.attachToProcessToolStripSplitButton.ToolTipText = "Attach to Process..."; + this.attachToProcessToolStripSplitButton.ButtonClick += new System.EventHandler(this.attachToProcessToolStripSplitButton_ButtonClick); + this.attachToProcessToolStripSplitButton.DropDownClosed += new System.EventHandler(this.attachToProcessToolStripSplitButton_DropDownClosed); + this.attachToProcessToolStripSplitButton.DropDownOpening += new System.EventHandler(this.attachToProcessToolStripSplitButton_DropDownOpening); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(6, 33); + // + // openProjectToolStripButton + // + this.openProjectToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.openProjectToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Folder; + this.openProjectToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.openProjectToolStripButton.Name = "openProjectToolStripButton"; + this.openProjectToolStripButton.Size = new System.Drawing.Size(34, 28); + this.openProjectToolStripButton.ToolTipText = "Open Project..."; + this.openProjectToolStripButton.Click += new System.EventHandler(this.openProjectToolStripMenuItem_Click); + // + // saveToolStripButton + // + this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.saveToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Save; + this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.saveToolStripButton.Name = "saveToolStripButton"; + this.saveToolStripButton.Size = new System.Drawing.Size(34, 28); + this.saveToolStripButton.ToolTipText = "Save Project"; + this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(6, 33); + // + // newClassToolStripButton + // + this.newClassToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.newClassToolStripButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Class_Add; + this.newClassToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.newClassToolStripButton.Name = "newClassToolStripButton"; + this.newClassToolStripButton.Size = new System.Drawing.Size(34, 28); + this.newClassToolStripButton.Text = "addClassToolStripButton"; + this.newClassToolStripButton.ToolTipText = "Add a new class to this project"; + this.newClassToolStripButton.Click += new System.EventHandler(this.newClassToolStripButton_Click); + // + // addBytesToolStripDropDownButton + // + this.addBytesToolStripDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.addBytesToolStripDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.add4BytesToolStripMenuItem, this.add8BytesToolStripMenuItem, this.add64BytesToolStripMenuItem, @@ -844,87 +856,87 @@ private void InitializeComponent() this.add2048BytesToolStripMenuItem, this.add4096BytesToolStripMenuItem, this.addXBytesToolStripMenuItem}); - this.addBytesToolStripDropDownButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; - this.addBytesToolStripDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.addBytesToolStripDropDownButton.Name = "addBytesToolStripDropDownButton"; - this.addBytesToolStripDropDownButton.Size = new System.Drawing.Size(29, 22); - // - // add4BytesToolStripMenuItem - // - this.add4BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4; - this.add4BytesToolStripMenuItem.Name = "add4BytesToolStripMenuItem"; - this.add4BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add4BytesToolStripMenuItem.Tag = ""; - this.add4BytesToolStripMenuItem.Text = "Add 4 Bytes"; - this.add4BytesToolStripMenuItem.Value = 4; - this.add4BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add8BytesToolStripMenuItem - // - this.add8BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_8; - this.add8BytesToolStripMenuItem.Name = "add8BytesToolStripMenuItem"; - this.add8BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add8BytesToolStripMenuItem.Text = "Add 8 Bytes"; - this.add8BytesToolStripMenuItem.Value = 8; - this.add8BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add64BytesToolStripMenuItem - // - this.add64BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_64; - this.add64BytesToolStripMenuItem.Name = "add64BytesToolStripMenuItem"; - this.add64BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add64BytesToolStripMenuItem.Text = "Add 64 Bytes"; - this.add64BytesToolStripMenuItem.Value = 64; - this.add64BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add256BytesToolStripMenuItem - // - this.add256BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_256; - this.add256BytesToolStripMenuItem.Name = "add256BytesToolStripMenuItem"; - this.add256BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add256BytesToolStripMenuItem.Text = "Add 256 Bytes"; - this.add256BytesToolStripMenuItem.Value = 256; - this.add256BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add1024BytesToolStripMenuItem - // - this.add1024BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_1024; - this.add1024BytesToolStripMenuItem.Name = "add1024BytesToolStripMenuItem"; - this.add1024BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add1024BytesToolStripMenuItem.Text = "Add 1024 Bytes"; - this.add1024BytesToolStripMenuItem.Value = 1024; - this.add1024BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add2048BytesToolStripMenuItem - // - this.add2048BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_2048; - this.add2048BytesToolStripMenuItem.Name = "add2048BytesToolStripMenuItem"; - this.add2048BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add2048BytesToolStripMenuItem.Text = "Add 2048 Bytes"; - this.add2048BytesToolStripMenuItem.Value = 2048; - this.add2048BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // add4096BytesToolStripMenuItem - // - this.add4096BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4096; - this.add4096BytesToolStripMenuItem.Name = "add4096BytesToolStripMenuItem"; - this.add4096BytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.add4096BytesToolStripMenuItem.Text = "Add 4096 Bytes"; - this.add4096BytesToolStripMenuItem.Value = 4096; - this.add4096BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); - // - // addXBytesToolStripMenuItem - // - this.addXBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; - this.addXBytesToolStripMenuItem.Name = "addXBytesToolStripMenuItem"; - this.addXBytesToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.addXBytesToolStripMenuItem.Text = "Add ... Bytes"; - this.addXBytesToolStripMenuItem.Click += new System.EventHandler(this.addXBytesToolStripMenuItem_Click); - // - // insertBytesToolStripDropDownButton - // - this.insertBytesToolStripDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.insertBytesToolStripDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.addBytesToolStripDropDownButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; + this.addBytesToolStripDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.addBytesToolStripDropDownButton.Name = "addBytesToolStripDropDownButton"; + this.addBytesToolStripDropDownButton.Size = new System.Drawing.Size(42, 28); + // + // add4BytesToolStripMenuItem + // + this.add4BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4; + this.add4BytesToolStripMenuItem.Name = "add4BytesToolStripMenuItem"; + this.add4BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add4BytesToolStripMenuItem.Tag = ""; + this.add4BytesToolStripMenuItem.Text = "Add 4 Bytes"; + this.add4BytesToolStripMenuItem.Value = 4; + this.add4BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add8BytesToolStripMenuItem + // + this.add8BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_8; + this.add8BytesToolStripMenuItem.Name = "add8BytesToolStripMenuItem"; + this.add8BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add8BytesToolStripMenuItem.Text = "Add 8 Bytes"; + this.add8BytesToolStripMenuItem.Value = 8; + this.add8BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add64BytesToolStripMenuItem + // + this.add64BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_64; + this.add64BytesToolStripMenuItem.Name = "add64BytesToolStripMenuItem"; + this.add64BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add64BytesToolStripMenuItem.Text = "Add 64 Bytes"; + this.add64BytesToolStripMenuItem.Value = 64; + this.add64BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add256BytesToolStripMenuItem + // + this.add256BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_256; + this.add256BytesToolStripMenuItem.Name = "add256BytesToolStripMenuItem"; + this.add256BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add256BytesToolStripMenuItem.Text = "Add 256 Bytes"; + this.add256BytesToolStripMenuItem.Value = 256; + this.add256BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add1024BytesToolStripMenuItem + // + this.add1024BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_1024; + this.add1024BytesToolStripMenuItem.Name = "add1024BytesToolStripMenuItem"; + this.add1024BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add1024BytesToolStripMenuItem.Text = "Add 1024 Bytes"; + this.add1024BytesToolStripMenuItem.Value = 1024; + this.add1024BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add2048BytesToolStripMenuItem + // + this.add2048BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_2048; + this.add2048BytesToolStripMenuItem.Name = "add2048BytesToolStripMenuItem"; + this.add2048BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add2048BytesToolStripMenuItem.Text = "Add 2048 Bytes"; + this.add2048BytesToolStripMenuItem.Value = 2048; + this.add2048BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // add4096BytesToolStripMenuItem + // + this.add4096BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_4096; + this.add4096BytesToolStripMenuItem.Name = "add4096BytesToolStripMenuItem"; + this.add4096BytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.add4096BytesToolStripMenuItem.Text = "Add 4096 Bytes"; + this.add4096BytesToolStripMenuItem.Value = 4096; + this.add4096BytesToolStripMenuItem.Click += new System.EventHandler(this.addBytesToolStripMenuItem_Click); + // + // addXBytesToolStripMenuItem + // + this.addXBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Add_Bytes_X; + this.addXBytesToolStripMenuItem.Name = "addXBytesToolStripMenuItem"; + this.addXBytesToolStripMenuItem.Size = new System.Drawing.Size(240, 34); + this.addXBytesToolStripMenuItem.Text = "Add ... Bytes"; + this.addXBytesToolStripMenuItem.Click += new System.EventHandler(this.addXBytesToolStripMenuItem_Click); + // + // insertBytesToolStripDropDownButton + // + this.insertBytesToolStripDropDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.insertBytesToolStripDropDownButton.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.insert4BytesToolStripMenuItem, this.insert8BytesToolStripMenuItem, this.insert64BytesToolStripMenuItem, @@ -933,127 +945,131 @@ private void InitializeComponent() this.insert2048BytesToolStripMenuItem, this.insert4096BytesToolStripMenuItem, this.insertXBytesToolStripMenuItem}); - this.insertBytesToolStripDropDownButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; - this.insertBytesToolStripDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.insertBytesToolStripDropDownButton.Name = "insertBytesToolStripDropDownButton"; - this.insertBytesToolStripDropDownButton.Size = new System.Drawing.Size(29, 22); - this.insertBytesToolStripDropDownButton.ToolTipText = "Insert bytes at selected position"; - // - // insert4BytesToolStripMenuItem - // - this.insert4BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4; - this.insert4BytesToolStripMenuItem.Name = "insert4BytesToolStripMenuItem"; - this.insert4BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert4BytesToolStripMenuItem.Tag = ""; - this.insert4BytesToolStripMenuItem.Text = "Insert 4 Bytes"; - this.insert4BytesToolStripMenuItem.Value = 4; - this.insert4BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert8BytesToolStripMenuItem - // - this.insert8BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_8; - this.insert8BytesToolStripMenuItem.Name = "insert8BytesToolStripMenuItem"; - this.insert8BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert8BytesToolStripMenuItem.Text = "Insert 8 Bytes"; - this.insert8BytesToolStripMenuItem.Value = 8; - this.insert8BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert64BytesToolStripMenuItem - // - this.insert64BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_64; - this.insert64BytesToolStripMenuItem.Name = "insert64BytesToolStripMenuItem"; - this.insert64BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert64BytesToolStripMenuItem.Text = "Insert 64 Bytes"; - this.insert64BytesToolStripMenuItem.Value = 64; - this.insert64BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert256BytesToolStripMenuItem - // - this.insert256BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_256; - this.insert256BytesToolStripMenuItem.Name = "insert256BytesToolStripMenuItem"; - this.insert256BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert256BytesToolStripMenuItem.Text = "Insert 256 Bytes"; - this.insert256BytesToolStripMenuItem.Value = 256; - this.insert256BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert1024BytesToolStripMenuItem - // - this.insert1024BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_1024; - this.insert1024BytesToolStripMenuItem.Name = "insert1024BytesToolStripMenuItem"; - this.insert1024BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert1024BytesToolStripMenuItem.Text = "Insert 1024 Bytes"; - this.insert1024BytesToolStripMenuItem.Value = 1024; - this.insert1024BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert2048BytesToolStripMenuItem - // - this.insert2048BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_2048; - this.insert2048BytesToolStripMenuItem.Name = "insert2048BytesToolStripMenuItem"; - this.insert2048BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert2048BytesToolStripMenuItem.Text = "Insert 2048 Bytes"; - this.insert2048BytesToolStripMenuItem.Value = 2048; - this.insert2048BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insert4096BytesToolStripMenuItem - // - this.insert4096BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4096; - this.insert4096BytesToolStripMenuItem.Name = "insert4096BytesToolStripMenuItem"; - this.insert4096BytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insert4096BytesToolStripMenuItem.Text = "Insert 4096 Bytes"; - this.insert4096BytesToolStripMenuItem.Value = 4096; - this.insert4096BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); - // - // insertXBytesToolStripMenuItem - // - this.insertXBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; - this.insertXBytesToolStripMenuItem.Name = "insertXBytesToolStripMenuItem"; - this.insertXBytesToolStripMenuItem.Size = new System.Drawing.Size(161, 22); - this.insertXBytesToolStripMenuItem.Text = "Insert ... Bytes"; - this.insertXBytesToolStripMenuItem.Click += new System.EventHandler(this.insertXBytesToolStripMenuItem_Click); - // - // nodeTypesToolStripSeparator - // - this.nodeTypesToolStripSeparator.Name = "nodeTypesToolStripSeparator"; - this.nodeTypesToolStripSeparator.Size = new System.Drawing.Size(6, 25); - // - // statusStrip - // - this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.insertBytesToolStripDropDownButton.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; + this.insertBytesToolStripDropDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.insertBytesToolStripDropDownButton.Name = "insertBytesToolStripDropDownButton"; + this.insertBytesToolStripDropDownButton.Size = new System.Drawing.Size(42, 28); + this.insertBytesToolStripDropDownButton.ToolTipText = "Insert bytes at selected position"; + // + // insert4BytesToolStripMenuItem + // + this.insert4BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4; + this.insert4BytesToolStripMenuItem.Name = "insert4BytesToolStripMenuItem"; + this.insert4BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert4BytesToolStripMenuItem.Tag = ""; + this.insert4BytesToolStripMenuItem.Text = "Insert 4 Bytes"; + this.insert4BytesToolStripMenuItem.Value = 4; + this.insert4BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert8BytesToolStripMenuItem + // + this.insert8BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_8; + this.insert8BytesToolStripMenuItem.Name = "insert8BytesToolStripMenuItem"; + this.insert8BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert8BytesToolStripMenuItem.Text = "Insert 8 Bytes"; + this.insert8BytesToolStripMenuItem.Value = 8; + this.insert8BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert64BytesToolStripMenuItem + // + this.insert64BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_64; + this.insert64BytesToolStripMenuItem.Name = "insert64BytesToolStripMenuItem"; + this.insert64BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert64BytesToolStripMenuItem.Text = "Insert 64 Bytes"; + this.insert64BytesToolStripMenuItem.Value = 64; + this.insert64BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert256BytesToolStripMenuItem + // + this.insert256BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_256; + this.insert256BytesToolStripMenuItem.Name = "insert256BytesToolStripMenuItem"; + this.insert256BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert256BytesToolStripMenuItem.Text = "Insert 256 Bytes"; + this.insert256BytesToolStripMenuItem.Value = 256; + this.insert256BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert1024BytesToolStripMenuItem + // + this.insert1024BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_1024; + this.insert1024BytesToolStripMenuItem.Name = "insert1024BytesToolStripMenuItem"; + this.insert1024BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert1024BytesToolStripMenuItem.Text = "Insert 1024 Bytes"; + this.insert1024BytesToolStripMenuItem.Value = 1024; + this.insert1024BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert2048BytesToolStripMenuItem + // + this.insert2048BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_2048; + this.insert2048BytesToolStripMenuItem.Name = "insert2048BytesToolStripMenuItem"; + this.insert2048BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert2048BytesToolStripMenuItem.Text = "Insert 2048 Bytes"; + this.insert2048BytesToolStripMenuItem.Value = 2048; + this.insert2048BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insert4096BytesToolStripMenuItem + // + this.insert4096BytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_4096; + this.insert4096BytesToolStripMenuItem.Name = "insert4096BytesToolStripMenuItem"; + this.insert4096BytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insert4096BytesToolStripMenuItem.Text = "Insert 4096 Bytes"; + this.insert4096BytesToolStripMenuItem.Value = 4096; + this.insert4096BytesToolStripMenuItem.Click += new System.EventHandler(this.insertBytesToolStripMenuItem_Click); + // + // insertXBytesToolStripMenuItem + // + this.insertXBytesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Button_Insert_Bytes_X; + this.insertXBytesToolStripMenuItem.Name = "insertXBytesToolStripMenuItem"; + this.insertXBytesToolStripMenuItem.Size = new System.Drawing.Size(250, 34); + this.insertXBytesToolStripMenuItem.Text = "Insert ... Bytes"; + this.insertXBytesToolStripMenuItem.Click += new System.EventHandler(this.insertXBytesToolStripMenuItem_Click); + // + // nodeTypesToolStripSeparator + // + this.nodeTypesToolStripSeparator.Name = "nodeTypesToolStripSeparator"; + this.nodeTypesToolStripSeparator.Size = new System.Drawing.Size(6, 33); + // + // statusStrip + // + this.statusStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.processInfoToolStripStatusLabel, this.infoToolStripStatusLabel}); - this.statusStrip.Location = new System.Drawing.Point(0, 573); - this.statusStrip.Name = "statusStrip"; - this.statusStrip.Size = new System.Drawing.Size(1141, 22); - this.statusStrip.TabIndex = 1; - // - // processInfoToolStripStatusLabel - // - this.processInfoToolStripStatusLabel.Name = "processInfoToolStripStatusLabel"; - this.processInfoToolStripStatusLabel.Size = new System.Drawing.Size(112, 17); - this.processInfoToolStripStatusLabel.Text = "No process selected"; - // - // infoToolStripStatusLabel - // - this.infoToolStripStatusLabel.Name = "infoToolStripStatusLabel"; - this.infoToolStripStatusLabel.Size = new System.Drawing.Size(23, 17); - this.infoToolStripStatusLabel.Text = "<>"; - this.infoToolStripStatusLabel.Visible = false; - // - // mainMenuStrip - // - this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.statusStrip.Location = new System.Drawing.Point(0, 883); + this.statusStrip.Name = "statusStrip"; + this.statusStrip.Padding = new System.Windows.Forms.Padding(2, 0, 21, 0); + this.statusStrip.Size = new System.Drawing.Size(1712, 32); + this.statusStrip.TabIndex = 1; + // + // processInfoToolStripStatusLabel + // + this.processInfoToolStripStatusLabel.Name = "processInfoToolStripStatusLabel"; + this.processInfoToolStripStatusLabel.Size = new System.Drawing.Size(171, 25); + this.processInfoToolStripStatusLabel.Text = "No process selected"; + // + // infoToolStripStatusLabel + // + this.infoToolStripStatusLabel.Name = "infoToolStripStatusLabel"; + this.infoToolStripStatusLabel.Size = new System.Drawing.Size(36, 25); + this.infoToolStripStatusLabel.Text = "<>"; + this.infoToolStripStatusLabel.Visible = false; + // + // mainMenuStrip + // + this.mainMenuStrip.GripMargin = new System.Windows.Forms.Padding(2, 2, 0, 2); + this.mainMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); + this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.processToolStripMenuItem, this.projectToolStripMenuItem, this.helpToolStripMenuItem}); - this.mainMenuStrip.Location = new System.Drawing.Point(0, 0); - this.mainMenuStrip.Name = "mainMenuStrip"; - this.mainMenuStrip.Size = new System.Drawing.Size(1141, 24); - this.mainMenuStrip.TabIndex = 2; - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mainMenuStrip.Location = new System.Drawing.Point(0, 0); + this.mainMenuStrip.Name = "mainMenuStrip"; + this.mainMenuStrip.Size = new System.Drawing.Size(1712, 35); + this.mainMenuStrip.TabIndex = 2; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.attachToProcessToolStripMenuItem, this.reattachToProcessToolStripMenuItem, this.detachToolStripMenuItem, @@ -1069,126 +1085,126 @@ private void InitializeComponent() this.pluginsToolStripMenuItem, this.toolStripSeparator5, this.quitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); - this.fileToolStripMenuItem.Text = "File"; - this.fileToolStripMenuItem.DropDownOpening += new System.EventHandler(this.fileToolStripMenuItem_DropDownOpening); - // - // attachToProcessToolStripMenuItem - // - this.attachToProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier; - this.attachToProcessToolStripMenuItem.Name = "attachToProcessToolStripMenuItem"; - this.attachToProcessToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.attachToProcessToolStripMenuItem.Text = "Attach to Process..."; - this.attachToProcessToolStripMenuItem.Click += new System.EventHandler(this.attachToProcessToolStripSplitButton_ButtonClick); - // - // reattachToProcessToolStripMenuItem - // - this.reattachToProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier_Arrow; - this.reattachToProcessToolStripMenuItem.Name = "reattachToProcessToolStripMenuItem"; - this.reattachToProcessToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.reattachToProcessToolStripMenuItem.Text = "<>"; - this.reattachToProcessToolStripMenuItem.Click += new System.EventHandler(this.reattachToProcessToolStripMenuItem_Click); - // - // detachToolStripMenuItem - // - this.detachToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier_Remove; - this.detachToolStripMenuItem.Name = "detachToolStripMenuItem"; - this.detachToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.detachToolStripMenuItem.Text = "Detach"; - this.detachToolStripMenuItem.Click += new System.EventHandler(this.detachToolStripMenuItem_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(192, 6); - // - // openProjectToolStripMenuItem - // - this.openProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Folder; - this.openProjectToolStripMenuItem.Name = "openProjectToolStripMenuItem"; - this.openProjectToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.openProjectToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.openProjectToolStripMenuItem.Text = "Open Project..."; - this.openProjectToolStripMenuItem.Click += new System.EventHandler(this.openProjectToolStripMenuItem_Click); - // - // mergeWithProjectToolStripMenuItem - // - this.mergeWithProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Folder_Add; - this.mergeWithProjectToolStripMenuItem.Name = "mergeWithProjectToolStripMenuItem"; - this.mergeWithProjectToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.mergeWithProjectToolStripMenuItem.Text = "Merge with Project..."; - this.mergeWithProjectToolStripMenuItem.Click += new System.EventHandler(this.mergeWithProjectToolStripMenuItem_Click); - // - // clearProjectToolStripMenuItem - // - this.clearProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Arrow_Refresh; - this.clearProjectToolStripMenuItem.Name = "clearProjectToolStripMenuItem"; - this.clearProjectToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.clearProjectToolStripMenuItem.Text = "Clear Project"; - this.clearProjectToolStripMenuItem.Click += new System.EventHandler(this.clearProjectToolStripMenuItem_Click); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(192, 6); - // - // saveToolStripMenuItem - // - this.saveToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Save; - this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; - this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.saveToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.saveToolStripMenuItem.Text = "Save"; - this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); - // - // saveAsToolStripMenuItem - // - this.saveAsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Save_As; - this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; - this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 29); + this.fileToolStripMenuItem.Text = "File"; + this.fileToolStripMenuItem.DropDownOpening += new System.EventHandler(this.fileToolStripMenuItem_DropDownOpening); + // + // attachToProcessToolStripMenuItem + // + this.attachToProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier; + this.attachToProcessToolStripMenuItem.Name = "attachToProcessToolStripMenuItem"; + this.attachToProcessToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.attachToProcessToolStripMenuItem.Text = "Attach to Process..."; + this.attachToProcessToolStripMenuItem.Click += new System.EventHandler(this.attachToProcessToolStripSplitButton_ButtonClick); + // + // reattachToProcessToolStripMenuItem + // + this.reattachToProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier_Arrow; + this.reattachToProcessToolStripMenuItem.Name = "reattachToProcessToolStripMenuItem"; + this.reattachToProcessToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.reattachToProcessToolStripMenuItem.Text = "<>"; + this.reattachToProcessToolStripMenuItem.Click += new System.EventHandler(this.reattachToProcessToolStripMenuItem_Click); + // + // detachToolStripMenuItem + // + this.detachToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Magnifier_Remove; + this.detachToolStripMenuItem.Name = "detachToolStripMenuItem"; + this.detachToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.detachToolStripMenuItem.Text = "Detach"; + this.detachToolStripMenuItem.Click += new System.EventHandler(this.detachToolStripMenuItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(291, 6); + // + // openProjectToolStripMenuItem + // + this.openProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Folder; + this.openProjectToolStripMenuItem.Name = "openProjectToolStripMenuItem"; + this.openProjectToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); + this.openProjectToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.openProjectToolStripMenuItem.Text = "Open Project..."; + this.openProjectToolStripMenuItem.Click += new System.EventHandler(this.openProjectToolStripMenuItem_Click); + // + // mergeWithProjectToolStripMenuItem + // + this.mergeWithProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Folder_Add; + this.mergeWithProjectToolStripMenuItem.Name = "mergeWithProjectToolStripMenuItem"; + this.mergeWithProjectToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.mergeWithProjectToolStripMenuItem.Text = "Merge with Project..."; + this.mergeWithProjectToolStripMenuItem.Click += new System.EventHandler(this.mergeWithProjectToolStripMenuItem_Click); + // + // clearProjectToolStripMenuItem + // + this.clearProjectToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Arrow_Refresh; + this.clearProjectToolStripMenuItem.Name = "clearProjectToolStripMenuItem"; + this.clearProjectToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.clearProjectToolStripMenuItem.Text = "Clear Project"; + this.clearProjectToolStripMenuItem.Click += new System.EventHandler(this.clearProjectToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(291, 6); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Save; + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); + this.saveToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.saveToolStripMenuItem.Text = "Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // saveAsToolStripMenuItem + // + this.saveAsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Save_As; + this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; + this.saveAsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S))); - this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.saveAsToolStripMenuItem.Text = "Save as..."; - this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click); - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(192, 6); - // - // settingsToolStripMenuItem - // - this.settingsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Cogs; - this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.settingsToolStripMenuItem.Text = "Settings..."; - this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click); - // - // pluginsToolStripMenuItem - // - this.pluginsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Plugin; - this.pluginsToolStripMenuItem.Name = "pluginsToolStripMenuItem"; - this.pluginsToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.pluginsToolStripMenuItem.Text = "Plugins..."; - this.pluginsToolStripMenuItem.Click += new System.EventHandler(this.pluginsToolStripButton_Click); - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(192, 6); - // - // quitToolStripMenuItem - // - this.quitToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Quit; - this.quitToolStripMenuItem.Name = "quitToolStripMenuItem"; - this.quitToolStripMenuItem.Size = new System.Drawing.Size(195, 22); - this.quitToolStripMenuItem.Text = "Quit"; - this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click); - // - // processToolStripMenuItem - // - this.processToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.saveAsToolStripMenuItem.Text = "Save as..."; + this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.saveAsToolStripMenuItem_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(291, 6); + // + // settingsToolStripMenuItem + // + this.settingsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Cogs; + this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.settingsToolStripMenuItem.Text = "Settings..."; + this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click); + // + // pluginsToolStripMenuItem + // + this.pluginsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Plugin; + this.pluginsToolStripMenuItem.Name = "pluginsToolStripMenuItem"; + this.pluginsToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.pluginsToolStripMenuItem.Text = "Plugins..."; + this.pluginsToolStripMenuItem.Click += new System.EventHandler(this.pluginsToolStripButton_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(291, 6); + // + // quitToolStripMenuItem + // + this.quitToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Quit; + this.quitToolStripMenuItem.Name = "quitToolStripMenuItem"; + this.quitToolStripMenuItem.Size = new System.Drawing.Size(294, 34); + this.quitToolStripMenuItem.Text = "Quit"; + this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click); + // + // processToolStripMenuItem + // + this.processToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.processInformationsToolStripMenuItem, this.memorySearcherToolStripMenuItem, this.namedAddressesToolStripMenuItem, @@ -1201,206 +1217,207 @@ private void InitializeComponent() this.resumeProcessToolStripMenuItem, this.suspendProcessToolStripMenuItem, this.terminateProcessToolStripMenuItem}); - this.processToolStripMenuItem.Name = "processToolStripMenuItem"; - this.processToolStripMenuItem.Size = new System.Drawing.Size(59, 20); - this.processToolStripMenuItem.Text = "Process"; - // - // processInformationsToolStripMenuItem - // - this.processInformationsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; - this.processInformationsToolStripMenuItem.Name = "processInformationsToolStripMenuItem"; - this.processInformationsToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.processInformationsToolStripMenuItem.Text = "Process Informations..."; - this.processInformationsToolStripMenuItem.Click += new System.EventHandler(this.memoryViewerToolStripMenuItem_Click); - // - // memorySearcherToolStripMenuItem - // - this.memorySearcherToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; - this.memorySearcherToolStripMenuItem.Name = "memorySearcherToolStripMenuItem"; - this.memorySearcherToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.memorySearcherToolStripMenuItem.Text = "Memory Searcher..."; - this.memorySearcherToolStripMenuItem.Click += new System.EventHandler(this.memorySearcherToolStripMenuItem_Click); - // - // namedAddressesToolStripMenuItem - // - this.namedAddressesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Custom_Type; - this.namedAddressesToolStripMenuItem.Name = "namedAddressesToolStripMenuItem"; - this.namedAddressesToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.namedAddressesToolStripMenuItem.Text = "Named Addresses..."; - this.namedAddressesToolStripMenuItem.Click += new System.EventHandler(this.namedAddressesToolStripMenuItem_Click); - // - // toolStripSeparator23 - // - this.toolStripSeparator23.Name = "toolStripSeparator23"; - this.toolStripSeparator23.Size = new System.Drawing.Size(191, 6); - // - // isLittleEndianToolStripMenuItem - // - this.isLittleEndianToolStripMenuItem.CheckOnClick = true; - this.isLittleEndianToolStripMenuItem.Name = "isLittleEndianToolStripMenuItem"; - this.isLittleEndianToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.isLittleEndianToolStripMenuItem.Text = "Is Little Endian"; - this.isLittleEndianToolStripMenuItem.Click += new System.EventHandler(this.isLittleEndianToolStripMenuItem_Click); - // - // toolStripSeparator17 - // - this.toolStripSeparator17.Name = "toolStripSeparator17"; - this.toolStripSeparator17.Size = new System.Drawing.Size(191, 6); - // - // loadSymbolToolStripMenuItem - // - this.loadSymbolToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Pdb; - this.loadSymbolToolStripMenuItem.Name = "loadSymbolToolStripMenuItem"; - this.loadSymbolToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.loadSymbolToolStripMenuItem.Text = "Load Symbol..."; - this.loadSymbolToolStripMenuItem.Click += new System.EventHandler(this.loadSymbolToolStripMenuItem_Click); - // - // loadSymbolsToolStripMenuItem - // - this.loadSymbolsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadSymbolsToolStripMenuItem.Image"))); - this.loadSymbolsToolStripMenuItem.Name = "loadSymbolsToolStripMenuItem"; - this.loadSymbolsToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.loadSymbolsToolStripMenuItem.Text = "Load all Symbols"; - this.loadSymbolsToolStripMenuItem.Click += new System.EventHandler(this.loadSymbolsToolStripMenuItem_Click); - // - // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(191, 6); - // - // resumeProcessToolStripMenuItem - // - this.resumeProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Play; - this.resumeProcessToolStripMenuItem.Name = "resumeProcessToolStripMenuItem"; - this.resumeProcessToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.resumeProcessToolStripMenuItem.Text = "Resume"; - this.resumeProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); - // - // suspendProcessToolStripMenuItem - // - this.suspendProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Pause; - this.suspendProcessToolStripMenuItem.Name = "suspendProcessToolStripMenuItem"; - this.suspendProcessToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.suspendProcessToolStripMenuItem.Text = "Suspend"; - this.suspendProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); - // - // terminateProcessToolStripMenuItem - // - this.terminateProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Stop; - this.terminateProcessToolStripMenuItem.Name = "terminateProcessToolStripMenuItem"; - this.terminateProcessToolStripMenuItem.Size = new System.Drawing.Size(194, 22); - this.terminateProcessToolStripMenuItem.Text = "Kill"; - this.terminateProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); - // - // projectToolStripMenuItem - // - this.projectToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.processToolStripMenuItem.Name = "processToolStripMenuItem"; + this.processToolStripMenuItem.Size = new System.Drawing.Size(88, 29); + this.processToolStripMenuItem.Text = "Process"; + // + // processInformationsToolStripMenuItem + // + this.processInformationsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; + this.processInformationsToolStripMenuItem.Name = "processInformationsToolStripMenuItem"; + this.processInformationsToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.processInformationsToolStripMenuItem.Text = "Process Informations..."; + this.processInformationsToolStripMenuItem.Click += new System.EventHandler(this.memoryViewerToolStripMenuItem_Click); + // + // memorySearcherToolStripMenuItem + // + this.memorySearcherToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Eye; + this.memorySearcherToolStripMenuItem.Name = "memorySearcherToolStripMenuItem"; + this.memorySearcherToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.memorySearcherToolStripMenuItem.Text = "Memory Searcher..."; + this.memorySearcherToolStripMenuItem.Click += new System.EventHandler(this.memorySearcherToolStripMenuItem_Click); + // + // namedAddressesToolStripMenuItem + // + this.namedAddressesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Custom_Type; + this.namedAddressesToolStripMenuItem.Name = "namedAddressesToolStripMenuItem"; + this.namedAddressesToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.namedAddressesToolStripMenuItem.Text = "Named Addresses..."; + this.namedAddressesToolStripMenuItem.Click += new System.EventHandler(this.namedAddressesToolStripMenuItem_Click); + // + // toolStripSeparator23 + // + this.toolStripSeparator23.Name = "toolStripSeparator23"; + this.toolStripSeparator23.Size = new System.Drawing.Size(290, 6); + // + // isLittleEndianToolStripMenuItem + // + this.isLittleEndianToolStripMenuItem.CheckOnClick = true; + this.isLittleEndianToolStripMenuItem.Name = "isLittleEndianToolStripMenuItem"; + this.isLittleEndianToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.isLittleEndianToolStripMenuItem.Text = "Is Little Endian"; + this.isLittleEndianToolStripMenuItem.Click += new System.EventHandler(this.isLittleEndianToolStripMenuItem_Click); + // + // toolStripSeparator17 + // + this.toolStripSeparator17.Name = "toolStripSeparator17"; + this.toolStripSeparator17.Size = new System.Drawing.Size(290, 6); + // + // loadSymbolToolStripMenuItem + // + this.loadSymbolToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Pdb; + this.loadSymbolToolStripMenuItem.Name = "loadSymbolToolStripMenuItem"; + this.loadSymbolToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.loadSymbolToolStripMenuItem.Text = "Load Symbol..."; + this.loadSymbolToolStripMenuItem.Click += new System.EventHandler(this.loadSymbolToolStripMenuItem_Click); + // + // loadSymbolsToolStripMenuItem + // + this.loadSymbolsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadSymbolsToolStripMenuItem.Image"))); + this.loadSymbolsToolStripMenuItem.Name = "loadSymbolsToolStripMenuItem"; + this.loadSymbolsToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.loadSymbolsToolStripMenuItem.Text = "Load all Symbols"; + this.loadSymbolsToolStripMenuItem.Click += new System.EventHandler(this.loadSymbolsToolStripMenuItem_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(290, 6); + // + // resumeProcessToolStripMenuItem + // + this.resumeProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Play; + this.resumeProcessToolStripMenuItem.Name = "resumeProcessToolStripMenuItem"; + this.resumeProcessToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.resumeProcessToolStripMenuItem.Text = "Resume"; + this.resumeProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); + // + // suspendProcessToolStripMenuItem + // + this.suspendProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Pause; + this.suspendProcessToolStripMenuItem.Name = "suspendProcessToolStripMenuItem"; + this.suspendProcessToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.suspendProcessToolStripMenuItem.Text = "Suspend"; + this.suspendProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); + // + // terminateProcessToolStripMenuItem + // + this.terminateProcessToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Control_Stop; + this.terminateProcessToolStripMenuItem.Name = "terminateProcessToolStripMenuItem"; + this.terminateProcessToolStripMenuItem.Size = new System.Drawing.Size(293, 34); + this.terminateProcessToolStripMenuItem.Text = "Kill"; + this.terminateProcessToolStripMenuItem.Click += new System.EventHandler(this.ControlRemoteProcessToolStripMenuItem_Click); + // + // projectToolStripMenuItem + // + this.projectToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.goToClassToolStripMenuItem, this.cleanUnusedClassesToolStripMenuItem, this.showEnumsToolStripMenuItem, this.toolStripSeparator16, this.generateCppCodeToolStripMenuItem, this.generateCSharpCodeToolStripMenuItem}); - this.projectToolStripMenuItem.Name = "projectToolStripMenuItem"; - this.projectToolStripMenuItem.Size = new System.Drawing.Size(56, 20); - this.projectToolStripMenuItem.Text = "Project"; - // - // goToClassToolStripMenuItem - // - this.goToClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Class_Type; - this.goToClassToolStripMenuItem.Name = "goToClassToolStripMenuItem"; - this.goToClassToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); - this.goToClassToolStripMenuItem.Size = new System.Drawing.Size(198, 22); - this.goToClassToolStripMenuItem.Text = "Go to class..."; - this.goToClassToolStripMenuItem.Click += new System.EventHandler(this.goToClassToolStripMenuItem_Click); - // - // cleanUnusedClassesToolStripMenuItem - // - this.cleanUnusedClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; - this.cleanUnusedClassesToolStripMenuItem.Name = "cleanUnusedClassesToolStripMenuItem"; - this.cleanUnusedClassesToolStripMenuItem.Size = new System.Drawing.Size(198, 22); - this.cleanUnusedClassesToolStripMenuItem.Text = "Remove unused classes"; - this.cleanUnusedClassesToolStripMenuItem.Click += new System.EventHandler(this.cleanUnusedClassesToolStripMenuItem_Click); - // - // showEnumsToolStripMenuItem - // - this.showEnumsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; - this.showEnumsToolStripMenuItem.Name = "showEnumsToolStripMenuItem"; - this.showEnumsToolStripMenuItem.Size = new System.Drawing.Size(198, 22); - this.showEnumsToolStripMenuItem.Text = "Show Enums..."; - this.showEnumsToolStripMenuItem.Click += new System.EventHandler(this.showEnumsToolStripMenuItem_Click); - // - // toolStripSeparator16 - // - this.toolStripSeparator16.Name = "toolStripSeparator16"; - this.toolStripSeparator16.Size = new System.Drawing.Size(195, 6); - // - // generateCppCodeToolStripMenuItem - // - this.generateCppCodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; - this.generateCppCodeToolStripMenuItem.Name = "generateCppCodeToolStripMenuItem"; - this.generateCppCodeToolStripMenuItem.Size = new System.Drawing.Size(198, 22); - this.generateCppCodeToolStripMenuItem.Text = "Generate C++ Code..."; - this.generateCppCodeToolStripMenuItem.Click += new System.EventHandler(this.generateCppCodeToolStripMenuItem_Click); - // - // generateCSharpCodeToolStripMenuItem - // - this.generateCSharpCodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Csharp; - this.generateCSharpCodeToolStripMenuItem.Name = "generateCSharpCodeToolStripMenuItem"; - this.generateCSharpCodeToolStripMenuItem.Size = new System.Drawing.Size(198, 22); - this.generateCSharpCodeToolStripMenuItem.Text = "Generate C# Code..."; - this.generateCSharpCodeToolStripMenuItem.Click += new System.EventHandler(this.generateCSharpCodeToolStripMenuItem_Click); - // - // helpToolStripMenuItem - // - this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.projectToolStripMenuItem.Name = "projectToolStripMenuItem"; + this.projectToolStripMenuItem.Size = new System.Drawing.Size(82, 29); + this.projectToolStripMenuItem.Text = "Project"; + // + // goToClassToolStripMenuItem + // + this.goToClassToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Class_Type; + this.goToClassToolStripMenuItem.Name = "goToClassToolStripMenuItem"; + this.goToClassToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); + this.goToClassToolStripMenuItem.Size = new System.Drawing.Size(300, 34); + this.goToClassToolStripMenuItem.Text = "Go to class..."; + this.goToClassToolStripMenuItem.Click += new System.EventHandler(this.goToClassToolStripMenuItem_Click); + // + // cleanUnusedClassesToolStripMenuItem + // + this.cleanUnusedClassesToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Chart_Delete; + this.cleanUnusedClassesToolStripMenuItem.Name = "cleanUnusedClassesToolStripMenuItem"; + this.cleanUnusedClassesToolStripMenuItem.Size = new System.Drawing.Size(300, 34); + this.cleanUnusedClassesToolStripMenuItem.Text = "Remove unused classes"; + this.cleanUnusedClassesToolStripMenuItem.Click += new System.EventHandler(this.cleanUnusedClassesToolStripMenuItem_Click); + // + // showEnumsToolStripMenuItem + // + this.showEnumsToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Category; + this.showEnumsToolStripMenuItem.Name = "showEnumsToolStripMenuItem"; + this.showEnumsToolStripMenuItem.Size = new System.Drawing.Size(300, 34); + this.showEnumsToolStripMenuItem.Text = "Show Enums..."; + this.showEnumsToolStripMenuItem.Click += new System.EventHandler(this.showEnumsToolStripMenuItem_Click); + // + // toolStripSeparator16 + // + this.toolStripSeparator16.Name = "toolStripSeparator16"; + this.toolStripSeparator16.Size = new System.Drawing.Size(297, 6); + // + // generateCppCodeToolStripMenuItem + // + this.generateCppCodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Cpp; + this.generateCppCodeToolStripMenuItem.Name = "generateCppCodeToolStripMenuItem"; + this.generateCppCodeToolStripMenuItem.Size = new System.Drawing.Size(300, 34); + this.generateCppCodeToolStripMenuItem.Text = "Generate C++ Code..."; + this.generateCppCodeToolStripMenuItem.Click += new System.EventHandler(this.generateCppCodeToolStripMenuItem_Click); + // + // generateCSharpCodeToolStripMenuItem + // + this.generateCSharpCodeToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Page_Code_Csharp; + this.generateCSharpCodeToolStripMenuItem.Name = "generateCSharpCodeToolStripMenuItem"; + this.generateCSharpCodeToolStripMenuItem.Size = new System.Drawing.Size(300, 34); + this.generateCSharpCodeToolStripMenuItem.Text = "Generate C# Code..."; + this.generateCSharpCodeToolStripMenuItem.Click += new System.EventHandler(this.generateCSharpCodeToolStripMenuItem_Click); + // + // helpToolStripMenuItem + // + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutToolStripMenuItem}); - this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.helpToolStripMenuItem.Text = "Help"; - // - // aboutToolStripMenuItem - // - this.aboutToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Information; - this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; - this.aboutToolStripMenuItem.Size = new System.Drawing.Size(116, 22); - this.aboutToolStripMenuItem.Text = "About..."; - this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); - // - // MainForm - // - this.AllowDrop = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1141, 595); - this.Controls.Add(this.splitContainer); - this.Controls.Add(this.toolStrip); - this.Controls.Add(this.statusStrip); - this.Controls.Add(this.mainMenuStrip); - this.MainMenuStrip = this.mainMenuStrip; - this.MinimumSize = new System.Drawing.Size(200, 100); - this.Name = "MainForm"; - this.Text = "ReClass.NET"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); - this.DragDrop += new System.Windows.Forms.DragEventHandler(this.MainForm_DragDrop); - this.DragEnter += new System.Windows.Forms.DragEventHandler(this.MainForm_DragEnter); - this.splitContainer.Panel1.ResumeLayout(false); - this.splitContainer.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); - this.splitContainer.ResumeLayout(false); - this.projectClassContextMenuStrip.ResumeLayout(false); - this.projectClassesContextMenuStrip.ResumeLayout(false); - this.projectEnumContextMenuStrip.ResumeLayout(false); - this.projectEnumsContextMenuStrip.ResumeLayout(false); - this.selectedNodeContextMenuStrip.ResumeLayout(false); - this.toolStrip.ResumeLayout(false); - this.toolStrip.PerformLayout(); - this.statusStrip.ResumeLayout(false); - this.statusStrip.PerformLayout(); - this.mainMenuStrip.ResumeLayout(false); - this.mainMenuStrip.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + this.helpToolStripMenuItem.Size = new System.Drawing.Size(65, 29); + this.helpToolStripMenuItem.Text = "Help"; + // + // aboutToolStripMenuItem + // + this.aboutToolStripMenuItem.Image = global::ReClassNET.Properties.Resources.B16x16_Information; + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(176, 34); + this.aboutToolStripMenuItem.Text = "About..."; + this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); + // + // MainForm + // + this.AllowDrop = true; + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1712, 915); + this.Controls.Add(this.splitContainer); + this.Controls.Add(this.toolStrip); + this.Controls.Add(this.statusStrip); + this.Controls.Add(this.mainMenuStrip); + this.MainMenuStrip = this.mainMenuStrip; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.MinimumSize = new System.Drawing.Size(289, 124); + this.Name = "MainForm"; + this.Text = "ReClass.NET"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); + this.DragDrop += new System.Windows.Forms.DragEventHandler(this.MainForm_DragDrop); + this.DragEnter += new System.Windows.Forms.DragEventHandler(this.MainForm_DragEnter); + this.splitContainer.Panel1.ResumeLayout(false); + this.splitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); + this.splitContainer.ResumeLayout(false); + this.projectClassContextMenuStrip.ResumeLayout(false); + this.projectClassesContextMenuStrip.ResumeLayout(false); + this.projectEnumContextMenuStrip.ResumeLayout(false); + this.projectEnumsContextMenuStrip.ResumeLayout(false); + this.selectedNodeContextMenuStrip.ResumeLayout(false); + this.toolStrip.ResumeLayout(false); + this.toolStrip.PerformLayout(); + this.statusStrip.ResumeLayout(false); + this.statusStrip.PerformLayout(); + this.mainMenuStrip.ResumeLayout(false); + this.mainMenuStrip.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/ReClass.NET/Forms/MainForm.cs b/ReClass.NET/Forms/MainForm.cs index 010eea25..37634014 100644 --- a/ReClass.NET/Forms/MainForm.cs +++ b/ReClass.NET/Forms/MainForm.cs @@ -321,7 +321,8 @@ private void saveAsToolStripMenuItem_Click(object sender, EventArgs e) private void settingsToolStripMenuItem_Click(object sender, EventArgs e) { - using var sd = new SettingsForm(Program.Settings, CurrentProject.TypeMapping); + using var sd = new SettingsForm(Program.Settings, CurrentProject.TypeMapping, + memoryViewControl, projectView, toolStrip); sd.ShowDialog(); } diff --git a/ReClass.NET/Forms/SettingsForm.Designer.cs b/ReClass.NET/Forms/SettingsForm.Designer.cs index 82e4efd9..86888d96 100644 --- a/ReClass.NET/Forms/SettingsForm.Designer.cs +++ b/ReClass.NET/Forms/SettingsForm.Designer.cs @@ -83,6 +83,8 @@ private void InitializeComponent() this.backgroundLabel = new System.Windows.Forms.Label(); this.backgroundColorBox = new ReClassNET.Controls.ColorBox(); this.typeDefinitionsSettingsTabPage = new System.Windows.Forms.TabPage(); + this.utf32TextSettingsLabel = new System.Windows.Forms.Label(); + this.utf32TextTypeTextBox = new System.Windows.Forms.TextBox(); this.nuintSettingsLabel = new System.Windows.Forms.Label(); this.nuintTypeTextBox = new System.Windows.Forms.TextBox(); this.nintSettingsLabel = new System.Windows.Forms.Label(); @@ -128,9 +130,21 @@ private void InitializeComponent() this.int16TypeTextBox = new System.Windows.Forms.TextBox(); this.int8SettingsLabel = new System.Windows.Forms.Label(); this.int8TypeTextBox = new System.Windows.Forms.TextBox(); + this.fontSizingSettingsTabPage = new System.Windows.Forms.TabPage(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.toolStripSizeUpDown = new System.Windows.Forms.NumericUpDown(); + this.label5 = new System.Windows.Forms.Label(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label4 = new System.Windows.Forms.Label(); + this.projectViewFontUpDown = new System.Windows.Forms.NumericUpDown(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.memoryViewPadYUpDown = new System.Windows.Forms.NumericUpDown(); + this.memoryViewPadXUpDown = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.memoryViewfontUpDown = new System.Windows.Forms.NumericUpDown(); this.bannerBox = new ReClassNET.Controls.BannerBox(); - this.utf32TextSettingsLabel = new System.Windows.Forms.Label(); - this.utf32TextTypeTextBox = new System.Windows.Forms.TextBox(); this.settingsTabControl.SuspendLayout(); this.generalSettingsTabPage.SuspendLayout(); this.fileAssociationGroupBox.SuspendLayout(); @@ -139,6 +153,15 @@ private void InitializeComponent() this.colorsSettingTabPage.SuspendLayout(); this.nodeColorGroupBox.SuspendLayout(); this.typeDefinitionsSettingsTabPage.SuspendLayout(); + this.fontSizingSettingsTabPage.SuspendLayout(); + this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.toolStripSizeUpDown)).BeginInit(); + this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.projectViewFontUpDown)).BeginInit(); + this.groupBox1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewPadYUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewPadXUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewfontUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bannerBox)).BeginInit(); this.SuspendLayout(); // @@ -147,10 +170,12 @@ private void InitializeComponent() this.settingsTabControl.Controls.Add(this.generalSettingsTabPage); this.settingsTabControl.Controls.Add(this.colorsSettingTabPage); this.settingsTabControl.Controls.Add(this.typeDefinitionsSettingsTabPage); - this.settingsTabControl.Location = new System.Drawing.Point(12, 60); + this.settingsTabControl.Controls.Add(this.fontSizingSettingsTabPage); + this.settingsTabControl.Location = new System.Drawing.Point(18, 92); + this.settingsTabControl.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.settingsTabControl.Name = "settingsTabControl"; this.settingsTabControl.SelectedIndex = 0; - this.settingsTabControl.Size = new System.Drawing.Size(562, 355); + this.settingsTabControl.Size = new System.Drawing.Size(843, 546); this.settingsTabControl.TabIndex = 1; // // generalSettingsTabPage @@ -159,10 +184,11 @@ private void InitializeComponent() this.generalSettingsTabPage.Controls.Add(this.commentsGroupBox); this.generalSettingsTabPage.Controls.Add(this.displayGroupBox); this.generalSettingsTabPage.Controls.Add(this.stayOnTopCheckBox); - this.generalSettingsTabPage.Location = new System.Drawing.Point(4, 22); + this.generalSettingsTabPage.Location = new System.Drawing.Point(4, 29); + this.generalSettingsTabPage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.generalSettingsTabPage.Name = "generalSettingsTabPage"; - this.generalSettingsTabPage.Padding = new System.Windows.Forms.Padding(3); - this.generalSettingsTabPage.Size = new System.Drawing.Size(554, 329); + this.generalSettingsTabPage.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.generalSettingsTabPage.Size = new System.Drawing.Size(835, 513); this.generalSettingsTabPage.TabIndex = 0; this.generalSettingsTabPage.Text = "General"; this.generalSettingsTabPage.UseVisualStyleBackColor = true; @@ -172,9 +198,11 @@ private void InitializeComponent() this.fileAssociationGroupBox.Controls.Add(this.removeAssociationButton); this.fileAssociationGroupBox.Controls.Add(this.createAssociationButton); this.fileAssociationGroupBox.Controls.Add(this.associationInfoLabel); - this.fileAssociationGroupBox.Location = new System.Drawing.Point(6, 231); + this.fileAssociationGroupBox.Location = new System.Drawing.Point(9, 355); + this.fileAssociationGroupBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.fileAssociationGroupBox.Name = "fileAssociationGroupBox"; - this.fileAssociationGroupBox.Size = new System.Drawing.Size(542, 85); + this.fileAssociationGroupBox.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.fileAssociationGroupBox.Size = new System.Drawing.Size(813, 131); this.fileAssociationGroupBox.TabIndex = 4; this.fileAssociationGroupBox.TabStop = false; this.fileAssociationGroupBox.Text = "RCNET File Association"; @@ -182,9 +210,10 @@ private void InitializeComponent() // removeAssociationButton // this.removeAssociationButton.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.removeAssociationButton.Location = new System.Drawing.Point(146, 52); + this.removeAssociationButton.Location = new System.Drawing.Point(219, 80); + this.removeAssociationButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.removeAssociationButton.Name = "removeAssociationButton"; - this.removeAssociationButton.Size = new System.Drawing.Size(135, 23); + this.removeAssociationButton.Size = new System.Drawing.Size(202, 35); this.removeAssociationButton.TabIndex = 2; this.removeAssociationButton.Text = "&Remove Association"; this.removeAssociationButton.UseVisualStyleBackColor = true; @@ -193,9 +222,10 @@ private void InitializeComponent() // createAssociationButton // this.createAssociationButton.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.createAssociationButton.Location = new System.Drawing.Point(9, 52); + this.createAssociationButton.Location = new System.Drawing.Point(14, 80); + this.createAssociationButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.createAssociationButton.Name = "createAssociationButton"; - this.createAssociationButton.Size = new System.Drawing.Size(131, 23); + this.createAssociationButton.Size = new System.Drawing.Size(196, 35); this.createAssociationButton.TabIndex = 1; this.createAssociationButton.Text = "Create &Association"; this.createAssociationButton.UseVisualStyleBackColor = true; @@ -203,9 +233,10 @@ private void InitializeComponent() // // associationInfoLabel // - this.associationInfoLabel.Location = new System.Drawing.Point(6, 21); + this.associationInfoLabel.Location = new System.Drawing.Point(9, 32); + this.associationInfoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.associationInfoLabel.Name = "associationInfoLabel"; - this.associationInfoLabel.Size = new System.Drawing.Size(525, 28); + this.associationInfoLabel.Size = new System.Drawing.Size(788, 43); this.associationInfoLabel.TabIndex = 0; this.associationInfoLabel.Text = "RCNET files can be associated with ReClass.NET. When you double-click a RCNET fil" + "e, they will automatically be opened by ReClass.NET."; @@ -219,9 +250,11 @@ private void InitializeComponent() this.commentsGroupBox.Controls.Add(this.showPointerCheckBox); this.commentsGroupBox.Controls.Add(this.showIntegerCheckBox); this.commentsGroupBox.Controls.Add(this.showFloatCheckBox); - this.commentsGroupBox.Location = new System.Drawing.Point(6, 39); + this.commentsGroupBox.Location = new System.Drawing.Point(9, 60); + this.commentsGroupBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.commentsGroupBox.Name = "commentsGroupBox"; - this.commentsGroupBox.Size = new System.Drawing.Size(265, 186); + this.commentsGroupBox.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.commentsGroupBox.Size = new System.Drawing.Size(398, 286); this.commentsGroupBox.TabIndex = 3; this.commentsGroupBox.TabStop = false; this.commentsGroupBox.Text = "Node Comments"; @@ -229,9 +262,10 @@ private void InitializeComponent() // showPluginInfoCheckBox // this.showPluginInfoCheckBox.AutoSize = true; - this.showPluginInfoCheckBox.Location = new System.Drawing.Point(6, 157); + this.showPluginInfoCheckBox.Location = new System.Drawing.Point(9, 242); + this.showPluginInfoCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showPluginInfoCheckBox.Name = "showPluginInfoCheckBox"; - this.showPluginInfoCheckBox.Size = new System.Drawing.Size(111, 17); + this.showPluginInfoCheckBox.Size = new System.Drawing.Size(162, 24); this.showPluginInfoCheckBox.TabIndex = 6; this.showPluginInfoCheckBox.Text = "Show Plugin Infos"; this.showPluginInfoCheckBox.UseVisualStyleBackColor = true; @@ -239,9 +273,10 @@ private void InitializeComponent() // showStringCheckBox // this.showStringCheckBox.AutoSize = true; - this.showStringCheckBox.Location = new System.Drawing.Point(6, 134); + this.showStringCheckBox.Location = new System.Drawing.Point(9, 206); + this.showStringCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showStringCheckBox.Name = "showStringCheckBox"; - this.showStringCheckBox.Size = new System.Drawing.Size(88, 17); + this.showStringCheckBox.Size = new System.Drawing.Size(129, 24); this.showStringCheckBox.TabIndex = 5; this.showStringCheckBox.Text = "Show Strings"; this.showStringCheckBox.UseVisualStyleBackColor = true; @@ -249,9 +284,10 @@ private void InitializeComponent() // showSymbolsCheckBox // this.showSymbolsCheckBox.AutoSize = true; - this.showSymbolsCheckBox.Location = new System.Drawing.Point(6, 111); + this.showSymbolsCheckBox.Location = new System.Drawing.Point(9, 171); + this.showSymbolsCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showSymbolsCheckBox.Name = "showSymbolsCheckBox"; - this.showSymbolsCheckBox.Size = new System.Drawing.Size(130, 17); + this.showSymbolsCheckBox.Size = new System.Drawing.Size(191, 24); this.showSymbolsCheckBox.TabIndex = 4; this.showSymbolsCheckBox.Text = "Show Debug Symbols"; this.showSymbolsCheckBox.UseVisualStyleBackColor = true; @@ -259,9 +295,10 @@ private void InitializeComponent() // showRttiCheckBox // this.showRttiCheckBox.AutoSize = true; - this.showRttiCheckBox.Location = new System.Drawing.Point(6, 88); + this.showRttiCheckBox.Location = new System.Drawing.Point(9, 135); + this.showRttiCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showRttiCheckBox.Name = "showRttiCheckBox"; - this.showRttiCheckBox.Size = new System.Drawing.Size(81, 17); + this.showRttiCheckBox.Size = new System.Drawing.Size(114, 24); this.showRttiCheckBox.TabIndex = 3; this.showRttiCheckBox.Text = "Show RTTI"; this.showRttiCheckBox.UseVisualStyleBackColor = true; @@ -269,9 +306,10 @@ private void InitializeComponent() // showPointerCheckBox // this.showPointerCheckBox.AutoSize = true; - this.showPointerCheckBox.Location = new System.Drawing.Point(6, 65); + this.showPointerCheckBox.Location = new System.Drawing.Point(9, 100); + this.showPointerCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showPointerCheckBox.Name = "showPointerCheckBox"; - this.showPointerCheckBox.Size = new System.Drawing.Size(94, 17); + this.showPointerCheckBox.Size = new System.Drawing.Size(137, 24); this.showPointerCheckBox.TabIndex = 2; this.showPointerCheckBox.Text = "Show Pointers"; this.showPointerCheckBox.UseVisualStyleBackColor = true; @@ -279,9 +317,10 @@ private void InitializeComponent() // showIntegerCheckBox // this.showIntegerCheckBox.AutoSize = true; - this.showIntegerCheckBox.Location = new System.Drawing.Point(6, 42); + this.showIntegerCheckBox.Location = new System.Drawing.Point(9, 65); + this.showIntegerCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showIntegerCheckBox.Name = "showIntegerCheckBox"; - this.showIntegerCheckBox.Size = new System.Drawing.Size(124, 17); + this.showIntegerCheckBox.Size = new System.Drawing.Size(183, 24); this.showIntegerCheckBox.TabIndex = 1; this.showIntegerCheckBox.Text = "Show Integer Values"; this.showIntegerCheckBox.UseVisualStyleBackColor = true; @@ -289,9 +328,10 @@ private void InitializeComponent() // showFloatCheckBox // this.showFloatCheckBox.AutoSize = true; - this.showFloatCheckBox.Location = new System.Drawing.Point(6, 19); + this.showFloatCheckBox.Location = new System.Drawing.Point(9, 29); + this.showFloatCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showFloatCheckBox.Name = "showFloatCheckBox"; - this.showFloatCheckBox.Size = new System.Drawing.Size(114, 17); + this.showFloatCheckBox.Size = new System.Drawing.Size(168, 24); this.showFloatCheckBox.TabIndex = 0; this.showFloatCheckBox.Text = "Show Float Values"; this.showFloatCheckBox.UseVisualStyleBackColor = true; @@ -304,9 +344,11 @@ private void InitializeComponent() this.displayGroupBox.Controls.Add(this.showTextCheckBox); this.displayGroupBox.Controls.Add(this.showNodeOffsetCheckBox); this.displayGroupBox.Controls.Add(this.showNodeAddressCheckBox); - this.displayGroupBox.Location = new System.Drawing.Point(283, 39); + this.displayGroupBox.Location = new System.Drawing.Point(424, 60); + this.displayGroupBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.displayGroupBox.Name = "displayGroupBox"; - this.displayGroupBox.Size = new System.Drawing.Size(265, 160); + this.displayGroupBox.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.displayGroupBox.Size = new System.Drawing.Size(398, 246); this.displayGroupBox.TabIndex = 2; this.displayGroupBox.TabStop = false; this.displayGroupBox.Text = "Display"; @@ -314,9 +356,10 @@ private void InitializeComponent() // randomizeWindowTitleCheckBox // this.randomizeWindowTitleCheckBox.AutoSize = true; - this.randomizeWindowTitleCheckBox.Location = new System.Drawing.Point(6, 134); + this.randomizeWindowTitleCheckBox.Location = new System.Drawing.Point(9, 206); + this.randomizeWindowTitleCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.randomizeWindowTitleCheckBox.Name = "randomizeWindowTitleCheckBox"; - this.randomizeWindowTitleCheckBox.Size = new System.Drawing.Size(137, 17); + this.randomizeWindowTitleCheckBox.Size = new System.Drawing.Size(201, 24); this.randomizeWindowTitleCheckBox.TabIndex = 5; this.randomizeWindowTitleCheckBox.Text = "Randomize window title"; this.randomizeWindowTitleCheckBox.UseVisualStyleBackColor = true; @@ -324,9 +367,10 @@ private void InitializeComponent() // runAsAdminCheckBox // this.runAsAdminCheckBox.AutoSize = true; - this.runAsAdminCheckBox.Location = new System.Drawing.Point(6, 111); + this.runAsAdminCheckBox.Location = new System.Drawing.Point(9, 171); + this.runAsAdminCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.runAsAdminCheckBox.Name = "runAsAdminCheckBox"; - this.runAsAdminCheckBox.Size = new System.Drawing.Size(200, 17); + this.runAsAdminCheckBox.Size = new System.Drawing.Size(303, 24); this.runAsAdminCheckBox.TabIndex = 4; this.runAsAdminCheckBox.Text = "Run as administrator (requires restart)"; this.runAsAdminCheckBox.UseVisualStyleBackColor = true; @@ -334,9 +378,10 @@ private void InitializeComponent() // highlightChangedValuesCheckBox // this.highlightChangedValuesCheckBox.AutoSize = true; - this.highlightChangedValuesCheckBox.Location = new System.Drawing.Point(6, 88); + this.highlightChangedValuesCheckBox.Location = new System.Drawing.Point(9, 135); + this.highlightChangedValuesCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.highlightChangedValuesCheckBox.Name = "highlightChangedValuesCheckBox"; - this.highlightChangedValuesCheckBox.Size = new System.Drawing.Size(148, 17); + this.highlightChangedValuesCheckBox.Size = new System.Drawing.Size(219, 24); this.highlightChangedValuesCheckBox.TabIndex = 3; this.highlightChangedValuesCheckBox.Text = "Highlight Changed Values"; this.highlightChangedValuesCheckBox.UseVisualStyleBackColor = true; @@ -344,9 +389,10 @@ private void InitializeComponent() // showTextCheckBox // this.showTextCheckBox.AutoSize = true; - this.showTextCheckBox.Location = new System.Drawing.Point(6, 65); + this.showTextCheckBox.Location = new System.Drawing.Point(9, 100); + this.showTextCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showTextCheckBox.Name = "showTextCheckBox"; - this.showTextCheckBox.Size = new System.Drawing.Size(166, 17); + this.showTextCheckBox.Size = new System.Drawing.Size(244, 24); this.showTextCheckBox.TabIndex = 2; this.showTextCheckBox.Text = "Show Textual Representation"; this.showTextCheckBox.UseVisualStyleBackColor = true; @@ -354,9 +400,10 @@ private void InitializeComponent() // showNodeOffsetCheckBox // this.showNodeOffsetCheckBox.AutoSize = true; - this.showNodeOffsetCheckBox.Location = new System.Drawing.Point(6, 42); + this.showNodeOffsetCheckBox.Location = new System.Drawing.Point(9, 65); + this.showNodeOffsetCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showNodeOffsetCheckBox.Name = "showNodeOffsetCheckBox"; - this.showNodeOffsetCheckBox.Size = new System.Drawing.Size(113, 17); + this.showNodeOffsetCheckBox.Size = new System.Drawing.Size(165, 24); this.showNodeOffsetCheckBox.TabIndex = 1; this.showNodeOffsetCheckBox.Text = "Show Node Offset"; this.showNodeOffsetCheckBox.UseVisualStyleBackColor = true; @@ -364,9 +411,10 @@ private void InitializeComponent() // showNodeAddressCheckBox // this.showNodeAddressCheckBox.AutoSize = true; - this.showNodeAddressCheckBox.Location = new System.Drawing.Point(6, 19); + this.showNodeAddressCheckBox.Location = new System.Drawing.Point(9, 29); + this.showNodeAddressCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.showNodeAddressCheckBox.Name = "showNodeAddressCheckBox"; - this.showNodeAddressCheckBox.Size = new System.Drawing.Size(123, 17); + this.showNodeAddressCheckBox.Size = new System.Drawing.Size(180, 24); this.showNodeAddressCheckBox.TabIndex = 0; this.showNodeAddressCheckBox.Text = "Show Node Address"; this.showNodeAddressCheckBox.UseVisualStyleBackColor = true; @@ -374,9 +422,10 @@ private void InitializeComponent() // stayOnTopCheckBox // this.stayOnTopCheckBox.AutoSize = true; - this.stayOnTopCheckBox.Location = new System.Drawing.Point(6, 6); + this.stayOnTopCheckBox.Location = new System.Drawing.Point(9, 9); + this.stayOnTopCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.stayOnTopCheckBox.Name = "stayOnTopCheckBox"; - this.stayOnTopCheckBox.Size = new System.Drawing.Size(187, 17); + this.stayOnTopCheckBox.Size = new System.Drawing.Size(275, 24); this.stayOnTopCheckBox.TabIndex = 1; this.stayOnTopCheckBox.Text = "Force ReClass.NET to stay on top"; this.stayOnTopCheckBox.UseVisualStyleBackColor = true; @@ -386,10 +435,11 @@ private void InitializeComponent() this.colorsSettingTabPage.Controls.Add(this.nodeColorGroupBox); this.colorsSettingTabPage.Controls.Add(this.backgroundLabel); this.colorsSettingTabPage.Controls.Add(this.backgroundColorBox); - this.colorsSettingTabPage.Location = new System.Drawing.Point(4, 22); + this.colorsSettingTabPage.Location = new System.Drawing.Point(4, 29); + this.colorsSettingTabPage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.colorsSettingTabPage.Name = "colorsSettingTabPage"; - this.colorsSettingTabPage.Padding = new System.Windows.Forms.Padding(3); - this.colorsSettingTabPage.Size = new System.Drawing.Size(554, 329); + this.colorsSettingTabPage.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.colorsSettingTabPage.Size = new System.Drawing.Size(835, 513); this.colorsSettingTabPage.TabIndex = 1; this.colorsSettingTabPage.Text = "Colors"; this.colorsSettingTabPage.UseVisualStyleBackColor = true; @@ -422,9 +472,11 @@ private void InitializeComponent() this.nodeColorGroupBox.Controls.Add(this.nodeTypeLabel); this.nodeColorGroupBox.Controls.Add(this.nodeNameLabel); this.nodeColorGroupBox.Controls.Add(this.nodeNameColorBox); - this.nodeColorGroupBox.Location = new System.Drawing.Point(9, 43); + this.nodeColorGroupBox.Location = new System.Drawing.Point(14, 66); + this.nodeColorGroupBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.nodeColorGroupBox.Name = "nodeColorGroupBox"; - this.nodeColorGroupBox.Size = new System.Drawing.Size(539, 225); + this.nodeColorGroupBox.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.nodeColorGroupBox.Size = new System.Drawing.Size(808, 346); this.nodeColorGroupBox.TabIndex = 28; this.nodeColorGroupBox.TabStop = false; this.nodeColorGroupBox.Text = "Node Colors"; @@ -432,25 +484,28 @@ private void InitializeComponent() // nodeValueLabel // this.nodeValueLabel.AutoSize = true; - this.nodeValueLabel.Location = new System.Drawing.Point(9, 198); + this.nodeValueLabel.Location = new System.Drawing.Point(14, 305); + this.nodeValueLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeValueLabel.Name = "nodeValueLabel"; - this.nodeValueLabel.Size = new System.Drawing.Size(64, 13); + this.nodeValueLabel.Size = new System.Drawing.Size(95, 20); this.nodeValueLabel.TabIndex = 17; this.nodeValueLabel.Text = "Value Color:"; // // nodePluginLabel // this.nodePluginLabel.AutoSize = true; - this.nodePluginLabel.Location = new System.Drawing.Point(286, 172); + this.nodePluginLabel.Location = new System.Drawing.Point(429, 265); + this.nodePluginLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodePluginLabel.Name = "nodePluginLabel"; - this.nodePluginLabel.Size = new System.Drawing.Size(87, 13); + this.nodePluginLabel.Size = new System.Drawing.Size(129, 20); this.nodePluginLabel.TabIndex = 27; this.nodePluginLabel.Text = "Plugin Info Color:"; // // nodeHexValueColorBox // this.nodeHexValueColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeHexValueColorBox.Location = new System.Drawing.Point(133, 117); + this.nodeHexValueColorBox.Location = new System.Drawing.Point(200, 180); + this.nodeHexValueColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeHexValueColorBox.Name = "nodeHexValueColorBox"; this.nodeHexValueColorBox.Size = new System.Drawing.Size(123, 20); this.nodeHexValueColorBox.TabIndex = 2; @@ -458,7 +513,8 @@ private void InitializeComponent() // nodePluginColorBox // this.nodePluginColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodePluginColorBox.Location = new System.Drawing.Point(410, 169); + this.nodePluginColorBox.Location = new System.Drawing.Point(615, 260); + this.nodePluginColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodePluginColorBox.Name = "nodePluginColorBox"; this.nodePluginColorBox.Size = new System.Drawing.Size(123, 20); this.nodePluginColorBox.TabIndex = 26; @@ -466,25 +522,28 @@ private void InitializeComponent() // nodeHexValueLabel // this.nodeHexValueLabel.AutoSize = true; - this.nodeHexValueLabel.Location = new System.Drawing.Point(9, 120); + this.nodeHexValueLabel.Location = new System.Drawing.Point(14, 185); + this.nodeHexValueLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeHexValueLabel.Name = "nodeHexValueLabel"; - this.nodeHexValueLabel.Size = new System.Drawing.Size(86, 13); + this.nodeHexValueLabel.Size = new System.Drawing.Size(127, 20); this.nodeHexValueLabel.TabIndex = 3; this.nodeHexValueLabel.Text = "Hex Value Color:"; // // nodeVTableLabel // this.nodeVTableLabel.AutoSize = true; - this.nodeVTableLabel.Location = new System.Drawing.Point(286, 94); + this.nodeVTableLabel.Location = new System.Drawing.Point(429, 145); + this.nodeVTableLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeVTableLabel.Name = "nodeVTableLabel"; - this.nodeVTableLabel.Size = new System.Drawing.Size(71, 13); + this.nodeVTableLabel.Size = new System.Drawing.Size(104, 20); this.nodeVTableLabel.TabIndex = 25; this.nodeVTableLabel.Text = "VTable Color:"; // // nodeOffsetColorBox // this.nodeOffsetColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeOffsetColorBox.Location = new System.Drawing.Point(133, 91); + this.nodeOffsetColorBox.Location = new System.Drawing.Point(200, 140); + this.nodeOffsetColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeOffsetColorBox.Name = "nodeOffsetColorBox"; this.nodeOffsetColorBox.Size = new System.Drawing.Size(123, 20); this.nodeOffsetColorBox.TabIndex = 4; @@ -492,7 +551,8 @@ private void InitializeComponent() // nodeVTableColorBox // this.nodeVTableColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeVTableColorBox.Location = new System.Drawing.Point(410, 91); + this.nodeVTableColorBox.Location = new System.Drawing.Point(615, 140); + this.nodeVTableColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeVTableColorBox.Name = "nodeVTableColorBox"; this.nodeVTableColorBox.Size = new System.Drawing.Size(123, 20); this.nodeVTableColorBox.TabIndex = 24; @@ -500,25 +560,28 @@ private void InitializeComponent() // nodeOffsetLabel // this.nodeOffsetLabel.AutoSize = true; - this.nodeOffsetLabel.Location = new System.Drawing.Point(9, 94); + this.nodeOffsetLabel.Location = new System.Drawing.Point(14, 145); + this.nodeOffsetLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeOffsetLabel.Name = "nodeOffsetLabel"; - this.nodeOffsetLabel.Size = new System.Drawing.Size(65, 13); + this.nodeOffsetLabel.Size = new System.Drawing.Size(98, 20); this.nodeOffsetLabel.TabIndex = 5; this.nodeOffsetLabel.Text = "Offset Color:"; // // nodeTextLabel // this.nodeTextLabel.AutoSize = true; - this.nodeTextLabel.Location = new System.Drawing.Point(286, 146); + this.nodeTextLabel.Location = new System.Drawing.Point(429, 225); + this.nodeTextLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeTextLabel.Name = "nodeTextLabel"; - this.nodeTextLabel.Size = new System.Drawing.Size(58, 13); + this.nodeTextLabel.Size = new System.Drawing.Size(84, 20); this.nodeTextLabel.TabIndex = 23; this.nodeTextLabel.Text = "Text Color:"; // // nodeAddressColorBox // this.nodeAddressColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeAddressColorBox.Location = new System.Drawing.Point(133, 65); + this.nodeAddressColorBox.Location = new System.Drawing.Point(200, 100); + this.nodeAddressColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeAddressColorBox.Name = "nodeAddressColorBox"; this.nodeAddressColorBox.Size = new System.Drawing.Size(123, 20); this.nodeAddressColorBox.TabIndex = 6; @@ -526,7 +589,8 @@ private void InitializeComponent() // nodeTextColorBox // this.nodeTextColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeTextColorBox.Location = new System.Drawing.Point(410, 143); + this.nodeTextColorBox.Location = new System.Drawing.Point(615, 220); + this.nodeTextColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeTextColorBox.Name = "nodeTextColorBox"; this.nodeTextColorBox.Size = new System.Drawing.Size(123, 20); this.nodeTextColorBox.TabIndex = 22; @@ -534,25 +598,28 @@ private void InitializeComponent() // nodeAddressLabel // this.nodeAddressLabel.AutoSize = true; - this.nodeAddressLabel.Location = new System.Drawing.Point(9, 68); + this.nodeAddressLabel.Location = new System.Drawing.Point(14, 105); + this.nodeAddressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeAddressLabel.Name = "nodeAddressLabel"; - this.nodeAddressLabel.Size = new System.Drawing.Size(75, 13); + this.nodeAddressLabel.Size = new System.Drawing.Size(113, 20); this.nodeAddressLabel.TabIndex = 7; this.nodeAddressLabel.Text = "Address Color:"; // // nodeCommentLabel // this.nodeCommentLabel.AutoSize = true; - this.nodeCommentLabel.Location = new System.Drawing.Point(286, 120); + this.nodeCommentLabel.Location = new System.Drawing.Point(429, 185); + this.nodeCommentLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeCommentLabel.Name = "nodeCommentLabel"; - this.nodeCommentLabel.Size = new System.Drawing.Size(81, 13); + this.nodeCommentLabel.Size = new System.Drawing.Size(123, 20); this.nodeCommentLabel.TabIndex = 21; this.nodeCommentLabel.Text = "Comment Color:"; // // nodeHiddenColorBox // this.nodeHiddenColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeHiddenColorBox.Location = new System.Drawing.Point(410, 18); + this.nodeHiddenColorBox.Location = new System.Drawing.Point(615, 28); + this.nodeHiddenColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeHiddenColorBox.Name = "nodeHiddenColorBox"; this.nodeHiddenColorBox.Size = new System.Drawing.Size(123, 20); this.nodeHiddenColorBox.TabIndex = 8; @@ -560,7 +627,8 @@ private void InitializeComponent() // nodeCommentColorBox // this.nodeCommentColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeCommentColorBox.Location = new System.Drawing.Point(410, 117); + this.nodeCommentColorBox.Location = new System.Drawing.Point(615, 180); + this.nodeCommentColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeCommentColorBox.Name = "nodeCommentColorBox"; this.nodeCommentColorBox.Size = new System.Drawing.Size(123, 20); this.nodeCommentColorBox.TabIndex = 20; @@ -568,25 +636,28 @@ private void InitializeComponent() // nodeHiddenLabel // this.nodeHiddenLabel.AutoSize = true; - this.nodeHiddenLabel.Location = new System.Drawing.Point(286, 21); + this.nodeHiddenLabel.Location = new System.Drawing.Point(429, 32); + this.nodeHiddenLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeHiddenLabel.Name = "nodeHiddenLabel"; - this.nodeHiddenLabel.Size = new System.Drawing.Size(71, 13); + this.nodeHiddenLabel.Size = new System.Drawing.Size(105, 20); this.nodeHiddenLabel.TabIndex = 9; this.nodeHiddenLabel.Text = "Hidden Color:"; // // nodeIndexLabel // this.nodeIndexLabel.AutoSize = true; - this.nodeIndexLabel.Location = new System.Drawing.Point(286, 68); + this.nodeIndexLabel.Location = new System.Drawing.Point(429, 105); + this.nodeIndexLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeIndexLabel.Name = "nodeIndexLabel"; - this.nodeIndexLabel.Size = new System.Drawing.Size(63, 13); + this.nodeIndexLabel.Size = new System.Drawing.Size(93, 20); this.nodeIndexLabel.TabIndex = 19; this.nodeIndexLabel.Text = "Index Color:"; // // nodeSelectedColorBox // this.nodeSelectedColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeSelectedColorBox.Location = new System.Drawing.Point(133, 18); + this.nodeSelectedColorBox.Location = new System.Drawing.Point(200, 28); + this.nodeSelectedColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeSelectedColorBox.Name = "nodeSelectedColorBox"; this.nodeSelectedColorBox.Size = new System.Drawing.Size(123, 20); this.nodeSelectedColorBox.TabIndex = 10; @@ -594,7 +665,8 @@ private void InitializeComponent() // nodeIndexColorBox // this.nodeIndexColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeIndexColorBox.Location = new System.Drawing.Point(410, 65); + this.nodeIndexColorBox.Location = new System.Drawing.Point(615, 100); + this.nodeIndexColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeIndexColorBox.Name = "nodeIndexColorBox"; this.nodeIndexColorBox.Size = new System.Drawing.Size(123, 20); this.nodeIndexColorBox.TabIndex = 18; @@ -602,16 +674,18 @@ private void InitializeComponent() // nodeSelectedLabel // this.nodeSelectedLabel.AutoSize = true; - this.nodeSelectedLabel.Location = new System.Drawing.Point(9, 21); + this.nodeSelectedLabel.Location = new System.Drawing.Point(14, 32); + this.nodeSelectedLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeSelectedLabel.Name = "nodeSelectedLabel"; - this.nodeSelectedLabel.Size = new System.Drawing.Size(79, 13); + this.nodeSelectedLabel.Size = new System.Drawing.Size(117, 20); this.nodeSelectedLabel.TabIndex = 11; this.nodeSelectedLabel.Text = "Selected Color:"; // // nodeTypeColorBox // this.nodeTypeColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeTypeColorBox.Location = new System.Drawing.Point(133, 143); + this.nodeTypeColorBox.Location = new System.Drawing.Point(200, 220); + this.nodeTypeColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeTypeColorBox.Name = "nodeTypeColorBox"; this.nodeTypeColorBox.Size = new System.Drawing.Size(123, 20); this.nodeTypeColorBox.TabIndex = 12; @@ -619,7 +693,8 @@ private void InitializeComponent() // nodeValueColorBox // this.nodeValueColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeValueColorBox.Location = new System.Drawing.Point(133, 195); + this.nodeValueColorBox.Location = new System.Drawing.Point(200, 300); + this.nodeValueColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeValueColorBox.Name = "nodeValueColorBox"; this.nodeValueColorBox.Size = new System.Drawing.Size(123, 20); this.nodeValueColorBox.TabIndex = 16; @@ -627,25 +702,28 @@ private void InitializeComponent() // nodeTypeLabel // this.nodeTypeLabel.AutoSize = true; - this.nodeTypeLabel.Location = new System.Drawing.Point(9, 146); + this.nodeTypeLabel.Location = new System.Drawing.Point(14, 225); + this.nodeTypeLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeTypeLabel.Name = "nodeTypeLabel"; - this.nodeTypeLabel.Size = new System.Drawing.Size(61, 13); + this.nodeTypeLabel.Size = new System.Drawing.Size(88, 20); this.nodeTypeLabel.TabIndex = 13; this.nodeTypeLabel.Text = "Type Color:"; // // nodeNameLabel // this.nodeNameLabel.AutoSize = true; - this.nodeNameLabel.Location = new System.Drawing.Point(9, 172); + this.nodeNameLabel.Location = new System.Drawing.Point(14, 265); + this.nodeNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nodeNameLabel.Name = "nodeNameLabel"; - this.nodeNameLabel.Size = new System.Drawing.Size(65, 13); + this.nodeNameLabel.Size = new System.Drawing.Size(96, 20); this.nodeNameLabel.TabIndex = 15; this.nodeNameLabel.Text = "Name Color:"; // // nodeNameColorBox // this.nodeNameColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.nodeNameColorBox.Location = new System.Drawing.Point(133, 169); + this.nodeNameColorBox.Location = new System.Drawing.Point(200, 260); + this.nodeNameColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.nodeNameColorBox.Name = "nodeNameColorBox"; this.nodeNameColorBox.Size = new System.Drawing.Size(123, 20); this.nodeNameColorBox.TabIndex = 14; @@ -653,16 +731,18 @@ private void InitializeComponent() // backgroundLabel // this.backgroundLabel.AutoSize = true; - this.backgroundLabel.Location = new System.Drawing.Point(6, 14); + this.backgroundLabel.Location = new System.Drawing.Point(9, 22); + this.backgroundLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.backgroundLabel.Name = "backgroundLabel"; - this.backgroundLabel.Size = new System.Drawing.Size(161, 13); + this.backgroundLabel.Size = new System.Drawing.Size(238, 20); this.backgroundLabel.TabIndex = 1; this.backgroundLabel.Text = "Memory View Background Color:"; // // backgroundColorBox // this.backgroundColorBox.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.backgroundColorBox.Location = new System.Drawing.Point(175, 11); + this.backgroundColorBox.Location = new System.Drawing.Point(262, 17); + this.backgroundColorBox.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.backgroundColorBox.Name = "backgroundColorBox"; this.backgroundColorBox.Size = new System.Drawing.Size(123, 20); this.backgroundColorBox.TabIndex = 0; @@ -716,410 +796,644 @@ private void InitializeComponent() this.typeDefinitionsSettingsTabPage.Controls.Add(this.int16TypeTextBox); this.typeDefinitionsSettingsTabPage.Controls.Add(this.int8SettingsLabel); this.typeDefinitionsSettingsTabPage.Controls.Add(this.int8TypeTextBox); - this.typeDefinitionsSettingsTabPage.Location = new System.Drawing.Point(4, 22); + this.typeDefinitionsSettingsTabPage.Location = new System.Drawing.Point(4, 29); + this.typeDefinitionsSettingsTabPage.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.typeDefinitionsSettingsTabPage.Name = "typeDefinitionsSettingsTabPage"; - this.typeDefinitionsSettingsTabPage.Padding = new System.Windows.Forms.Padding(3); - this.typeDefinitionsSettingsTabPage.Size = new System.Drawing.Size(554, 329); + this.typeDefinitionsSettingsTabPage.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.typeDefinitionsSettingsTabPage.Size = new System.Drawing.Size(835, 513); this.typeDefinitionsSettingsTabPage.TabIndex = 2; this.typeDefinitionsSettingsTabPage.Text = "Type Definitions"; this.typeDefinitionsSettingsTabPage.UseVisualStyleBackColor = true; // + // utf32TextSettingsLabel + // + this.utf32TextSettingsLabel.AutoSize = true; + this.utf32TextSettingsLabel.Location = new System.Drawing.Point(381, 358); + this.utf32TextSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.utf32TextSettingsLabel.Name = "utf32TextSettingsLabel"; + this.utf32TextSettingsLabel.Size = new System.Drawing.Size(62, 20); + this.utf32TextSettingsLabel.TabIndex = 52; + this.utf32TextSettingsLabel.Text = "UTF32:"; + // + // utf32TextTypeTextBox + // + this.utf32TextTypeTextBox.Location = new System.Drawing.Point(519, 354); + this.utf32TextTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.utf32TextTypeTextBox.Name = "utf32TextTypeTextBox"; + this.utf32TextTypeTextBox.Size = new System.Drawing.Size(178, 26); + this.utf32TextTypeTextBox.TabIndex = 51; + // // nuintSettingsLabel // this.nuintSettingsLabel.AutoSize = true; - this.nuintSettingsLabel.Location = new System.Drawing.Point(6, 233); + this.nuintSettingsLabel.Location = new System.Drawing.Point(9, 358); + this.nuintSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nuintSettingsLabel.Name = "nuintSettingsLabel"; - this.nuintSettingsLabel.Size = new System.Drawing.Size(38, 13); + this.nuintSettingsLabel.Size = new System.Drawing.Size(55, 20); this.nuintSettingsLabel.TabIndex = 50; this.nuintSettingsLabel.Text = "NUInt:"; // // nuintTypeTextBox // - this.nuintTypeTextBox.Location = new System.Drawing.Point(98, 230); + this.nuintTypeTextBox.Location = new System.Drawing.Point(147, 354); + this.nuintTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.nuintTypeTextBox.Name = "nuintTypeTextBox"; - this.nuintTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.nuintTypeTextBox.Size = new System.Drawing.Size(178, 26); this.nuintTypeTextBox.TabIndex = 49; // // nintSettingsLabel // this.nintSettingsLabel.AutoSize = true; - this.nintSettingsLabel.Location = new System.Drawing.Point(6, 123); + this.nintSettingsLabel.Location = new System.Drawing.Point(9, 189); + this.nintSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.nintSettingsLabel.Name = "nintSettingsLabel"; - this.nintSettingsLabel.Size = new System.Drawing.Size(30, 13); + this.nintSettingsLabel.Size = new System.Drawing.Size(43, 20); this.nintSettingsLabel.TabIndex = 48; this.nintSettingsLabel.Text = "NInt:"; // // nintTypeTextBox // - this.nintTypeTextBox.Location = new System.Drawing.Point(98, 120); + this.nintTypeTextBox.Location = new System.Drawing.Point(147, 185); + this.nintTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.nintTypeTextBox.Name = "nintTypeTextBox"; - this.nintTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.nintTypeTextBox.Size = new System.Drawing.Size(178, 26); this.nintTypeTextBox.TabIndex = 47; // // boolSettingsLabel // this.boolSettingsLabel.AutoSize = true; - this.boolSettingsLabel.Location = new System.Drawing.Point(254, 35); + this.boolSettingsLabel.Location = new System.Drawing.Point(381, 54); + this.boolSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.boolSettingsLabel.Name = "boolSettingsLabel"; - this.boolSettingsLabel.Size = new System.Drawing.Size(31, 13); + this.boolSettingsLabel.Size = new System.Drawing.Size(45, 20); this.boolSettingsLabel.TabIndex = 46; this.boolSettingsLabel.Text = "Bool:"; // // boolTypeTextBox // - this.boolTypeTextBox.Location = new System.Drawing.Point(346, 32); + this.boolTypeTextBox.Location = new System.Drawing.Point(519, 49); + this.boolTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.boolTypeTextBox.Name = "boolTypeTextBox"; - this.boolTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.boolTypeTextBox.Size = new System.Drawing.Size(178, 26); this.boolTypeTextBox.TabIndex = 45; // // generatorInfoLabel // this.generatorInfoLabel.AutoSize = true; - this.generatorInfoLabel.Location = new System.Drawing.Point(6, 6); + this.generatorInfoLabel.Location = new System.Drawing.Point(9, 9); + this.generatorInfoLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.generatorInfoLabel.Name = "generatorInfoLabel"; - this.generatorInfoLabel.Size = new System.Drawing.Size(236, 13); + this.generatorInfoLabel.Size = new System.Drawing.Size(350, 20); this.generatorInfoLabel.TabIndex = 44; this.generatorInfoLabel.Text = "These types are used to generate the C++ code:"; // // functionPtrSettingsLabel // this.functionPtrSettingsLabel.AutoSize = true; - this.functionPtrSettingsLabel.Location = new System.Drawing.Point(254, 255); + this.functionPtrSettingsLabel.Location = new System.Drawing.Point(381, 392); + this.functionPtrSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.functionPtrSettingsLabel.Name = "functionPtrSettingsLabel"; - this.functionPtrSettingsLabel.Size = new System.Drawing.Size(87, 13); + this.functionPtrSettingsLabel.Size = new System.Drawing.Size(129, 20); this.functionPtrSettingsLabel.TabIndex = 43; this.functionPtrSettingsLabel.Text = "Function Pointer:"; // // functionPtrTypeTextBox // - this.functionPtrTypeTextBox.Location = new System.Drawing.Point(346, 252); + this.functionPtrTypeTextBox.Location = new System.Drawing.Point(519, 388); + this.functionPtrTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.functionPtrTypeTextBox.Name = "functionPtrTypeTextBox"; - this.functionPtrTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.functionPtrTypeTextBox.Size = new System.Drawing.Size(178, 26); this.functionPtrTypeTextBox.TabIndex = 42; // // utf16TextSettingsLabel // this.utf16TextSettingsLabel.AutoSize = true; - this.utf16TextSettingsLabel.Location = new System.Drawing.Point(254, 211); + this.utf16TextSettingsLabel.Location = new System.Drawing.Point(381, 325); + this.utf16TextSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.utf16TextSettingsLabel.Name = "utf16TextSettingsLabel"; - this.utf16TextSettingsLabel.Size = new System.Drawing.Size(43, 13); + this.utf16TextSettingsLabel.Size = new System.Drawing.Size(62, 20); this.utf16TextSettingsLabel.TabIndex = 39; this.utf16TextSettingsLabel.Text = "UTF16:"; // // utf16TextTypeTextBox // - this.utf16TextTypeTextBox.Location = new System.Drawing.Point(346, 208); + this.utf16TextTypeTextBox.Location = new System.Drawing.Point(519, 320); + this.utf16TextTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.utf16TextTypeTextBox.Name = "utf16TextTypeTextBox"; - this.utf16TextTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.utf16TextTypeTextBox.Size = new System.Drawing.Size(178, 26); this.utf16TextTypeTextBox.TabIndex = 38; // // utf8TextSettingsLabel // this.utf8TextSettingsLabel.AutoSize = true; - this.utf8TextSettingsLabel.Location = new System.Drawing.Point(254, 189); + this.utf8TextSettingsLabel.Location = new System.Drawing.Point(381, 291); + this.utf8TextSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.utf8TextSettingsLabel.Name = "utf8TextSettingsLabel"; - this.utf8TextSettingsLabel.Size = new System.Drawing.Size(37, 13); + this.utf8TextSettingsLabel.Size = new System.Drawing.Size(53, 20); this.utf8TextSettingsLabel.TabIndex = 35; this.utf8TextSettingsLabel.Text = "UTF8:"; // // utf8TextTypeTextBox // - this.utf8TextTypeTextBox.Location = new System.Drawing.Point(346, 186); + this.utf8TextTypeTextBox.Location = new System.Drawing.Point(519, 286); + this.utf8TextTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.utf8TextTypeTextBox.Name = "utf8TextTypeTextBox"; - this.utf8TextTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.utf8TextTypeTextBox.Size = new System.Drawing.Size(178, 26); this.utf8TextTypeTextBox.TabIndex = 34; // // matrix3x3SettingsLabel // this.matrix3x3SettingsLabel.AutoSize = true; - this.matrix3x3SettingsLabel.Location = new System.Drawing.Point(254, 123); + this.matrix3x3SettingsLabel.Location = new System.Drawing.Point(381, 189); + this.matrix3x3SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.matrix3x3SettingsLabel.Name = "matrix3x3SettingsLabel"; - this.matrix3x3SettingsLabel.Size = new System.Drawing.Size(64, 13); + this.matrix3x3SettingsLabel.Size = new System.Drawing.Size(94, 20); this.matrix3x3SettingsLabel.TabIndex = 33; this.matrix3x3SettingsLabel.Text = "Matrix (3x3):"; // // matrix3x3TypeTextBox // - this.matrix3x3TypeTextBox.Location = new System.Drawing.Point(346, 120); + this.matrix3x3TypeTextBox.Location = new System.Drawing.Point(519, 185); + this.matrix3x3TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.matrix3x3TypeTextBox.Name = "matrix3x3TypeTextBox"; - this.matrix3x3TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.matrix3x3TypeTextBox.Size = new System.Drawing.Size(178, 26); this.matrix3x3TypeTextBox.TabIndex = 32; // // matrix3x4SettingsLabel // this.matrix3x4SettingsLabel.AutoSize = true; - this.matrix3x4SettingsLabel.Location = new System.Drawing.Point(254, 145); + this.matrix3x4SettingsLabel.Location = new System.Drawing.Point(381, 223); + this.matrix3x4SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.matrix3x4SettingsLabel.Name = "matrix3x4SettingsLabel"; - this.matrix3x4SettingsLabel.Size = new System.Drawing.Size(64, 13); + this.matrix3x4SettingsLabel.Size = new System.Drawing.Size(94, 20); this.matrix3x4SettingsLabel.TabIndex = 31; this.matrix3x4SettingsLabel.Text = "Matrix (3x4):"; // // matrix3x4TypeTextBox // - this.matrix3x4TypeTextBox.Location = new System.Drawing.Point(346, 142); + this.matrix3x4TypeTextBox.Location = new System.Drawing.Point(519, 218); + this.matrix3x4TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.matrix3x4TypeTextBox.Name = "matrix3x4TypeTextBox"; - this.matrix3x4TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.matrix3x4TypeTextBox.Size = new System.Drawing.Size(178, 26); this.matrix3x4TypeTextBox.TabIndex = 30; // // matrix4x4SettingsLabel // this.matrix4x4SettingsLabel.AutoSize = true; - this.matrix4x4SettingsLabel.Location = new System.Drawing.Point(254, 167); + this.matrix4x4SettingsLabel.Location = new System.Drawing.Point(381, 257); + this.matrix4x4SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.matrix4x4SettingsLabel.Name = "matrix4x4SettingsLabel"; - this.matrix4x4SettingsLabel.Size = new System.Drawing.Size(64, 13); + this.matrix4x4SettingsLabel.Size = new System.Drawing.Size(94, 20); this.matrix4x4SettingsLabel.TabIndex = 29; this.matrix4x4SettingsLabel.Text = "Matrix (4x4):"; // // matrix4x4TypeTextBox // - this.matrix4x4TypeTextBox.Location = new System.Drawing.Point(346, 164); + this.matrix4x4TypeTextBox.Location = new System.Drawing.Point(519, 252); + this.matrix4x4TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.matrix4x4TypeTextBox.Name = "matrix4x4TypeTextBox"; - this.matrix4x4TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.matrix4x4TypeTextBox.Size = new System.Drawing.Size(178, 26); this.matrix4x4TypeTextBox.TabIndex = 28; // // vector2SettingsLabel // this.vector2SettingsLabel.AutoSize = true; - this.vector2SettingsLabel.Location = new System.Drawing.Point(254, 57); + this.vector2SettingsLabel.Location = new System.Drawing.Point(381, 88); + this.vector2SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.vector2SettingsLabel.Name = "vector2SettingsLabel"; - this.vector2SettingsLabel.Size = new System.Drawing.Size(47, 13); + this.vector2SettingsLabel.Size = new System.Drawing.Size(69, 20); this.vector2SettingsLabel.TabIndex = 27; this.vector2SettingsLabel.Text = "Vector2:"; // // vector2TypeTextBox // - this.vector2TypeTextBox.Location = new System.Drawing.Point(346, 54); + this.vector2TypeTextBox.Location = new System.Drawing.Point(519, 83); + this.vector2TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.vector2TypeTextBox.Name = "vector2TypeTextBox"; - this.vector2TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.vector2TypeTextBox.Size = new System.Drawing.Size(178, 26); this.vector2TypeTextBox.TabIndex = 26; // // vector3SettingsLabel // this.vector3SettingsLabel.AutoSize = true; - this.vector3SettingsLabel.Location = new System.Drawing.Point(254, 79); + this.vector3SettingsLabel.Location = new System.Drawing.Point(381, 122); + this.vector3SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.vector3SettingsLabel.Name = "vector3SettingsLabel"; - this.vector3SettingsLabel.Size = new System.Drawing.Size(47, 13); + this.vector3SettingsLabel.Size = new System.Drawing.Size(69, 20); this.vector3SettingsLabel.TabIndex = 25; this.vector3SettingsLabel.Text = "Vector3:"; // // vector3TypeTextBox // - this.vector3TypeTextBox.Location = new System.Drawing.Point(346, 76); + this.vector3TypeTextBox.Location = new System.Drawing.Point(519, 117); + this.vector3TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.vector3TypeTextBox.Name = "vector3TypeTextBox"; - this.vector3TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.vector3TypeTextBox.Size = new System.Drawing.Size(178, 26); this.vector3TypeTextBox.TabIndex = 24; // // vector4SettingsLabel // this.vector4SettingsLabel.AutoSize = true; - this.vector4SettingsLabel.Location = new System.Drawing.Point(254, 101); + this.vector4SettingsLabel.Location = new System.Drawing.Point(381, 155); + this.vector4SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.vector4SettingsLabel.Name = "vector4SettingsLabel"; - this.vector4SettingsLabel.Size = new System.Drawing.Size(47, 13); + this.vector4SettingsLabel.Size = new System.Drawing.Size(69, 20); this.vector4SettingsLabel.TabIndex = 23; this.vector4SettingsLabel.Text = "Vector4:"; // // vector4TypeTextBox // - this.vector4TypeTextBox.Location = new System.Drawing.Point(346, 98); + this.vector4TypeTextBox.Location = new System.Drawing.Point(519, 151); + this.vector4TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.vector4TypeTextBox.Name = "vector4TypeTextBox"; - this.vector4TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.vector4TypeTextBox.Size = new System.Drawing.Size(178, 26); this.vector4TypeTextBox.TabIndex = 22; // // doubleSettingsLabel // this.doubleSettingsLabel.AutoSize = true; - this.doubleSettingsLabel.Location = new System.Drawing.Point(6, 277); + this.doubleSettingsLabel.Location = new System.Drawing.Point(9, 426); + this.doubleSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.doubleSettingsLabel.Name = "doubleSettingsLabel"; - this.doubleSettingsLabel.Size = new System.Drawing.Size(44, 13); + this.doubleSettingsLabel.Size = new System.Drawing.Size(64, 20); this.doubleSettingsLabel.TabIndex = 21; this.doubleSettingsLabel.Text = "Double:"; // // doubleTypeTextBox // - this.doubleTypeTextBox.Location = new System.Drawing.Point(98, 274); + this.doubleTypeTextBox.Location = new System.Drawing.Point(147, 422); + this.doubleTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.doubleTypeTextBox.Name = "doubleTypeTextBox"; - this.doubleTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.doubleTypeTextBox.Size = new System.Drawing.Size(178, 26); this.doubleTypeTextBox.TabIndex = 20; // // floatSettingsLabel // this.floatSettingsLabel.AutoSize = true; - this.floatSettingsLabel.Location = new System.Drawing.Point(6, 255); + this.floatSettingsLabel.Location = new System.Drawing.Point(9, 392); + this.floatSettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.floatSettingsLabel.Name = "floatSettingsLabel"; - this.floatSettingsLabel.Size = new System.Drawing.Size(33, 13); + this.floatSettingsLabel.Size = new System.Drawing.Size(49, 20); this.floatSettingsLabel.TabIndex = 19; this.floatSettingsLabel.Text = "Float:"; // // floatTypeTextBox // - this.floatTypeTextBox.Location = new System.Drawing.Point(98, 252); + this.floatTypeTextBox.Location = new System.Drawing.Point(147, 388); + this.floatTypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.floatTypeTextBox.Name = "floatTypeTextBox"; - this.floatTypeTextBox.Size = new System.Drawing.Size(120, 20); + this.floatTypeTextBox.Size = new System.Drawing.Size(178, 26); this.floatTypeTextBox.TabIndex = 18; // // uint64SettingsLabel // this.uint64SettingsLabel.AutoSize = true; - this.uint64SettingsLabel.Location = new System.Drawing.Point(6, 211); + this.uint64SettingsLabel.Location = new System.Drawing.Point(9, 325); + this.uint64SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.uint64SettingsLabel.Name = "uint64SettingsLabel"; - this.uint64SettingsLabel.Size = new System.Drawing.Size(42, 13); + this.uint64SettingsLabel.Size = new System.Drawing.Size(62, 20); this.uint64SettingsLabel.TabIndex = 17; this.uint64SettingsLabel.Text = "UInt64:"; // // uint64TypeTextBox // - this.uint64TypeTextBox.Location = new System.Drawing.Point(98, 208); + this.uint64TypeTextBox.Location = new System.Drawing.Point(147, 320); + this.uint64TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uint64TypeTextBox.Name = "uint64TypeTextBox"; - this.uint64TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.uint64TypeTextBox.Size = new System.Drawing.Size(178, 26); this.uint64TypeTextBox.TabIndex = 16; // // uint32SettingsLabel // this.uint32SettingsLabel.AutoSize = true; - this.uint32SettingsLabel.Location = new System.Drawing.Point(6, 189); + this.uint32SettingsLabel.Location = new System.Drawing.Point(9, 291); + this.uint32SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.uint32SettingsLabel.Name = "uint32SettingsLabel"; - this.uint32SettingsLabel.Size = new System.Drawing.Size(42, 13); + this.uint32SettingsLabel.Size = new System.Drawing.Size(62, 20); this.uint32SettingsLabel.TabIndex = 15; this.uint32SettingsLabel.Text = "UInt32:"; // // uint32TypeTextBox // - this.uint32TypeTextBox.Location = new System.Drawing.Point(98, 186); + this.uint32TypeTextBox.Location = new System.Drawing.Point(147, 286); + this.uint32TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uint32TypeTextBox.Name = "uint32TypeTextBox"; - this.uint32TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.uint32TypeTextBox.Size = new System.Drawing.Size(178, 26); this.uint32TypeTextBox.TabIndex = 14; // // uint16SettingsLabel // this.uint16SettingsLabel.AutoSize = true; - this.uint16SettingsLabel.Location = new System.Drawing.Point(6, 167); + this.uint16SettingsLabel.Location = new System.Drawing.Point(9, 257); + this.uint16SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.uint16SettingsLabel.Name = "uint16SettingsLabel"; - this.uint16SettingsLabel.Size = new System.Drawing.Size(42, 13); + this.uint16SettingsLabel.Size = new System.Drawing.Size(62, 20); this.uint16SettingsLabel.TabIndex = 13; this.uint16SettingsLabel.Text = "UInt16:"; // // uint16TypeTextBox // - this.uint16TypeTextBox.Location = new System.Drawing.Point(98, 164); + this.uint16TypeTextBox.Location = new System.Drawing.Point(147, 252); + this.uint16TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uint16TypeTextBox.Name = "uint16TypeTextBox"; - this.uint16TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.uint16TypeTextBox.Size = new System.Drawing.Size(178, 26); this.uint16TypeTextBox.TabIndex = 12; // // uint8SettingsLabel // this.uint8SettingsLabel.AutoSize = true; - this.uint8SettingsLabel.Location = new System.Drawing.Point(6, 145); + this.uint8SettingsLabel.Location = new System.Drawing.Point(9, 223); + this.uint8SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.uint8SettingsLabel.Name = "uint8SettingsLabel"; - this.uint8SettingsLabel.Size = new System.Drawing.Size(36, 13); + this.uint8SettingsLabel.Size = new System.Drawing.Size(53, 20); this.uint8SettingsLabel.TabIndex = 11; this.uint8SettingsLabel.Text = "UInt8:"; // // uint8TypeTextBox // - this.uint8TypeTextBox.Location = new System.Drawing.Point(98, 142); + this.uint8TypeTextBox.Location = new System.Drawing.Point(147, 218); + this.uint8TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uint8TypeTextBox.Name = "uint8TypeTextBox"; - this.uint8TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.uint8TypeTextBox.Size = new System.Drawing.Size(178, 26); this.uint8TypeTextBox.TabIndex = 10; // // int64SettingsLabel // this.int64SettingsLabel.AutoSize = true; - this.int64SettingsLabel.Location = new System.Drawing.Point(6, 101); + this.int64SettingsLabel.Location = new System.Drawing.Point(9, 155); + this.int64SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.int64SettingsLabel.Name = "int64SettingsLabel"; - this.int64SettingsLabel.Size = new System.Drawing.Size(34, 13); + this.int64SettingsLabel.Size = new System.Drawing.Size(50, 20); this.int64SettingsLabel.TabIndex = 9; this.int64SettingsLabel.Text = "Int64:"; // // int64TypeTextBox // - this.int64TypeTextBox.Location = new System.Drawing.Point(98, 98); + this.int64TypeTextBox.Location = new System.Drawing.Point(147, 151); + this.int64TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.int64TypeTextBox.Name = "int64TypeTextBox"; - this.int64TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.int64TypeTextBox.Size = new System.Drawing.Size(178, 26); this.int64TypeTextBox.TabIndex = 8; // // int32SettingsLabel // this.int32SettingsLabel.AutoSize = true; - this.int32SettingsLabel.Location = new System.Drawing.Point(6, 79); + this.int32SettingsLabel.Location = new System.Drawing.Point(9, 122); + this.int32SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.int32SettingsLabel.Name = "int32SettingsLabel"; - this.int32SettingsLabel.Size = new System.Drawing.Size(34, 13); + this.int32SettingsLabel.Size = new System.Drawing.Size(50, 20); this.int32SettingsLabel.TabIndex = 7; this.int32SettingsLabel.Text = "Int32:"; // // int32TypeTextBox // - this.int32TypeTextBox.Location = new System.Drawing.Point(98, 76); + this.int32TypeTextBox.Location = new System.Drawing.Point(147, 117); + this.int32TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.int32TypeTextBox.Name = "int32TypeTextBox"; - this.int32TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.int32TypeTextBox.Size = new System.Drawing.Size(178, 26); this.int32TypeTextBox.TabIndex = 6; // // int16SettingsLabel // this.int16SettingsLabel.AutoSize = true; - this.int16SettingsLabel.Location = new System.Drawing.Point(6, 57); + this.int16SettingsLabel.Location = new System.Drawing.Point(9, 88); + this.int16SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.int16SettingsLabel.Name = "int16SettingsLabel"; - this.int16SettingsLabel.Size = new System.Drawing.Size(34, 13); + this.int16SettingsLabel.Size = new System.Drawing.Size(50, 20); this.int16SettingsLabel.TabIndex = 5; this.int16SettingsLabel.Text = "Int16:"; // // int16TypeTextBox // - this.int16TypeTextBox.Location = new System.Drawing.Point(98, 54); + this.int16TypeTextBox.Location = new System.Drawing.Point(147, 83); + this.int16TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.int16TypeTextBox.Name = "int16TypeTextBox"; - this.int16TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.int16TypeTextBox.Size = new System.Drawing.Size(178, 26); this.int16TypeTextBox.TabIndex = 4; // // int8SettingsLabel // this.int8SettingsLabel.AutoSize = true; - this.int8SettingsLabel.Location = new System.Drawing.Point(6, 35); + this.int8SettingsLabel.Location = new System.Drawing.Point(9, 54); + this.int8SettingsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.int8SettingsLabel.Name = "int8SettingsLabel"; - this.int8SettingsLabel.Size = new System.Drawing.Size(28, 13); + this.int8SettingsLabel.Size = new System.Drawing.Size(41, 20); this.int8SettingsLabel.TabIndex = 3; this.int8SettingsLabel.Text = "Int8:"; // // int8TypeTextBox // - this.int8TypeTextBox.Location = new System.Drawing.Point(98, 32); + this.int8TypeTextBox.Location = new System.Drawing.Point(147, 49); + this.int8TypeTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.int8TypeTextBox.Name = "int8TypeTextBox"; - this.int8TypeTextBox.Size = new System.Drawing.Size(120, 20); + this.int8TypeTextBox.Size = new System.Drawing.Size(178, 26); this.int8TypeTextBox.TabIndex = 2; // + // fontSizingSettingsTabPage + // + this.fontSizingSettingsTabPage.Controls.Add(this.groupBox3); + this.fontSizingSettingsTabPage.Controls.Add(this.groupBox2); + this.fontSizingSettingsTabPage.Controls.Add(this.groupBox1); + this.fontSizingSettingsTabPage.Location = new System.Drawing.Point(4, 29); + this.fontSizingSettingsTabPage.Name = "fontSizingSettingsTabPage"; + this.fontSizingSettingsTabPage.Size = new System.Drawing.Size(835, 513); + this.fontSizingSettingsTabPage.TabIndex = 3; + this.fontSizingSettingsTabPage.Text = "Font Sizing"; + this.fontSizingSettingsTabPage.UseVisualStyleBackColor = true; + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.toolStripSizeUpDown); + this.groupBox3.Controls.Add(this.label5); + this.groupBox3.Location = new System.Drawing.Point(479, 3); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(232, 152); + this.groupBox3.TabIndex = 14; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "Tool Bar"; + // + // toolStripSizeUpDown + // + this.toolStripSizeUpDown.Location = new System.Drawing.Point(56, 49); + this.toolStripSizeUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.toolStripSizeUpDown.Name = "toolStripSizeUpDown"; + this.toolStripSizeUpDown.Size = new System.Drawing.Size(53, 26); + this.toolStripSizeUpDown.TabIndex = 12; + this.toolStripSizeUpDown.Value = new decimal(new int[] { + 24, + 0, + 0, + 0}); + this.toolStripSizeUpDown.ValueChanged += new System.EventHandler(this.toolStripSizeUpDown_ValueChanged); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(6, 51); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(44, 20); + this.label5.TabIndex = 13; + this.label5.Text = "Size:"; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Controls.Add(this.projectViewFontUpDown); + this.groupBox2.Location = new System.Drawing.Point(241, 3); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(232, 152); + this.groupBox2.TabIndex = 12; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Project View"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(6, 63); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(81, 20); + this.label4.TabIndex = 10; + this.label4.Text = "Font Size:"; + // + // projectViewFontUpDown + // + this.projectViewFontUpDown.Location = new System.Drawing.Point(110, 61); + this.projectViewFontUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.projectViewFontUpDown.Name = "projectViewFontUpDown"; + this.projectViewFontUpDown.Size = new System.Drawing.Size(53, 26); + this.projectViewFontUpDown.TabIndex = 11; + this.projectViewFontUpDown.Value = new decimal(new int[] { + 8, + 0, + 0, + 0}); + this.projectViewFontUpDown.ValueChanged += new System.EventHandler(this.projectViewFontUpDown_ValueChanged); + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.memoryViewPadYUpDown); + this.groupBox1.Controls.Add(this.memoryViewPadXUpDown); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label1); + this.groupBox1.Controls.Add(this.memoryViewfontUpDown); + this.groupBox1.Location = new System.Drawing.Point(3, 3); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(232, 152); + this.groupBox1.TabIndex = 9; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Memory View"; + // + // memoryViewPadYUpDown + // + this.memoryViewPadYUpDown.Location = new System.Drawing.Point(110, 92); + this.memoryViewPadYUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.memoryViewPadYUpDown.Name = "memoryViewPadYUpDown"; + this.memoryViewPadYUpDown.Size = new System.Drawing.Size(60, 26); + this.memoryViewPadYUpDown.TabIndex = 12; + this.memoryViewPadYUpDown.Value = new decimal(new int[] { + 16, + 0, + 0, + 0}); + this.memoryViewPadYUpDown.ValueChanged += new System.EventHandler(this.paddingYUpDown_ValueChanged); + // + // memoryViewPadXUpDown + // + this.memoryViewPadXUpDown.Location = new System.Drawing.Point(110, 63); + this.memoryViewPadXUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.memoryViewPadXUpDown.Name = "memoryViewPadXUpDown"; + this.memoryViewPadXUpDown.Size = new System.Drawing.Size(60, 26); + this.memoryViewPadXUpDown.TabIndex = 11; + this.memoryViewPadXUpDown.Value = new decimal(new int[] { + 8, + 0, + 0, + 0}); + this.memoryViewPadXUpDown.ValueChanged += new System.EventHandler(this.paddingXUpDown_ValueChanged); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(6, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(86, 20); + this.label3.TabIndex = 10; + this.label3.Text = "Padding Y:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 63); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(86, 20); + this.label2.TabIndex = 9; + this.label2.Text = "Padding X:"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 36); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(81, 20); + this.label1.TabIndex = 8; + this.label1.Text = "Font Size:"; + // + // memoryViewfontUpDown + // + this.memoryViewfontUpDown.Location = new System.Drawing.Point(110, 34); + this.memoryViewfontUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.memoryViewfontUpDown.Name = "memoryViewfontUpDown"; + this.memoryViewfontUpDown.Size = new System.Drawing.Size(60, 26); + this.memoryViewfontUpDown.TabIndex = 7; + this.memoryViewfontUpDown.Value = new decimal(new int[] { + 13, + 0, + 0, + 0}); + this.memoryViewfontUpDown.ValueChanged += new System.EventHandler(this.fontSizeUpDown_ValueChanged); + // // bannerBox // this.bannerBox.Dock = System.Windows.Forms.DockStyle.Top; this.bannerBox.Icon = global::ReClassNET.Properties.Resources.B32x32_Cogs; this.bannerBox.Location = new System.Drawing.Point(0, 0); + this.bannerBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.bannerBox.Name = "bannerBox"; - this.bannerBox.Size = new System.Drawing.Size(586, 48); + this.bannerBox.Size = new System.Drawing.Size(879, 48); this.bannerBox.TabIndex = 2; this.bannerBox.Text = "Configure the global settings."; this.bannerBox.Title = "Settings"; // - // utf32TextSettingsLabel - // - this.utf32TextSettingsLabel.AutoSize = true; - this.utf32TextSettingsLabel.Location = new System.Drawing.Point(254, 233); - this.utf32TextSettingsLabel.Name = "utf32TextSettingsLabel"; - this.utf32TextSettingsLabel.Size = new System.Drawing.Size(43, 13); - this.utf32TextSettingsLabel.TabIndex = 52; - this.utf32TextSettingsLabel.Text = "UTF32:"; - // - // utf32TextTypeTextBox - // - this.utf32TextTypeTextBox.Location = new System.Drawing.Point(346, 230); - this.utf32TextTypeTextBox.Name = "utf32TextTypeTextBox"; - this.utf32TextTypeTextBox.Size = new System.Drawing.Size(120, 20); - this.utf32TextTypeTextBox.TabIndex = 51; - // // SettingsForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(586, 427); + this.ClientSize = new System.Drawing.Size(879, 657); this.Controls.Add(this.bannerBox); this.Controls.Add(this.settingsTabControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SettingsForm"; @@ -1140,6 +1454,18 @@ private void InitializeComponent() this.nodeColorGroupBox.PerformLayout(); this.typeDefinitionsSettingsTabPage.ResumeLayout(false); this.typeDefinitionsSettingsTabPage.PerformLayout(); + this.fontSizingSettingsTabPage.ResumeLayout(false); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.toolStripSizeUpDown)).EndInit(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.projectViewFontUpDown)).EndInit(); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewPadYUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewPadXUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.memoryViewfontUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bannerBox)).EndInit(); this.ResumeLayout(false); @@ -1247,5 +1573,19 @@ private void InitializeComponent() private System.Windows.Forms.TextBox nintTypeTextBox; private System.Windows.Forms.Label utf32TextSettingsLabel; private System.Windows.Forms.TextBox utf32TextTypeTextBox; + private System.Windows.Forms.TabPage fontSizingSettingsTabPage; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown memoryViewfontUpDown; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.NumericUpDown memoryViewPadYUpDown; + private System.Windows.Forms.NumericUpDown memoryViewPadXUpDown; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown projectViewFontUpDown; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.NumericUpDown toolStripSizeUpDown; + private System.Windows.Forms.Label label5; } } \ No newline at end of file diff --git a/ReClass.NET/Forms/SettingsForm.cs b/ReClass.NET/Forms/SettingsForm.cs index fcc4121e..a3bcff11 100644 --- a/ReClass.NET/Forms/SettingsForm.cs +++ b/ReClass.NET/Forms/SettingsForm.cs @@ -1,5 +1,6 @@ using System; using System.Diagnostics.Contracts; +using System.Drawing; using System.Windows.Forms; using ReClassNET.Controls; using ReClassNET.Extensions; @@ -14,16 +15,23 @@ public partial class SettingsForm : IconForm { private readonly Settings settings; private readonly CppTypeMapping typeMapping; + private MemoryViewControl memoryViewControl; + private ProjectView projectView; + private ToolStrip toolStrip; public TabControl SettingsTabControl => settingsTabControl; - public SettingsForm(Settings settings, CppTypeMapping typeMapping) + public SettingsForm(Settings settings, CppTypeMapping typeMapping, + MemoryViewControl memoryViewControl, ProjectView projectView, ToolStrip toolStrip) { Contract.Requires(settings != null); Contract.Requires(typeMapping != null); this.settings = settings; this.typeMapping = typeMapping; + this.memoryViewControl = memoryViewControl; + this.projectView = projectView; + this.toolStrip = toolStrip; InitializeComponent(); @@ -106,6 +114,11 @@ private void SetGeneralBindings() SetBinding(showPluginInfoCheckBox, nameof(CheckBox.Checked), settings, nameof(Settings.ShowCommentPluginInfo)); SetBinding(runAsAdminCheckBox, nameof(CheckBox.Checked), settings, nameof(Settings.RunAsAdmin)); SetBinding(randomizeWindowTitleCheckBox, nameof(CheckBox.Checked), settings, nameof(Settings.RandomizeWindowTitle)); + SetBinding(memoryViewfontUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.MemoryViewFont)); + SetBinding(memoryViewPadXUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.MemoryViewFontPadX)); + SetBinding(memoryViewPadYUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.MemoryViewFontPadY)); + SetBinding(projectViewFontUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.ProjectViewFont)); + SetBinding(toolStripSizeUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.ToolStipSize)); } private void SetColorBindings() @@ -153,5 +166,75 @@ private void SetTypeDefinitionBindings() SetBinding(utf32TextTypeTextBox, nameof(TextBox.Text), typeMapping, nameof(CppTypeMapping.TypeUtf32Text)); SetBinding(functionPtrTypeTextBox, nameof(TextBox.Text), typeMapping, nameof(CppTypeMapping.TypeFunctionPtr)); } + + private void fontSizeUpDown_ValueChanged(object sender, EventArgs e) + { + var val = (int)(sender as NumericUpDown).Value; + + memoryViewControl.font = new FontEx + { + Font = new Font("Courier New", DpiUtil.ScaleIntX(val), GraphicsUnit.Pixel), + Width = memoryViewControl.font.Width, + Height = memoryViewControl.font.Height + }; + + memoryViewControl.hotSpotEditBox.Font = memoryViewControl.font; + memoryViewControl.IconScale = val; + } + + private void paddingXUpDown_ValueChanged(object sender, EventArgs e) + { + var val = (int)(sender as NumericUpDown).Value; + + memoryViewControl.font = new FontEx + { + Font = memoryViewControl.font.Font, + Width = DpiUtil.ScaleIntX(val), + Height = memoryViewControl.font.Height + }; + + memoryViewControl.hotSpotEditBox.Font = memoryViewControl.font; + } + + private void paddingYUpDown_ValueChanged(object sender, EventArgs e) + { + var val = (int)(sender as NumericUpDown).Value; + + memoryViewControl.font = new FontEx + { + Font = memoryViewControl.font.Font, + Width = memoryViewControl.font.Width, + Height = DpiUtil.ScaleIntY(val) + }; + + memoryViewControl.hotSpotEditBox.Font = memoryViewControl.font; + } + + private void projectViewFontUpDown_ValueChanged(object sender, EventArgs e) + { + int imageSizeChange = 1; + var val = (int)(sender as NumericUpDown).Value; + + if(settings.ProjectViewFont > val) + { + imageSizeChange = -1; + } + + projectView.Font = new System.Drawing.Font("Microsoft Sans Serif", val, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + + int imageSize = projectView.projectTreeView.ImageList.ImageSize.Height; + projectView.projectTreeView.ImageList = new ImageList(); + projectView.projectTreeView.ImageList.ImageSize = new System.Drawing.Size(imageSize += imageSizeChange, imageSize += imageSizeChange); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Text_List_Bullets); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Class_Type); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Category); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Enum_Type); + } + + private void toolStripSizeUpDown_ValueChanged(object sender, EventArgs e) + { + var val = (int)(sender as NumericUpDown).Value; + toolStrip.ImageScalingSize = new System.Drawing.Size(val, val); + } } } diff --git a/ReClass.NET/Settings.cs b/ReClass.NET/Settings.cs index b5d9268b..9fbaf847 100644 --- a/ReClass.NET/Settings.cs +++ b/ReClass.NET/Settings.cs @@ -1,4 +1,4 @@ -using System.Drawing; +using System.Drawing; using System.Text; using ReClassNET.Util; @@ -76,6 +76,16 @@ public class Settings public CustomDataMap CustomData { get; } = new CustomDataMap(); + public int MemoryViewFont { get; set; } = 13; + + public int MemoryViewFontPadX { get; set; } = 8; + + public int MemoryViewFontPadY { get; set; } = 16; + + public int ProjectViewFont { get; set; } = 8; + + public int ToolStipSize { get; set; } = 24; + public Settings Clone() => MemberwiseClone() as Settings; } } diff --git a/ReClass.NET/UI/IconProvider.cs b/ReClass.NET/UI/IconProvider.cs index f60bce26..18aebd21 100644 --- a/ReClass.NET/UI/IconProvider.cs +++ b/ReClass.NET/UI/IconProvider.cs @@ -4,7 +4,7 @@ namespace ReClassNET.UI { public class IconProvider { - public int Dimensions { get; } = DpiUtil.ScaleIntX(16); + public int Dimensions { get; set; } = DpiUtil.ScaleIntX(16); public Image OpenCloseOpen { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Open_Icon); public Image OpenCloseClosed { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Closed_Icon); From 9f1497ff4c811fad62f20b815fbc1d51f590a9ad Mon Sep 17 00:00:00 2001 From: uttervitriol Date: Mon, 3 Apr 2023 00:32:28 -0400 Subject: [PATCH 2/3] add save/loading for font sizing settings --- ReClass.NET/Controls/MemoryViewControl.cs | 4 +- ReClass.NET/Controls/ProjectView.cs | 2 +- ReClass.NET/Forms/MainForm.Designer.cs | 2 +- ReClass.NET/Forms/MainForm.cs | 14 +++ ReClass.NET/Forms/SettingsForm.Designer.cs | 101 ++++++++++++++++++--- ReClass.NET/Forms/SettingsForm.cs | 24 ++--- ReClass.NET/Program.cs | 11 ++- ReClass.NET/Settings.cs | 5 + ReClass.NET/UI/IconProvider.cs | 2 +- ReClass.NET/Util/SettingsSerializer.cs | 22 +++++ 10 files changed, 153 insertions(+), 34 deletions(-) diff --git a/ReClass.NET/Controls/MemoryViewControl.cs b/ReClass.NET/Controls/MemoryViewControl.cs index ad5c2151..6165f2ca 100644 --- a/ReClass.NET/Controls/MemoryViewControl.cs +++ b/ReClass.NET/Controls/MemoryViewControl.cs @@ -60,7 +60,7 @@ public SelectedNodeInfo(BaseNode node, RemoteProcess process, MemoryBuffer memor public FontEx font; - public int IconScale { get; set; } = 13; + public int IconScale { get; set; } public ContextMenuStrip NodeContextMenuStrip { get; set; } @@ -88,6 +88,8 @@ public MemoryViewControl() hotSpotEditBox.Font = font; memoryPreviewPopUp = new MemoryPreviewPopUp(font); + + IconScale = Program.Settings.MemoryViewIconSize; } protected override void OnPaint(PaintEventArgs e) diff --git a/ReClass.NET/Controls/ProjectView.cs b/ReClass.NET/Controls/ProjectView.cs index f1b12261..b3addfe2 100644 --- a/ReClass.NET/Controls/ProjectView.cs +++ b/ReClass.NET/Controls/ProjectView.cs @@ -226,8 +226,8 @@ public ProjectView() InitializeComponent(); - DoubleBuffered = true; + DoubleBuffered = true; projectTreeView.TreeViewNodeSorter = new NodeSorter(); projectTreeView.ImageList = new ImageList(); projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Text_List_Bullets); diff --git a/ReClass.NET/Forms/MainForm.Designer.cs b/ReClass.NET/Forms/MainForm.Designer.cs index c0e6e406..01c89be0 100644 --- a/ReClass.NET/Forms/MainForm.Designer.cs +++ b/ReClass.NET/Forms/MainForm.Designer.cs @@ -215,7 +215,7 @@ private void InitializeComponent() this.projectView.Dock = System.Windows.Forms.DockStyle.Fill; this.projectView.EnumContextMenuStrip = this.projectEnumContextMenuStrip; this.projectView.EnumsContextMenuStrip = this.projectEnumsContextMenuStrip; - this.projectView.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.projectView.Font = new System.Drawing.Font("Microsoft Sans Serif", Program.Settings.ProjectViewFont, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.projectView.Location = new System.Drawing.Point(0, 0); this.projectView.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); this.projectView.Name = "projectView"; diff --git a/ReClass.NET/Forms/MainForm.cs b/ReClass.NET/Forms/MainForm.cs index 37634014..209317cf 100644 --- a/ReClass.NET/Forms/MainForm.cs +++ b/ReClass.NET/Forms/MainForm.cs @@ -77,6 +77,20 @@ public MainForm() InitializeComponent(); UpdateWindowTitle(); + // This is done here to set the ImageSize value from the stored user settings + // I know it's ugly. + var sz = Program.Settings.ProjectViewIconSize; + projectView.projectTreeView.ImageList = new ImageList(); + projectView.projectTreeView.ImageList.ImageSize = new System.Drawing.Size(sz, sz); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Text_List_Bullets); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Class_Type); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Category); + projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Enum_Type); + + // Same here. + sz = Program.Settings.ToolStipSize; + toolStrip.ImageScalingSize = new System.Drawing.Size(sz, sz); + mainMenuStrip.Renderer = new CustomToolStripProfessionalRenderer(true, true); toolStrip.Renderer = new CustomToolStripProfessionalRenderer(true, false); isLittleEndianToolStripMenuItem.Checked = BitConverter.IsLittleEndian; diff --git a/ReClass.NET/Forms/SettingsForm.Designer.cs b/ReClass.NET/Forms/SettingsForm.Designer.cs index 86888d96..24bb6ecd 100644 --- a/ReClass.NET/Forms/SettingsForm.Designer.cs +++ b/ReClass.NET/Forms/SettingsForm.Designer.cs @@ -132,12 +132,18 @@ private void InitializeComponent() this.int8TypeTextBox = new System.Windows.Forms.TextBox(); this.fontSizingSettingsTabPage = new System.Windows.Forms.TabPage(); this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.label11 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); this.toolStripSizeUpDown = new System.Windows.Forms.NumericUpDown(); this.label5 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.label9 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.projectViewFontUpDown = new System.Windows.Forms.NumericUpDown(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label8 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); this.memoryViewPadYUpDown = new System.Windows.Forms.NumericUpDown(); this.memoryViewPadXUpDown = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); @@ -1243,18 +1249,39 @@ private void InitializeComponent() // // groupBox3 // + this.groupBox3.Controls.Add(this.label11); + this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.toolStripSizeUpDown); this.groupBox3.Controls.Add(this.label5); - this.groupBox3.Location = new System.Drawing.Point(479, 3); + this.groupBox3.Location = new System.Drawing.Point(3, 319); this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(232, 152); + this.groupBox3.Size = new System.Drawing.Size(418, 152); this.groupBox3.TabIndex = 14; this.groupBox3.TabStop = false; this.groupBox3.Text = "Tool Bar"; // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(6, 31); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(387, 40); + this.label11.TabIndex = 18; + this.label11.Text = "The Tool Bar may not update after entering a number.\r\nClicking an arrow will caus" + + "e it to update."; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(178, 103); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(87, 20); + this.label10.TabIndex = 17; + this.label10.Text = "Default: 24"; + // // toolStripSizeUpDown // - this.toolStripSizeUpDown.Location = new System.Drawing.Point(56, 49); + this.toolStripSizeUpDown.Location = new System.Drawing.Point(110, 97); this.toolStripSizeUpDown.Minimum = new decimal(new int[] { 1, 0, @@ -1273,7 +1300,7 @@ private void InitializeComponent() // label5 // this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(6, 51); + this.label5.Location = new System.Drawing.Point(6, 103); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(44, 20); this.label5.TabIndex = 13; @@ -1281,19 +1308,29 @@ private void InitializeComponent() // // groupBox2 // + this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.projectViewFontUpDown); - this.groupBox2.Location = new System.Drawing.Point(241, 3); + this.groupBox2.Location = new System.Drawing.Point(3, 161); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(232, 152); + this.groupBox2.Size = new System.Drawing.Size(418, 152); this.groupBox2.TabIndex = 12; this.groupBox2.TabStop = false; this.groupBox2.Text = "Project View"; // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(187, 71); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(78, 20); + this.label9.TabIndex = 16; + this.label9.Text = "Default: 8"; + // // label4 // this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(6, 63); + this.label4.Location = new System.Drawing.Point(6, 71); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(81, 20); this.label4.TabIndex = 10; @@ -1301,7 +1338,7 @@ private void InitializeComponent() // // projectViewFontUpDown // - this.projectViewFontUpDown.Location = new System.Drawing.Point(110, 61); + this.projectViewFontUpDown.Location = new System.Drawing.Point(110, 65); this.projectViewFontUpDown.Minimum = new decimal(new int[] { 1, 0, @@ -1319,6 +1356,9 @@ private void InitializeComponent() // // groupBox1 // + this.groupBox1.Controls.Add(this.label8); + this.groupBox1.Controls.Add(this.label7); + this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.memoryViewPadYUpDown); this.groupBox1.Controls.Add(this.memoryViewPadXUpDown); this.groupBox1.Controls.Add(this.label3); @@ -1327,11 +1367,38 @@ private void InitializeComponent() this.groupBox1.Controls.Add(this.memoryViewfontUpDown); this.groupBox1.Location = new System.Drawing.Point(3, 3); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(232, 152); + this.groupBox1.Size = new System.Drawing.Size(418, 152); this.groupBox1.TabIndex = 9; this.groupBox1.TabStop = false; this.groupBox1.Text = "Memory View"; // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(187, 98); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(87, 20); + this.label8.TabIndex = 15; + this.label8.Text = "Default: 16"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(187, 66); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(78, 20); + this.label7.TabIndex = 14; + this.label7.Text = "Default: 8"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(187, 33); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(87, 20); + this.label6.TabIndex = 13; + this.label6.Text = "Default: 13"; + // // memoryViewPadYUpDown // this.memoryViewPadYUpDown.Location = new System.Drawing.Point(110, 92); @@ -1352,7 +1419,7 @@ private void InitializeComponent() // // memoryViewPadXUpDown // - this.memoryViewPadXUpDown.Location = new System.Drawing.Point(110, 63); + this.memoryViewPadXUpDown.Location = new System.Drawing.Point(110, 60); this.memoryViewPadXUpDown.Minimum = new decimal(new int[] { 1, 0, @@ -1371,7 +1438,7 @@ private void InitializeComponent() // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(6, 92); + this.label3.Location = new System.Drawing.Point(6, 98); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(86, 20); this.label3.TabIndex = 10; @@ -1380,7 +1447,7 @@ private void InitializeComponent() // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(6, 63); + this.label2.Location = new System.Drawing.Point(6, 66); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(86, 20); this.label2.TabIndex = 9; @@ -1389,7 +1456,7 @@ private void InitializeComponent() // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(6, 36); + this.label1.Location = new System.Drawing.Point(6, 34); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(81, 20); this.label1.TabIndex = 8; @@ -1397,7 +1464,7 @@ private void InitializeComponent() // // memoryViewfontUpDown // - this.memoryViewfontUpDown.Location = new System.Drawing.Point(110, 34); + this.memoryViewfontUpDown.Location = new System.Drawing.Point(110, 28); this.memoryViewfontUpDown.Minimum = new decimal(new int[] { 1, 0, @@ -1587,5 +1654,11 @@ private void InitializeComponent() private System.Windows.Forms.GroupBox groupBox3; private System.Windows.Forms.NumericUpDown toolStripSizeUpDown; private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label11; } } \ No newline at end of file diff --git a/ReClass.NET/Forms/SettingsForm.cs b/ReClass.NET/Forms/SettingsForm.cs index a3bcff11..bc0bd5af 100644 --- a/ReClass.NET/Forms/SettingsForm.cs +++ b/ReClass.NET/Forms/SettingsForm.cs @@ -15,9 +15,9 @@ public partial class SettingsForm : IconForm { private readonly Settings settings; private readonly CppTypeMapping typeMapping; - private MemoryViewControl memoryViewControl; - private ProjectView projectView; - private ToolStrip toolStrip; + public MemoryViewControl memoryViewControl; + public ProjectView projectView; + public ToolStrip toolStrip; public TabControl SettingsTabControl => settingsTabControl; @@ -178,8 +178,12 @@ private void fontSizeUpDown_ValueChanged(object sender, EventArgs e) Height = memoryViewControl.font.Height }; + // Difference between default icon scale and default font size. + val += 3; + memoryViewControl.hotSpotEditBox.Font = memoryViewControl.font; memoryViewControl.IconScale = val; + settings.MemoryViewIconSize = memoryViewControl.IconScale; } private void paddingXUpDown_ValueChanged(object sender, EventArgs e) @@ -212,23 +216,21 @@ private void paddingYUpDown_ValueChanged(object sender, EventArgs e) private void projectViewFontUpDown_ValueChanged(object sender, EventArgs e) { - int imageSizeChange = 1; var val = (int)(sender as NumericUpDown).Value; - if(settings.ProjectViewFont > val) - { - imageSizeChange = -1; - } - projectView.Font = new System.Drawing.Font("Microsoft Sans Serif", val, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - int imageSize = projectView.projectTreeView.ImageList.ImageSize.Height; + // Difference between default icon Size and default font size. + val = val + 8; + projectView.projectTreeView.ImageList = new ImageList(); - projectView.projectTreeView.ImageList.ImageSize = new System.Drawing.Size(imageSize += imageSizeChange, imageSize += imageSizeChange); + projectView.projectTreeView.ImageList.ImageSize = new System.Drawing.Size(val, val); projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Text_List_Bullets); projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Class_Type); projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Category); projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Enum_Type); + + settings.ProjectViewIconSize = val; } private void toolStripSizeUpDown_ValueChanged(object sender, EventArgs e) diff --git a/ReClass.NET/Program.cs b/ReClass.NET/Program.cs index f28cb0bd..249bccf1 100644 --- a/ReClass.NET/Program.cs +++ b/ReClass.NET/Program.cs @@ -18,7 +18,7 @@ public static class Program { public static CommandLineArgs CommandLineArgs { get; private set; } - public static Settings Settings { get; private set; } + public static Settings Settings { get; set; } public static ILogger Logger { get; private set; } @@ -51,11 +51,13 @@ static void Main(string[] args) // ignored } + Settings = SettingsSerializer.Load(); + MonoSpaceFont = new FontEx { - Font = new Font("Courier New", DpiUtil.ScaleIntX(13), GraphicsUnit.Pixel), - Width = DpiUtil.ScaleIntX(8), - Height = DpiUtil.ScaleIntY(16) + Font = new Font("Courier New", DpiUtil.ScaleIntX(Settings.MemoryViewFont), GraphicsUnit.Pixel), + Width = DpiUtil.ScaleIntX(Settings.MemoryViewFontPadX), + Height = DpiUtil.ScaleIntY(Settings.MemoryViewFontPadY) }; NativeMethods.EnableDebugPrivileges(); @@ -65,7 +67,6 @@ static void Main(string[] args) CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; - Settings = SettingsSerializer.Load(); Logger = new GuiLogger(); if (!NativeMethods.IsUnix() && Settings.RunAsAdmin && !WinUtil.IsAdministrator) diff --git a/ReClass.NET/Settings.cs b/ReClass.NET/Settings.cs index 9fbaf847..5d61f19b 100644 --- a/ReClass.NET/Settings.cs +++ b/ReClass.NET/Settings.cs @@ -1,5 +1,6 @@ using System.Drawing; using System.Text; +using System.Windows.Forms; using ReClassNET.Util; namespace ReClassNET @@ -82,8 +83,12 @@ public class Settings public int MemoryViewFontPadY { get; set; } = 16; + public int MemoryViewIconSize { get; set; } = 16; + public int ProjectViewFont { get; set; } = 8; + public int ProjectViewIconSize { get; set; } = 16; + public int ToolStipSize { get; set; } = 24; public Settings Clone() => MemberwiseClone() as Settings; diff --git a/ReClass.NET/UI/IconProvider.cs b/ReClass.NET/UI/IconProvider.cs index 18aebd21..cbe4b9ea 100644 --- a/ReClass.NET/UI/IconProvider.cs +++ b/ReClass.NET/UI/IconProvider.cs @@ -4,7 +4,7 @@ namespace ReClassNET.UI { public class IconProvider { - public int Dimensions { get; set; } = DpiUtil.ScaleIntX(16); + public int Dimensions { get; set; } = DpiUtil.ScaleIntX(Program.Settings.MemoryViewFont); public Image OpenCloseOpen { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Open_Icon); public Image OpenCloseClosed { get; } = DpiUtil.ScaleImage(Properties.Resources.B16x16_Closed_Icon); diff --git a/ReClass.NET/Util/SettingsSerializer.cs b/ReClass.NET/Util/SettingsSerializer.cs index 2a5a4e82..f7463bc0 100644 --- a/ReClass.NET/Util/SettingsSerializer.cs +++ b/ReClass.NET/Util/SettingsSerializer.cs @@ -11,6 +11,7 @@ internal sealed class SettingsSerializer private const string XmlDisplayElement = "Display"; private const string XmlColorsElement = "Colors"; private const string XmlCustomDataElement = "CustomData"; + private const string XmlFontElement = "Font"; #region Read Settings @@ -74,6 +75,17 @@ public static Settings Load() { settings.CustomData.Deserialize(customData); } + var font = root?.Element(XmlFontElement); + if (font != null) + { + XElementSerializer.TryRead(font, nameof(settings.MemoryViewFont), e => settings.MemoryViewFont = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.MemoryViewFontPadX), e => settings.MemoryViewFontPadX = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.MemoryViewFontPadY), e => settings.MemoryViewFontPadY = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.MemoryViewIconSize), e => settings.MemoryViewIconSize = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.ProjectViewFont), e => settings.ProjectViewFont = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.ProjectViewIconSize), e => settings.ProjectViewIconSize = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.ToolStipSize), e => settings.ToolStipSize = XElementSerializer.ToInt(e)); + } } catch { @@ -139,6 +151,16 @@ public static void Save(Settings settings) XElementSerializer.ToXml(nameof(settings.TextColor), settings.TextColor), XElementSerializer.ToXml(nameof(settings.VTableColor), settings.VTableColor) ), + new XElement( + XmlFontElement, + XElementSerializer.ToXml(nameof(settings.MemoryViewFont), settings.MemoryViewFont), + XElementSerializer.ToXml(nameof(settings.MemoryViewFontPadX), settings.MemoryViewFontPadX), + XElementSerializer.ToXml(nameof(settings.MemoryViewFontPadY), settings.MemoryViewFontPadY), + XElementSerializer.ToXml(nameof(settings.MemoryViewIconSize), settings.MemoryViewIconSize), + XElementSerializer.ToXml(nameof(settings.ProjectViewFont), settings.ProjectViewFont), + XElementSerializer.ToXml(nameof(settings.ProjectViewIconSize), settings.ProjectViewIconSize), + XElementSerializer.ToXml(nameof(settings.ToolStipSize), settings.ToolStipSize) + ), settings.CustomData.Serialize(XmlCustomDataElement) ) ); From 15476d061db249a4f9dc16b0cce5fcf0b24dc5c1 Mon Sep 17 00:00:00 2001 From: uttervitriol Date: Thu, 6 Apr 2023 13:22:38 -0400 Subject: [PATCH 3/3] fix toolStrip typo (toolStip) --- ReClass.NET/Forms/MainForm.cs | 2 +- ReClass.NET/Forms/SettingsForm.cs | 2 +- ReClass.NET/Settings.cs | 2 +- ReClass.NET/Util/SettingsSerializer.cs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ReClass.NET/Forms/MainForm.cs b/ReClass.NET/Forms/MainForm.cs index 209317cf..28cf4d17 100644 --- a/ReClass.NET/Forms/MainForm.cs +++ b/ReClass.NET/Forms/MainForm.cs @@ -88,7 +88,7 @@ public MainForm() projectView.projectTreeView.ImageList.Images.Add(Properties.Resources.B16x16_Enum_Type); // Same here. - sz = Program.Settings.ToolStipSize; + sz = Program.Settings.ToolStripSize; toolStrip.ImageScalingSize = new System.Drawing.Size(sz, sz); mainMenuStrip.Renderer = new CustomToolStripProfessionalRenderer(true, true); diff --git a/ReClass.NET/Forms/SettingsForm.cs b/ReClass.NET/Forms/SettingsForm.cs index bc0bd5af..881a37cf 100644 --- a/ReClass.NET/Forms/SettingsForm.cs +++ b/ReClass.NET/Forms/SettingsForm.cs @@ -118,7 +118,7 @@ private void SetGeneralBindings() SetBinding(memoryViewPadXUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.MemoryViewFontPadX)); SetBinding(memoryViewPadYUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.MemoryViewFontPadY)); SetBinding(projectViewFontUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.ProjectViewFont)); - SetBinding(toolStripSizeUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.ToolStipSize)); + SetBinding(toolStripSizeUpDown, nameof(NumericUpDown.Value), settings, nameof(Settings.ToolStripSize)); } private void SetColorBindings() diff --git a/ReClass.NET/Settings.cs b/ReClass.NET/Settings.cs index 5d61f19b..10757d3f 100644 --- a/ReClass.NET/Settings.cs +++ b/ReClass.NET/Settings.cs @@ -89,7 +89,7 @@ public class Settings public int ProjectViewIconSize { get; set; } = 16; - public int ToolStipSize { get; set; } = 24; + public int ToolStripSize { get; set; } = 24; public Settings Clone() => MemberwiseClone() as Settings; } diff --git a/ReClass.NET/Util/SettingsSerializer.cs b/ReClass.NET/Util/SettingsSerializer.cs index f7463bc0..0c86b74f 100644 --- a/ReClass.NET/Util/SettingsSerializer.cs +++ b/ReClass.NET/Util/SettingsSerializer.cs @@ -84,7 +84,7 @@ public static Settings Load() XElementSerializer.TryRead(font, nameof(settings.MemoryViewIconSize), e => settings.MemoryViewIconSize = XElementSerializer.ToInt(e)); XElementSerializer.TryRead(font, nameof(settings.ProjectViewFont), e => settings.ProjectViewFont = XElementSerializer.ToInt(e)); XElementSerializer.TryRead(font, nameof(settings.ProjectViewIconSize), e => settings.ProjectViewIconSize = XElementSerializer.ToInt(e)); - XElementSerializer.TryRead(font, nameof(settings.ToolStipSize), e => settings.ToolStipSize = XElementSerializer.ToInt(e)); + XElementSerializer.TryRead(font, nameof(settings.ToolStripSize), e => settings.ToolStripSize = XElementSerializer.ToInt(e)); } } catch @@ -159,7 +159,7 @@ public static void Save(Settings settings) XElementSerializer.ToXml(nameof(settings.MemoryViewIconSize), settings.MemoryViewIconSize), XElementSerializer.ToXml(nameof(settings.ProjectViewFont), settings.ProjectViewFont), XElementSerializer.ToXml(nameof(settings.ProjectViewIconSize), settings.ProjectViewIconSize), - XElementSerializer.ToXml(nameof(settings.ToolStipSize), settings.ToolStipSize) + XElementSerializer.ToXml(nameof(settings.ToolStripSize), settings.ToolStripSize) ), settings.CustomData.Serialize(XmlCustomDataElement) )