--- trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/28 03:04:05 154 +++ trunk/RomCheater/Docking/FloatingRamDumperDialog.Designer.cs 2012/05/28 04:14:03 156 @@ -43,6 +43,8 @@ this.btnCalcStartAddr = new System.Windows.Forms.Button(); this.btnCalcEndAddr = 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.grpBoxDumpSize.SuspendLayout(); this.SuspendLayout(); @@ -57,10 +59,11 @@ 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(633, 398); + this.main_flow.Size = new System.Drawing.Size(295, 398); this.main_flow.TabIndex = 0; // // lblStart @@ -227,11 +230,30 @@ this.btnCalcDumpSize.UseVisualStyleBackColor = true; this.btnCalcDumpSize.Click += new System.EventHandler(this.btnCalcDumpSize_Click); // + // 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.Name = "btnDumpRam"; + this.btnDumpRam.Size = new System.Drawing.Size(280, 50); + this.btnDumpRam.TabIndex = 11; + this.btnDumpRam.Text = "Dump Ram"; + this.btnDumpRam.UseVisualStyleBackColor = true; + this.btnDumpRam.Click += new System.EventHandler(this.btnDumpRam_Click); + // + // dumpsaver + // + this.dumpsaver.DefaultExt = "rawdump"; + this.dumpsaver.FileName = "dump.rawdump"; + this.dumpsaver.Filter = "Raw Dump Files|*.rawdump"; + this.dumpsaver.SupportMultiDottedExtensions = true; + this.dumpsaver.Title = "Please choose the file to save the ram dump to"; + // // FloatingRamDumperDialog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(633, 398); + this.ClientSize = new System.Drawing.Size(295, 398); this.Controls.Add(this.main_flow); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "FloatingRamDumperDialog"; @@ -262,5 +284,7 @@ internal System.Windows.Forms.Button btnCalcEndAddr; internal System.Windows.Forms.Button btnCalcStartAddr; internal System.Windows.Forms.Button btnCalcDumpSize; + internal System.Windows.Forms.Button btnDumpRam; + private System.Windows.Forms.SaveFileDialog dumpsaver; } } \ No newline at end of file |