--- trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/27 23:33:54 148 +++ trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/28 03:04:05 154 @@ -30,10 +30,21 @@ { this.main_flow = new System.Windows.Forms.FlowLayoutPanel(); this.lblStart = new System.Windows.Forms.Label(); - this.lblEnd = new System.Windows.Forms.Label(); this.txtStart = new System.Windows.Forms.MaskedHexBox(); + this.lblEnd = new System.Windows.Forms.Label(); this.txtEnd = new System.Windows.Forms.MaskedHexBox(); + this.grpBoxDumpSize = new System.Windows.Forms.GroupBox(); + this.lblDumpSize = new System.Windows.Forms.Label(); + this.txtDumpSize = new System.Windows.Forms.TextBox(); + this.radioBTNGigaBytes = new System.Windows.Forms.RadioButton(); + 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.btnCalcDumpSize = new System.Windows.Forms.Button(); this.main_flow.SuspendLayout(); + this.grpBoxDumpSize.SuspendLayout(); this.SuspendLayout(); // // main_flow @@ -42,6 +53,10 @@ 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.Dock = System.Windows.Forms.DockStyle.Fill; this.main_flow.Location = new System.Drawing.Point(0, 0); this.main_flow.Name = "main_flow"; @@ -57,15 +72,6 @@ this.lblStart.TabIndex = 0; this.lblStart.Text = "Start Address:"; // - // lblEnd - // - this.lblEnd.AutoSize = true; - this.lblEnd.Location = new System.Drawing.Point(3, 24); - this.lblEnd.Name = "lblEnd"; - this.lblEnd.Size = new System.Drawing.Size(70, 13); - this.lblEnd.TabIndex = 1; - this.lblEnd.Text = "End Address:"; - // // txtStart // this.txtStart.AutoSize = true; @@ -83,10 +89,20 @@ this.txtStart.TextLength = 8; this.txtStart.Value = ((ulong)(0ul)); // + // lblEnd + // + this.lblEnd.AutoSize = true; + this.lblEnd.Location = new System.Drawing.Point(3, 24); + this.lblEnd.Name = "lblEnd"; + this.lblEnd.Size = new System.Drawing.Size(70, 13); + this.lblEnd.TabIndex = 1; + this.lblEnd.Text = "End Address:"; + // // txtEnd // 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); @@ -99,6 +115,118 @@ this.txtEnd.TextLength = 8; this.txtEnd.Value = ((ulong)(0ul)); // + // grpBoxDumpSize + // + 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.Name = "grpBoxDumpSize"; + this.grpBoxDumpSize.Size = new System.Drawing.Size(199, 137); + this.grpBoxDumpSize.TabIndex = 4; + this.grpBoxDumpSize.TabStop = false; + this.grpBoxDumpSize.Text = "Dump Size"; + // + // lblDumpSize + // + this.lblDumpSize.AutoSize = true; + this.lblDumpSize.Location = new System.Drawing.Point(29, 85); + this.lblDumpSize.Name = "lblDumpSize"; + this.lblDumpSize.Size = new System.Drawing.Size(89, 13); + this.lblDumpSize.TabIndex = 5; + this.lblDumpSize.Text = "Enter Dump Size:"; + // + // txtDumpSize + // + this.txtDumpSize.Location = new System.Drawing.Point(32, 103); + this.txtDumpSize.MaxLength = 10; + this.txtDumpSize.Name = "txtDumpSize"; + this.txtDumpSize.Size = new System.Drawing.Size(117, 20); + this.txtDumpSize.TabIndex = 4; + this.txtDumpSize.Text = "0.00"; + this.txtDumpSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // radioBTNGigaBytes + // + this.radioBTNGigaBytes.AutoSize = true; + this.radioBTNGigaBytes.Location = new System.Drawing.Point(108, 53); + this.radioBTNGigaBytes.Name = "radioBTNGigaBytes"; + this.radioBTNGigaBytes.Size = new System.Drawing.Size(73, 17); + this.radioBTNGigaBytes.TabIndex = 3; + this.radioBTNGigaBytes.Text = "GigaBytes"; + this.radioBTNGigaBytes.UseVisualStyleBackColor = true; + this.radioBTNGigaBytes.CheckedChanged += new System.EventHandler(this.radioBTNGigaBytes_CheckedChanged); + // + // radioBTNMegaBytes + // + this.radioBTNMegaBytes.AutoSize = true; + this.radioBTNMegaBytes.Location = new System.Drawing.Point(24, 53); + this.radioBTNMegaBytes.Name = "radioBTNMegaBytes"; + this.radioBTNMegaBytes.Size = new System.Drawing.Size(78, 17); + this.radioBTNMegaBytes.TabIndex = 2; + this.radioBTNMegaBytes.Text = "MegaBytes"; + this.radioBTNMegaBytes.UseVisualStyleBackColor = true; + this.radioBTNMegaBytes.CheckedChanged += new System.EventHandler(this.radioBTNMegaBytes_CheckedChanged); + // + // radioBTNKiloBytes + // + this.radioBTNKiloBytes.AutoSize = true; + this.radioBTNKiloBytes.Location = new System.Drawing.Point(81, 30); + this.radioBTNKiloBytes.Name = "radioBTNKiloBytes"; + this.radioBTNKiloBytes.Size = new System.Drawing.Size(68, 17); + this.radioBTNKiloBytes.TabIndex = 1; + this.radioBTNKiloBytes.Text = "KiloBytes"; + this.radioBTNKiloBytes.UseVisualStyleBackColor = true; + this.radioBTNKiloBytes.CheckedChanged += new System.EventHandler(this.radioBTNKiloBytes_CheckedChanged); + // + // radioBTNBytes + // + this.radioBTNBytes.AutoSize = true; + this.radioBTNBytes.Checked = true; + this.radioBTNBytes.Location = new System.Drawing.Point(24, 30); + this.radioBTNBytes.Name = "radioBTNBytes"; + this.radioBTNBytes.Size = new System.Drawing.Size(51, 17); + this.radioBTNBytes.TabIndex = 0; + this.radioBTNBytes.TabStop = true; + this.radioBTNBytes.Text = "Bytes"; + 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.Name = "btnCalcEndAddr"; + this.btnCalcEndAddr.Size = new System.Drawing.Size(137, 50); + this.btnCalcEndAddr.TabIndex = 9; + this.btnCalcEndAddr.Text = "Calculate Ending Address from Dump Size"; + this.btnCalcEndAddr.UseVisualStyleBackColor = true; + this.btnCalcEndAddr.Click += new System.EventHandler(this.btnCalcEndAddr_Click); + // + // btnCalcDumpSize + // + this.btnCalcDumpSize.Location = new System.Drawing.Point(3, 250); + this.btnCalcDumpSize.Name = "btnCalcDumpSize"; + this.btnCalcDumpSize.Size = new System.Drawing.Size(280, 50); + this.btnCalcDumpSize.TabIndex = 8; + this.btnCalcDumpSize.Text = "Calculate Dump Size from Start and End Address"; + this.btnCalcDumpSize.UseVisualStyleBackColor = true; + this.btnCalcDumpSize.Click += new System.EventHandler(this.btnCalcDumpSize_Click); + // // FloatingRamDumperDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -111,6 +239,8 @@ 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.ResumeLayout(false); } @@ -122,5 +252,15 @@ private System.Windows.Forms.MaskedHexBox txtStart; private System.Windows.Forms.Label lblEnd; private System.Windows.Forms.MaskedHexBox txtEnd; + internal System.Windows.Forms.GroupBox grpBoxDumpSize; + internal System.Windows.Forms.Label lblDumpSize; + internal System.Windows.Forms.TextBox txtDumpSize; + internal System.Windows.Forms.RadioButton radioBTNGigaBytes; + internal System.Windows.Forms.RadioButton radioBTNMegaBytes; + internal System.Windows.Forms.RadioButton radioBTNKiloBytes; + internal System.Windows.Forms.RadioButton radioBTNBytes; + internal System.Windows.Forms.Button btnCalcEndAddr; + internal System.Windows.Forms.Button btnCalcStartAddr; + internal System.Windows.Forms.Button btnCalcDumpSize; } } \ No newline at end of file |