--- trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/28 04:14:03 156 +++ trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/28 08:13:31 165 @@ -28,7 +28,6 @@ /// </summary> private void InitializeComponent() { - this.main_flow = new System.Windows.Forms.FlowLayoutPanel(); this.lblStart = new System.Windows.Forms.Label(); this.txtStart = new System.Windows.Forms.MaskedHexBox(); this.lblEnd = new System.Windows.Forms.Label(); @@ -40,36 +39,20 @@ this.radioBTNMegaBytes = new System.Windows.Forms.RadioButton(); this.radioBTNKiloBytes = new System.Windows.Forms.RadioButton(); this.radioBTNBytes = new System.Windows.Forms.RadioButton(); - this.btnCalcStartAddr = new System.Windows.Forms.Button(); this.btnCalcEndAddr = new System.Windows.Forms.Button(); + this.btnCalcStartAddr = new System.Windows.Forms.Button(); this.btnCalcDumpSize = new System.Windows.Forms.Button(); this.btnDumpRam = new System.Windows.Forms.Button(); this.dumpsaver = new System.Windows.Forms.SaveFileDialog(); - this.main_flow.SuspendLayout(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.grpBoxDumpSize.SuspendLayout(); + this.flowLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // - // main_flow - // - this.main_flow.Controls.Add(this.lblStart); - this.main_flow.Controls.Add(this.txtStart); - this.main_flow.Controls.Add(this.lblEnd); - this.main_flow.Controls.Add(this.txtEnd); - this.main_flow.Controls.Add(this.grpBoxDumpSize); - this.main_flow.Controls.Add(this.btnCalcEndAddr); - this.main_flow.Controls.Add(this.btnCalcStartAddr); - this.main_flow.Controls.Add(this.btnCalcDumpSize); - this.main_flow.Controls.Add(this.btnDumpRam); - this.main_flow.Dock = System.Windows.Forms.DockStyle.Fill; - this.main_flow.Location = new System.Drawing.Point(0, 0); - this.main_flow.Name = "main_flow"; - this.main_flow.Size = new System.Drawing.Size(295, 398); - this.main_flow.TabIndex = 0; - // // lblStart // this.lblStart.AutoSize = true; - this.lblStart.Location = new System.Drawing.Point(3, 0); + this.lblStart.Location = new System.Drawing.Point(12, 9); this.lblStart.Name = "lblStart"; this.lblStart.Size = new System.Drawing.Size(73, 13); this.lblStart.TabIndex = 0; @@ -79,23 +62,22 @@ // this.txtStart.AutoSize = true; this.txtStart.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.main_flow.SetFlowBreak(this.txtStart, true); this.txtStart.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtStart.isAddressMask = true; - this.txtStart.Location = new System.Drawing.Point(79, 0); + this.txtStart.Location = new System.Drawing.Point(88, 9); this.txtStart.Margin = new System.Windows.Forms.Padding(0); - this.txtStart.MaxLength = 8; + this.txtStart.MaxLength = 16; this.txtStart.Name = "txtStart"; this.txtStart.ReadOnly = false; - this.txtStart.Size = new System.Drawing.Size(185, 24); + this.txtStart.Size = new System.Drawing.Size(263, 24); this.txtStart.TabIndex = 2; - this.txtStart.TextLength = 8; + this.txtStart.TextLength = 16; this.txtStart.Value = ((ulong)(0ul)); // // lblEnd // this.lblEnd.AutoSize = true; - this.lblEnd.Location = new System.Drawing.Point(3, 24); + this.lblEnd.Location = new System.Drawing.Point(15, 33); this.lblEnd.Name = "lblEnd"; this.lblEnd.Size = new System.Drawing.Size(70, 13); this.lblEnd.TabIndex = 1; @@ -105,31 +87,26 @@ // this.txtEnd.AutoSize = true; this.txtEnd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.main_flow.SetFlowBreak(this.txtEnd, true); this.txtEnd.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtEnd.isAddressMask = true; - this.txtEnd.Location = new System.Drawing.Point(76, 24); + this.txtEnd.Location = new System.Drawing.Point(85, 33); this.txtEnd.Margin = new System.Windows.Forms.Padding(0); - this.txtEnd.MaxLength = 8; + this.txtEnd.MaxLength = 16; this.txtEnd.Name = "txtEnd"; this.txtEnd.ReadOnly = false; - this.txtEnd.Size = new System.Drawing.Size(188, 24); + this.txtEnd.Size = new System.Drawing.Size(266, 24); this.txtEnd.TabIndex = 3; - this.txtEnd.TextLength = 8; + this.txtEnd.TextLength = 16; this.txtEnd.Value = ((ulong)(0ul)); // // grpBoxDumpSize // + this.grpBoxDumpSize.Controls.Add(this.flowLayoutPanel1); this.grpBoxDumpSize.Controls.Add(this.lblDumpSize); this.grpBoxDumpSize.Controls.Add(this.txtDumpSize); - this.grpBoxDumpSize.Controls.Add(this.radioBTNGigaBytes); - this.grpBoxDumpSize.Controls.Add(this.radioBTNMegaBytes); - this.grpBoxDumpSize.Controls.Add(this.radioBTNKiloBytes); - this.grpBoxDumpSize.Controls.Add(this.radioBTNBytes); - this.main_flow.SetFlowBreak(this.grpBoxDumpSize, true); - this.grpBoxDumpSize.Location = new System.Drawing.Point(3, 51); + this.grpBoxDumpSize.Location = new System.Drawing.Point(33, 76); this.grpBoxDumpSize.Name = "grpBoxDumpSize"; - this.grpBoxDumpSize.Size = new System.Drawing.Size(199, 137); + this.grpBoxDumpSize.Size = new System.Drawing.Size(302, 76); this.grpBoxDumpSize.TabIndex = 4; this.grpBoxDumpSize.TabStop = false; this.grpBoxDumpSize.Text = "Dump Size"; @@ -137,7 +114,7 @@ // lblDumpSize // this.lblDumpSize.AutoSize = true; - this.lblDumpSize.Location = new System.Drawing.Point(29, 85); + this.lblDumpSize.Location = new System.Drawing.Point(6, 49); this.lblDumpSize.Name = "lblDumpSize"; this.lblDumpSize.Size = new System.Drawing.Size(89, 13); this.lblDumpSize.TabIndex = 5; @@ -145,10 +122,10 @@ // // txtDumpSize // - this.txtDumpSize.Location = new System.Drawing.Point(32, 103); + this.txtDumpSize.Location = new System.Drawing.Point(98, 49); this.txtDumpSize.MaxLength = 10; this.txtDumpSize.Name = "txtDumpSize"; - this.txtDumpSize.Size = new System.Drawing.Size(117, 20); + this.txtDumpSize.Size = new System.Drawing.Size(196, 20); this.txtDumpSize.TabIndex = 4; this.txtDumpSize.Text = "0.00"; this.txtDumpSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; @@ -156,7 +133,8 @@ // radioBTNGigaBytes // this.radioBTNGigaBytes.AutoSize = true; - this.radioBTNGigaBytes.Location = new System.Drawing.Point(108, 53); + this.flowLayoutPanel1.SetFlowBreak(this.radioBTNGigaBytes, true); + this.radioBTNGigaBytes.Location = new System.Drawing.Point(218, 3); this.radioBTNGigaBytes.Name = "radioBTNGigaBytes"; this.radioBTNGigaBytes.Size = new System.Drawing.Size(73, 17); this.radioBTNGigaBytes.TabIndex = 3; @@ -167,7 +145,7 @@ // radioBTNMegaBytes // this.radioBTNMegaBytes.AutoSize = true; - this.radioBTNMegaBytes.Location = new System.Drawing.Point(24, 53); + this.radioBTNMegaBytes.Location = new System.Drawing.Point(134, 3); this.radioBTNMegaBytes.Name = "radioBTNMegaBytes"; this.radioBTNMegaBytes.Size = new System.Drawing.Size(78, 17); this.radioBTNMegaBytes.TabIndex = 2; @@ -178,7 +156,7 @@ // radioBTNKiloBytes // this.radioBTNKiloBytes.AutoSize = true; - this.radioBTNKiloBytes.Location = new System.Drawing.Point(81, 30); + this.radioBTNKiloBytes.Location = new System.Drawing.Point(60, 3); this.radioBTNKiloBytes.Name = "radioBTNKiloBytes"; this.radioBTNKiloBytes.Size = new System.Drawing.Size(68, 17); this.radioBTNKiloBytes.TabIndex = 1; @@ -190,7 +168,7 @@ // this.radioBTNBytes.AutoSize = true; this.radioBTNBytes.Checked = true; - this.radioBTNBytes.Location = new System.Drawing.Point(24, 30); + this.radioBTNBytes.Location = new System.Drawing.Point(3, 3); this.radioBTNBytes.Name = "radioBTNBytes"; this.radioBTNBytes.Size = new System.Drawing.Size(51, 17); this.radioBTNBytes.TabIndex = 0; @@ -199,20 +177,9 @@ this.radioBTNBytes.UseVisualStyleBackColor = true; this.radioBTNBytes.CheckedChanged += new System.EventHandler(this.radioBTNBytes_CheckedChanged); // - // btnCalcStartAddr - // - this.main_flow.SetFlowBreak(this.btnCalcStartAddr, true); - this.btnCalcStartAddr.Location = new System.Drawing.Point(146, 194); - this.btnCalcStartAddr.Name = "btnCalcStartAddr"; - this.btnCalcStartAddr.Size = new System.Drawing.Size(137, 50); - this.btnCalcStartAddr.TabIndex = 10; - this.btnCalcStartAddr.Text = "Calculate Starting Address from Dump Size"; - this.btnCalcStartAddr.UseVisualStyleBackColor = true; - this.btnCalcStartAddr.Click += new System.EventHandler(this.btnCalcStartAddr_Click); - // // btnCalcEndAddr // - this.btnCalcEndAddr.Location = new System.Drawing.Point(3, 194); + this.btnCalcEndAddr.Location = new System.Drawing.Point(39, 167); this.btnCalcEndAddr.Name = "btnCalcEndAddr"; this.btnCalcEndAddr.Size = new System.Drawing.Size(137, 50); this.btnCalcEndAddr.TabIndex = 9; @@ -220,9 +187,19 @@ this.btnCalcEndAddr.UseVisualStyleBackColor = true; this.btnCalcEndAddr.Click += new System.EventHandler(this.btnCalcEndAddr_Click); // + // btnCalcStartAddr + // + this.btnCalcStartAddr.Location = new System.Drawing.Point(182, 167); + this.btnCalcStartAddr.Name = "btnCalcStartAddr"; + this.btnCalcStartAddr.Size = new System.Drawing.Size(137, 50); + this.btnCalcStartAddr.TabIndex = 10; + this.btnCalcStartAddr.Text = "Calculate Starting Address from Dump Size"; + this.btnCalcStartAddr.UseVisualStyleBackColor = true; + this.btnCalcStartAddr.Click += new System.EventHandler(this.btnCalcStartAddr_Click); + // // btnCalcDumpSize // - this.btnCalcDumpSize.Location = new System.Drawing.Point(3, 250); + this.btnCalcDumpSize.Location = new System.Drawing.Point(39, 223); this.btnCalcDumpSize.Name = "btnCalcDumpSize"; this.btnCalcDumpSize.Size = new System.Drawing.Size(280, 50); this.btnCalcDumpSize.TabIndex = 8; @@ -233,7 +210,7 @@ // btnDumpRam // this.btnDumpRam.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnDumpRam.Location = new System.Drawing.Point(3, 306); + this.btnDumpRam.Location = new System.Drawing.Point(39, 279); this.btnDumpRam.Name = "btnDumpRam"; this.btnDumpRam.Size = new System.Drawing.Size(280, 50); this.btnDumpRam.TabIndex = 11; @@ -249,27 +226,47 @@ this.dumpsaver.SupportMultiDottedExtensions = true; this.dumpsaver.Title = "Please choose the file to save the ram dump to"; // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Controls.Add(this.radioBTNBytes); + this.flowLayoutPanel1.Controls.Add(this.radioBTNKiloBytes); + this.flowLayoutPanel1.Controls.Add(this.radioBTNMegaBytes); + this.flowLayoutPanel1.Controls.Add(this.radioBTNGigaBytes); + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; + this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 16); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(296, 30); + this.flowLayoutPanel1.TabIndex = 12; + // // FloatingRamDumperDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(295, 398); - this.Controls.Add(this.main_flow); + this.ClientSize = new System.Drawing.Size(367, 344); + this.Controls.Add(this.lblStart); + this.Controls.Add(this.txtStart); + this.Controls.Add(this.lblEnd); + this.Controls.Add(this.btnDumpRam); + this.Controls.Add(this.txtEnd); + this.Controls.Add(this.btnCalcDumpSize); + this.Controls.Add(this.grpBoxDumpSize); + this.Controls.Add(this.btnCalcStartAddr); + this.Controls.Add(this.btnCalcEndAddr); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "FloatingRamDumperDialog"; this.Text = "Ram Dump"; this.Load += new System.EventHandler(this.FloatingRamDumperDialog_Load); - this.main_flow.ResumeLayout(false); - this.main_flow.PerformLayout(); this.grpBoxDumpSize.ResumeLayout(false); this.grpBoxDumpSize.PerformLayout(); + this.flowLayoutPanel1.ResumeLayout(false); + this.flowLayoutPanel1.PerformLayout(); this.ResumeLayout(false); + this.PerformLayout(); } #endregion - private System.Windows.Forms.FlowLayoutPanel main_flow; private System.Windows.Forms.Label lblStart; private System.Windows.Forms.MaskedHexBox txtStart; private System.Windows.Forms.Label lblEnd; @@ -286,5 +283,6 @@ internal System.Windows.Forms.Button btnCalcDumpSize; internal System.Windows.Forms.Button btnDumpRam; private System.Windows.Forms.SaveFileDialog dumpsaver; + private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; } } \ No newline at end of file |