28 |
|
/// </summary> |
29 |
|
private void InitializeComponent() |
30 |
|
{ |
31 |
– |
this.main_flow = new System.Windows.Forms.FlowLayoutPanel(); |
31 |
|
this.lblStart = new System.Windows.Forms.Label(); |
32 |
|
this.txtStart = new System.Windows.Forms.MaskedHexBox(); |
33 |
|
this.lblEnd = new System.Windows.Forms.Label(); |
39 |
|
this.radioBTNMegaBytes = new System.Windows.Forms.RadioButton(); |
40 |
|
this.radioBTNKiloBytes = new System.Windows.Forms.RadioButton(); |
41 |
|
this.radioBTNBytes = new System.Windows.Forms.RadioButton(); |
43 |
– |
this.btnCalcStartAddr = new System.Windows.Forms.Button(); |
42 |
|
this.btnCalcEndAddr = new System.Windows.Forms.Button(); |
43 |
+ |
this.btnCalcStartAddr = new System.Windows.Forms.Button(); |
44 |
|
this.btnCalcDumpSize = new System.Windows.Forms.Button(); |
45 |
|
this.btnDumpRam = new System.Windows.Forms.Button(); |
46 |
|
this.dumpsaver = new System.Windows.Forms.SaveFileDialog(); |
47 |
< |
this.main_flow.SuspendLayout(); |
47 |
> |
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
48 |
|
this.grpBoxDumpSize.SuspendLayout(); |
49 |
+ |
this.flowLayoutPanel1.SuspendLayout(); |
50 |
|
this.SuspendLayout(); |
51 |
|
// |
52 |
– |
// main_flow |
53 |
– |
// |
54 |
– |
this.main_flow.Controls.Add(this.lblStart); |
55 |
– |
this.main_flow.Controls.Add(this.txtStart); |
56 |
– |
this.main_flow.Controls.Add(this.lblEnd); |
57 |
– |
this.main_flow.Controls.Add(this.txtEnd); |
58 |
– |
this.main_flow.Controls.Add(this.grpBoxDumpSize); |
59 |
– |
this.main_flow.Controls.Add(this.btnCalcEndAddr); |
60 |
– |
this.main_flow.Controls.Add(this.btnCalcStartAddr); |
61 |
– |
this.main_flow.Controls.Add(this.btnCalcDumpSize); |
62 |
– |
this.main_flow.Controls.Add(this.btnDumpRam); |
63 |
– |
this.main_flow.Dock = System.Windows.Forms.DockStyle.Fill; |
64 |
– |
this.main_flow.Location = new System.Drawing.Point(0, 0); |
65 |
– |
this.main_flow.Name = "main_flow"; |
66 |
– |
this.main_flow.Size = new System.Drawing.Size(295, 398); |
67 |
– |
this.main_flow.TabIndex = 0; |
68 |
– |
// |
52 |
|
// lblStart |
53 |
|
// |
54 |
|
this.lblStart.AutoSize = true; |
55 |
< |
this.lblStart.Location = new System.Drawing.Point(3, 0); |
55 |
> |
this.lblStart.Location = new System.Drawing.Point(12, 9); |
56 |
|
this.lblStart.Name = "lblStart"; |
57 |
|
this.lblStart.Size = new System.Drawing.Size(73, 13); |
58 |
|
this.lblStart.TabIndex = 0; |
62 |
|
// |
63 |
|
this.txtStart.AutoSize = true; |
64 |
|
this.txtStart.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
82 |
– |
this.main_flow.SetFlowBreak(this.txtStart, true); |
65 |
|
this.txtStart.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
66 |
|
this.txtStart.isAddressMask = true; |
67 |
< |
this.txtStart.Location = new System.Drawing.Point(79, 0); |
67 |
> |
this.txtStart.Location = new System.Drawing.Point(88, 9); |
68 |
|
this.txtStart.Margin = new System.Windows.Forms.Padding(0); |
69 |
< |
this.txtStart.MaxLength = 8; |
69 |
> |
this.txtStart.MaxLength = 16; |
70 |
|
this.txtStart.Name = "txtStart"; |
71 |
|
this.txtStart.ReadOnly = false; |
72 |
< |
this.txtStart.Size = new System.Drawing.Size(185, 24); |
72 |
> |
this.txtStart.Size = new System.Drawing.Size(263, 24); |
73 |
|
this.txtStart.TabIndex = 2; |
74 |
< |
this.txtStart.TextLength = 8; |
74 |
> |
this.txtStart.TextLength = 16; |
75 |
|
this.txtStart.Value = ((ulong)(0ul)); |
76 |
|
// |
77 |
|
// lblEnd |
78 |
|
// |
79 |
|
this.lblEnd.AutoSize = true; |
80 |
< |
this.lblEnd.Location = new System.Drawing.Point(3, 24); |
80 |
> |
this.lblEnd.Location = new System.Drawing.Point(15, 33); |
81 |
|
this.lblEnd.Name = "lblEnd"; |
82 |
|
this.lblEnd.Size = new System.Drawing.Size(70, 13); |
83 |
|
this.lblEnd.TabIndex = 1; |
87 |
|
// |
88 |
|
this.txtEnd.AutoSize = true; |
89 |
|
this.txtEnd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
108 |
– |
this.main_flow.SetFlowBreak(this.txtEnd, true); |
90 |
|
this.txtEnd.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
91 |
|
this.txtEnd.isAddressMask = true; |
92 |
< |
this.txtEnd.Location = new System.Drawing.Point(76, 24); |
92 |
> |
this.txtEnd.Location = new System.Drawing.Point(85, 33); |
93 |
|
this.txtEnd.Margin = new System.Windows.Forms.Padding(0); |
94 |
< |
this.txtEnd.MaxLength = 8; |
94 |
> |
this.txtEnd.MaxLength = 16; |
95 |
|
this.txtEnd.Name = "txtEnd"; |
96 |
|
this.txtEnd.ReadOnly = false; |
97 |
< |
this.txtEnd.Size = new System.Drawing.Size(188, 24); |
97 |
> |
this.txtEnd.Size = new System.Drawing.Size(266, 24); |
98 |
|
this.txtEnd.TabIndex = 3; |
99 |
< |
this.txtEnd.TextLength = 8; |
99 |
> |
this.txtEnd.TextLength = 16; |
100 |
|
this.txtEnd.Value = ((ulong)(0ul)); |
101 |
|
// |
102 |
|
// grpBoxDumpSize |
103 |
|
// |
104 |
+ |
this.grpBoxDumpSize.Controls.Add(this.flowLayoutPanel1); |
105 |
|
this.grpBoxDumpSize.Controls.Add(this.lblDumpSize); |
106 |
|
this.grpBoxDumpSize.Controls.Add(this.txtDumpSize); |
107 |
< |
this.grpBoxDumpSize.Controls.Add(this.radioBTNGigaBytes); |
126 |
< |
this.grpBoxDumpSize.Controls.Add(this.radioBTNMegaBytes); |
127 |
< |
this.grpBoxDumpSize.Controls.Add(this.radioBTNKiloBytes); |
128 |
< |
this.grpBoxDumpSize.Controls.Add(this.radioBTNBytes); |
129 |
< |
this.main_flow.SetFlowBreak(this.grpBoxDumpSize, true); |
130 |
< |
this.grpBoxDumpSize.Location = new System.Drawing.Point(3, 51); |
107 |
> |
this.grpBoxDumpSize.Location = new System.Drawing.Point(33, 76); |
108 |
|
this.grpBoxDumpSize.Name = "grpBoxDumpSize"; |
109 |
< |
this.grpBoxDumpSize.Size = new System.Drawing.Size(199, 137); |
109 |
> |
this.grpBoxDumpSize.Size = new System.Drawing.Size(302, 76); |
110 |
|
this.grpBoxDumpSize.TabIndex = 4; |
111 |
|
this.grpBoxDumpSize.TabStop = false; |
112 |
|
this.grpBoxDumpSize.Text = "Dump Size"; |
114 |
|
// lblDumpSize |
115 |
|
// |
116 |
|
this.lblDumpSize.AutoSize = true; |
117 |
< |
this.lblDumpSize.Location = new System.Drawing.Point(29, 85); |
117 |
> |
this.lblDumpSize.Location = new System.Drawing.Point(6, 49); |
118 |
|
this.lblDumpSize.Name = "lblDumpSize"; |
119 |
|
this.lblDumpSize.Size = new System.Drawing.Size(89, 13); |
120 |
|
this.lblDumpSize.TabIndex = 5; |
122 |
|
// |
123 |
|
// txtDumpSize |
124 |
|
// |
125 |
< |
this.txtDumpSize.Location = new System.Drawing.Point(32, 103); |
125 |
> |
this.txtDumpSize.Location = new System.Drawing.Point(98, 49); |
126 |
|
this.txtDumpSize.MaxLength = 10; |
127 |
|
this.txtDumpSize.Name = "txtDumpSize"; |
128 |
< |
this.txtDumpSize.Size = new System.Drawing.Size(117, 20); |
128 |
> |
this.txtDumpSize.Size = new System.Drawing.Size(196, 20); |
129 |
|
this.txtDumpSize.TabIndex = 4; |
130 |
|
this.txtDumpSize.Text = "0.00"; |
131 |
|
this.txtDumpSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; |
133 |
|
// radioBTNGigaBytes |
134 |
|
// |
135 |
|
this.radioBTNGigaBytes.AutoSize = true; |
136 |
< |
this.radioBTNGigaBytes.Location = new System.Drawing.Point(108, 53); |
136 |
> |
this.flowLayoutPanel1.SetFlowBreak(this.radioBTNGigaBytes, true); |
137 |
> |
this.radioBTNGigaBytes.Location = new System.Drawing.Point(218, 3); |
138 |
|
this.radioBTNGigaBytes.Name = "radioBTNGigaBytes"; |
139 |
|
this.radioBTNGigaBytes.Size = new System.Drawing.Size(73, 17); |
140 |
|
this.radioBTNGigaBytes.TabIndex = 3; |
145 |
|
// radioBTNMegaBytes |
146 |
|
// |
147 |
|
this.radioBTNMegaBytes.AutoSize = true; |
148 |
< |
this.radioBTNMegaBytes.Location = new System.Drawing.Point(24, 53); |
148 |
> |
this.radioBTNMegaBytes.Location = new System.Drawing.Point(134, 3); |
149 |
|
this.radioBTNMegaBytes.Name = "radioBTNMegaBytes"; |
150 |
|
this.radioBTNMegaBytes.Size = new System.Drawing.Size(78, 17); |
151 |
|
this.radioBTNMegaBytes.TabIndex = 2; |
156 |
|
// radioBTNKiloBytes |
157 |
|
// |
158 |
|
this.radioBTNKiloBytes.AutoSize = true; |
159 |
< |
this.radioBTNKiloBytes.Location = new System.Drawing.Point(81, 30); |
159 |
> |
this.radioBTNKiloBytes.Location = new System.Drawing.Point(60, 3); |
160 |
|
this.radioBTNKiloBytes.Name = "radioBTNKiloBytes"; |
161 |
|
this.radioBTNKiloBytes.Size = new System.Drawing.Size(68, 17); |
162 |
|
this.radioBTNKiloBytes.TabIndex = 1; |
168 |
|
// |
169 |
|
this.radioBTNBytes.AutoSize = true; |
170 |
|
this.radioBTNBytes.Checked = true; |
171 |
< |
this.radioBTNBytes.Location = new System.Drawing.Point(24, 30); |
171 |
> |
this.radioBTNBytes.Location = new System.Drawing.Point(3, 3); |
172 |
|
this.radioBTNBytes.Name = "radioBTNBytes"; |
173 |
|
this.radioBTNBytes.Size = new System.Drawing.Size(51, 17); |
174 |
|
this.radioBTNBytes.TabIndex = 0; |
177 |
|
this.radioBTNBytes.UseVisualStyleBackColor = true; |
178 |
|
this.radioBTNBytes.CheckedChanged += new System.EventHandler(this.radioBTNBytes_CheckedChanged); |
179 |
|
// |
202 |
– |
// btnCalcStartAddr |
203 |
– |
// |
204 |
– |
this.main_flow.SetFlowBreak(this.btnCalcStartAddr, true); |
205 |
– |
this.btnCalcStartAddr.Location = new System.Drawing.Point(146, 194); |
206 |
– |
this.btnCalcStartAddr.Name = "btnCalcStartAddr"; |
207 |
– |
this.btnCalcStartAddr.Size = new System.Drawing.Size(137, 50); |
208 |
– |
this.btnCalcStartAddr.TabIndex = 10; |
209 |
– |
this.btnCalcStartAddr.Text = "Calculate Starting Address from Dump Size"; |
210 |
– |
this.btnCalcStartAddr.UseVisualStyleBackColor = true; |
211 |
– |
this.btnCalcStartAddr.Click += new System.EventHandler(this.btnCalcStartAddr_Click); |
212 |
– |
// |
180 |
|
// btnCalcEndAddr |
181 |
|
// |
182 |
< |
this.btnCalcEndAddr.Location = new System.Drawing.Point(3, 194); |
182 |
> |
this.btnCalcEndAddr.Location = new System.Drawing.Point(39, 167); |
183 |
|
this.btnCalcEndAddr.Name = "btnCalcEndAddr"; |
184 |
|
this.btnCalcEndAddr.Size = new System.Drawing.Size(137, 50); |
185 |
|
this.btnCalcEndAddr.TabIndex = 9; |
187 |
|
this.btnCalcEndAddr.UseVisualStyleBackColor = true; |
188 |
|
this.btnCalcEndAddr.Click += new System.EventHandler(this.btnCalcEndAddr_Click); |
189 |
|
// |
190 |
+ |
// btnCalcStartAddr |
191 |
+ |
// |
192 |
+ |
this.btnCalcStartAddr.Location = new System.Drawing.Point(182, 167); |
193 |
+ |
this.btnCalcStartAddr.Name = "btnCalcStartAddr"; |
194 |
+ |
this.btnCalcStartAddr.Size = new System.Drawing.Size(137, 50); |
195 |
+ |
this.btnCalcStartAddr.TabIndex = 10; |
196 |
+ |
this.btnCalcStartAddr.Text = "Calculate Starting Address from Dump Size"; |
197 |
+ |
this.btnCalcStartAddr.UseVisualStyleBackColor = true; |
198 |
+ |
this.btnCalcStartAddr.Click += new System.EventHandler(this.btnCalcStartAddr_Click); |
199 |
+ |
// |
200 |
|
// btnCalcDumpSize |
201 |
|
// |
202 |
< |
this.btnCalcDumpSize.Location = new System.Drawing.Point(3, 250); |
202 |
> |
this.btnCalcDumpSize.Location = new System.Drawing.Point(39, 223); |
203 |
|
this.btnCalcDumpSize.Name = "btnCalcDumpSize"; |
204 |
|
this.btnCalcDumpSize.Size = new System.Drawing.Size(280, 50); |
205 |
|
this.btnCalcDumpSize.TabIndex = 8; |
210 |
|
// btnDumpRam |
211 |
|
// |
212 |
|
this.btnDumpRam.Font = new System.Drawing.Font("Arial Black", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
213 |
< |
this.btnDumpRam.Location = new System.Drawing.Point(3, 306); |
213 |
> |
this.btnDumpRam.Location = new System.Drawing.Point(39, 279); |
214 |
|
this.btnDumpRam.Name = "btnDumpRam"; |
215 |
|
this.btnDumpRam.Size = new System.Drawing.Size(280, 50); |
216 |
|
this.btnDumpRam.TabIndex = 11; |
226 |
|
this.dumpsaver.SupportMultiDottedExtensions = true; |
227 |
|
this.dumpsaver.Title = "Please choose the file to save the ram dump to"; |
228 |
|
// |
229 |
+ |
// flowLayoutPanel1 |
230 |
+ |
// |
231 |
+ |
this.flowLayoutPanel1.Controls.Add(this.radioBTNBytes); |
232 |
+ |
this.flowLayoutPanel1.Controls.Add(this.radioBTNKiloBytes); |
233 |
+ |
this.flowLayoutPanel1.Controls.Add(this.radioBTNMegaBytes); |
234 |
+ |
this.flowLayoutPanel1.Controls.Add(this.radioBTNGigaBytes); |
235 |
+ |
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; |
236 |
+ |
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 16); |
237 |
+ |
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
238 |
+ |
this.flowLayoutPanel1.Size = new System.Drawing.Size(296, 30); |
239 |
+ |
this.flowLayoutPanel1.TabIndex = 12; |
240 |
+ |
// |
241 |
|
// FloatingRamDumperDialog |
242 |
|
// |
243 |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
244 |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
245 |
< |
this.ClientSize = new System.Drawing.Size(295, 398); |
246 |
< |
this.Controls.Add(this.main_flow); |
245 |
> |
this.ClientSize = new System.Drawing.Size(367, 344); |
246 |
> |
this.Controls.Add(this.lblStart); |
247 |
> |
this.Controls.Add(this.txtStart); |
248 |
> |
this.Controls.Add(this.lblEnd); |
249 |
> |
this.Controls.Add(this.btnDumpRam); |
250 |
> |
this.Controls.Add(this.txtEnd); |
251 |
> |
this.Controls.Add(this.btnCalcDumpSize); |
252 |
> |
this.Controls.Add(this.grpBoxDumpSize); |
253 |
> |
this.Controls.Add(this.btnCalcStartAddr); |
254 |
> |
this.Controls.Add(this.btnCalcEndAddr); |
255 |
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
256 |
|
this.Name = "FloatingRamDumperDialog"; |
257 |
|
this.Text = "Ram Dump"; |
258 |
|
this.Load += new System.EventHandler(this.FloatingRamDumperDialog_Load); |
262 |
– |
this.main_flow.ResumeLayout(false); |
263 |
– |
this.main_flow.PerformLayout(); |
259 |
|
this.grpBoxDumpSize.ResumeLayout(false); |
260 |
|
this.grpBoxDumpSize.PerformLayout(); |
261 |
+ |
this.flowLayoutPanel1.ResumeLayout(false); |
262 |
+ |
this.flowLayoutPanel1.PerformLayout(); |
263 |
|
this.ResumeLayout(false); |
264 |
+ |
this.PerformLayout(); |
265 |
|
|
266 |
|
} |
267 |
|
|
268 |
|
#endregion |
269 |
|
|
272 |
– |
private System.Windows.Forms.FlowLayoutPanel main_flow; |
270 |
|
private System.Windows.Forms.Label lblStart; |
271 |
|
private System.Windows.Forms.MaskedHexBox txtStart; |
272 |
|
private System.Windows.Forms.Label lblEnd; |
283 |
|
internal System.Windows.Forms.Button btnCalcDumpSize; |
284 |
|
internal System.Windows.Forms.Button btnDumpRam; |
285 |
|
private System.Windows.Forms.SaveFileDialog dumpsaver; |
286 |
+ |
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
287 |
|
} |
288 |
|
} |