30 |
|
{ |
31 |
|
this.main_flow = new System.Windows.Forms.FlowLayoutPanel(); |
32 |
|
this.lblStart = new System.Windows.Forms.Label(); |
33 |
– |
this.lblEnd = new System.Windows.Forms.Label(); |
33 |
|
this.txtStart = new System.Windows.Forms.MaskedHexBox(); |
34 |
+ |
this.lblEnd = new System.Windows.Forms.Label(); |
35 |
|
this.txtEnd = new System.Windows.Forms.MaskedHexBox(); |
36 |
+ |
this.grpBoxDumpSize = new System.Windows.Forms.GroupBox(); |
37 |
+ |
this.lblDumpSize = new System.Windows.Forms.Label(); |
38 |
+ |
this.txtDumpSize = new System.Windows.Forms.TextBox(); |
39 |
+ |
this.radioBTNGigaBytes = new System.Windows.Forms.RadioButton(); |
40 |
+ |
this.radioBTNMegaBytes = new System.Windows.Forms.RadioButton(); |
41 |
+ |
this.radioBTNKiloBytes = new System.Windows.Forms.RadioButton(); |
42 |
+ |
this.radioBTNBytes = new System.Windows.Forms.RadioButton(); |
43 |
+ |
this.btnCalcStartAddr = new System.Windows.Forms.Button(); |
44 |
+ |
this.btnCalcEndAddr = new System.Windows.Forms.Button(); |
45 |
+ |
this.btnCalcDumpSize = new System.Windows.Forms.Button(); |
46 |
|
this.main_flow.SuspendLayout(); |
47 |
+ |
this.grpBoxDumpSize.SuspendLayout(); |
48 |
|
this.SuspendLayout(); |
49 |
|
// |
50 |
|
// main_flow |
53 |
|
this.main_flow.Controls.Add(this.txtStart); |
54 |
|
this.main_flow.Controls.Add(this.lblEnd); |
55 |
|
this.main_flow.Controls.Add(this.txtEnd); |
56 |
+ |
this.main_flow.Controls.Add(this.grpBoxDumpSize); |
57 |
+ |
this.main_flow.Controls.Add(this.btnCalcEndAddr); |
58 |
+ |
this.main_flow.Controls.Add(this.btnCalcStartAddr); |
59 |
+ |
this.main_flow.Controls.Add(this.btnCalcDumpSize); |
60 |
|
this.main_flow.Dock = System.Windows.Forms.DockStyle.Fill; |
61 |
|
this.main_flow.Location = new System.Drawing.Point(0, 0); |
62 |
|
this.main_flow.Name = "main_flow"; |
72 |
|
this.lblStart.TabIndex = 0; |
73 |
|
this.lblStart.Text = "Start Address:"; |
74 |
|
// |
60 |
– |
// lblEnd |
61 |
– |
// |
62 |
– |
this.lblEnd.AutoSize = true; |
63 |
– |
this.lblEnd.Location = new System.Drawing.Point(3, 24); |
64 |
– |
this.lblEnd.Name = "lblEnd"; |
65 |
– |
this.lblEnd.Size = new System.Drawing.Size(70, 13); |
66 |
– |
this.lblEnd.TabIndex = 1; |
67 |
– |
this.lblEnd.Text = "End Address:"; |
68 |
– |
// |
75 |
|
// txtStart |
76 |
|
// |
77 |
|
this.txtStart.AutoSize = true; |
89 |
|
this.txtStart.TextLength = 8; |
90 |
|
this.txtStart.Value = ((ulong)(0ul)); |
91 |
|
// |
92 |
+ |
// lblEnd |
93 |
+ |
// |
94 |
+ |
this.lblEnd.AutoSize = true; |
95 |
+ |
this.lblEnd.Location = new System.Drawing.Point(3, 24); |
96 |
+ |
this.lblEnd.Name = "lblEnd"; |
97 |
+ |
this.lblEnd.Size = new System.Drawing.Size(70, 13); |
98 |
+ |
this.lblEnd.TabIndex = 1; |
99 |
+ |
this.lblEnd.Text = "End Address:"; |
100 |
+ |
// |
101 |
|
// txtEnd |
102 |
|
// |
103 |
|
this.txtEnd.AutoSize = true; |
104 |
|
this.txtEnd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
105 |
+ |
this.main_flow.SetFlowBreak(this.txtEnd, true); |
106 |
|
this.txtEnd.Font = new System.Drawing.Font("Lucida Console", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
107 |
|
this.txtEnd.isAddressMask = true; |
108 |
|
this.txtEnd.Location = new System.Drawing.Point(76, 24); |
115 |
|
this.txtEnd.TextLength = 8; |
116 |
|
this.txtEnd.Value = ((ulong)(0ul)); |
117 |
|
// |
118 |
+ |
// grpBoxDumpSize |
119 |
+ |
// |
120 |
+ |
this.grpBoxDumpSize.Controls.Add(this.lblDumpSize); |
121 |
+ |
this.grpBoxDumpSize.Controls.Add(this.txtDumpSize); |
122 |
+ |
this.grpBoxDumpSize.Controls.Add(this.radioBTNGigaBytes); |
123 |
+ |
this.grpBoxDumpSize.Controls.Add(this.radioBTNMegaBytes); |
124 |
+ |
this.grpBoxDumpSize.Controls.Add(this.radioBTNKiloBytes); |
125 |
+ |
this.grpBoxDumpSize.Controls.Add(this.radioBTNBytes); |
126 |
+ |
this.main_flow.SetFlowBreak(this.grpBoxDumpSize, true); |
127 |
+ |
this.grpBoxDumpSize.Location = new System.Drawing.Point(3, 51); |
128 |
+ |
this.grpBoxDumpSize.Name = "grpBoxDumpSize"; |
129 |
+ |
this.grpBoxDumpSize.Size = new System.Drawing.Size(199, 137); |
130 |
+ |
this.grpBoxDumpSize.TabIndex = 4; |
131 |
+ |
this.grpBoxDumpSize.TabStop = false; |
132 |
+ |
this.grpBoxDumpSize.Text = "Dump Size"; |
133 |
+ |
// |
134 |
+ |
// lblDumpSize |
135 |
+ |
// |
136 |
+ |
this.lblDumpSize.AutoSize = true; |
137 |
+ |
this.lblDumpSize.Location = new System.Drawing.Point(29, 85); |
138 |
+ |
this.lblDumpSize.Name = "lblDumpSize"; |
139 |
+ |
this.lblDumpSize.Size = new System.Drawing.Size(89, 13); |
140 |
+ |
this.lblDumpSize.TabIndex = 5; |
141 |
+ |
this.lblDumpSize.Text = "Enter Dump Size:"; |
142 |
+ |
// |
143 |
+ |
// txtDumpSize |
144 |
+ |
// |
145 |
+ |
this.txtDumpSize.Location = new System.Drawing.Point(32, 103); |
146 |
+ |
this.txtDumpSize.MaxLength = 10; |
147 |
+ |
this.txtDumpSize.Name = "txtDumpSize"; |
148 |
+ |
this.txtDumpSize.Size = new System.Drawing.Size(117, 20); |
149 |
+ |
this.txtDumpSize.TabIndex = 4; |
150 |
+ |
this.txtDumpSize.Text = "0.00"; |
151 |
+ |
this.txtDumpSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; |
152 |
+ |
// |
153 |
+ |
// radioBTNGigaBytes |
154 |
+ |
// |
155 |
+ |
this.radioBTNGigaBytes.AutoSize = true; |
156 |
+ |
this.radioBTNGigaBytes.Location = new System.Drawing.Point(108, 53); |
157 |
+ |
this.radioBTNGigaBytes.Name = "radioBTNGigaBytes"; |
158 |
+ |
this.radioBTNGigaBytes.Size = new System.Drawing.Size(73, 17); |
159 |
+ |
this.radioBTNGigaBytes.TabIndex = 3; |
160 |
+ |
this.radioBTNGigaBytes.Text = "GigaBytes"; |
161 |
+ |
this.radioBTNGigaBytes.UseVisualStyleBackColor = true; |
162 |
+ |
this.radioBTNGigaBytes.CheckedChanged += new System.EventHandler(this.radioBTNGigaBytes_CheckedChanged); |
163 |
+ |
// |
164 |
+ |
// radioBTNMegaBytes |
165 |
+ |
// |
166 |
+ |
this.radioBTNMegaBytes.AutoSize = true; |
167 |
+ |
this.radioBTNMegaBytes.Location = new System.Drawing.Point(24, 53); |
168 |
+ |
this.radioBTNMegaBytes.Name = "radioBTNMegaBytes"; |
169 |
+ |
this.radioBTNMegaBytes.Size = new System.Drawing.Size(78, 17); |
170 |
+ |
this.radioBTNMegaBytes.TabIndex = 2; |
171 |
+ |
this.radioBTNMegaBytes.Text = "MegaBytes"; |
172 |
+ |
this.radioBTNMegaBytes.UseVisualStyleBackColor = true; |
173 |
+ |
this.radioBTNMegaBytes.CheckedChanged += new System.EventHandler(this.radioBTNMegaBytes_CheckedChanged); |
174 |
+ |
// |
175 |
+ |
// radioBTNKiloBytes |
176 |
+ |
// |
177 |
+ |
this.radioBTNKiloBytes.AutoSize = true; |
178 |
+ |
this.radioBTNKiloBytes.Location = new System.Drawing.Point(81, 30); |
179 |
+ |
this.radioBTNKiloBytes.Name = "radioBTNKiloBytes"; |
180 |
+ |
this.radioBTNKiloBytes.Size = new System.Drawing.Size(68, 17); |
181 |
+ |
this.radioBTNKiloBytes.TabIndex = 1; |
182 |
+ |
this.radioBTNKiloBytes.Text = "KiloBytes"; |
183 |
+ |
this.radioBTNKiloBytes.UseVisualStyleBackColor = true; |
184 |
+ |
this.radioBTNKiloBytes.CheckedChanged += new System.EventHandler(this.radioBTNKiloBytes_CheckedChanged); |
185 |
+ |
// |
186 |
+ |
// radioBTNBytes |
187 |
+ |
// |
188 |
+ |
this.radioBTNBytes.AutoSize = true; |
189 |
+ |
this.radioBTNBytes.Checked = true; |
190 |
+ |
this.radioBTNBytes.Location = new System.Drawing.Point(24, 30); |
191 |
+ |
this.radioBTNBytes.Name = "radioBTNBytes"; |
192 |
+ |
this.radioBTNBytes.Size = new System.Drawing.Size(51, 17); |
193 |
+ |
this.radioBTNBytes.TabIndex = 0; |
194 |
+ |
this.radioBTNBytes.TabStop = true; |
195 |
+ |
this.radioBTNBytes.Text = "Bytes"; |
196 |
+ |
this.radioBTNBytes.UseVisualStyleBackColor = true; |
197 |
+ |
this.radioBTNBytes.CheckedChanged += new System.EventHandler(this.radioBTNBytes_CheckedChanged); |
198 |
+ |
// |
199 |
+ |
// btnCalcStartAddr |
200 |
+ |
// |
201 |
+ |
this.main_flow.SetFlowBreak(this.btnCalcStartAddr, true); |
202 |
+ |
this.btnCalcStartAddr.Location = new System.Drawing.Point(146, 194); |
203 |
+ |
this.btnCalcStartAddr.Name = "btnCalcStartAddr"; |
204 |
+ |
this.btnCalcStartAddr.Size = new System.Drawing.Size(137, 50); |
205 |
+ |
this.btnCalcStartAddr.TabIndex = 10; |
206 |
+ |
this.btnCalcStartAddr.Text = "Calculate Starting Address from Dump Size"; |
207 |
+ |
this.btnCalcStartAddr.UseVisualStyleBackColor = true; |
208 |
+ |
this.btnCalcStartAddr.Click += new System.EventHandler(this.btnCalcStartAddr_Click); |
209 |
+ |
// |
210 |
+ |
// btnCalcEndAddr |
211 |
+ |
// |
212 |
+ |
this.btnCalcEndAddr.Location = new System.Drawing.Point(3, 194); |
213 |
+ |
this.btnCalcEndAddr.Name = "btnCalcEndAddr"; |
214 |
+ |
this.btnCalcEndAddr.Size = new System.Drawing.Size(137, 50); |
215 |
+ |
this.btnCalcEndAddr.TabIndex = 9; |
216 |
+ |
this.btnCalcEndAddr.Text = "Calculate Ending Address from Dump Size"; |
217 |
+ |
this.btnCalcEndAddr.UseVisualStyleBackColor = true; |
218 |
+ |
this.btnCalcEndAddr.Click += new System.EventHandler(this.btnCalcEndAddr_Click); |
219 |
+ |
// |
220 |
+ |
// btnCalcDumpSize |
221 |
+ |
// |
222 |
+ |
this.btnCalcDumpSize.Location = new System.Drawing.Point(3, 250); |
223 |
+ |
this.btnCalcDumpSize.Name = "btnCalcDumpSize"; |
224 |
+ |
this.btnCalcDumpSize.Size = new System.Drawing.Size(280, 50); |
225 |
+ |
this.btnCalcDumpSize.TabIndex = 8; |
226 |
+ |
this.btnCalcDumpSize.Text = "Calculate Dump Size from Start and End Address"; |
227 |
+ |
this.btnCalcDumpSize.UseVisualStyleBackColor = true; |
228 |
+ |
this.btnCalcDumpSize.Click += new System.EventHandler(this.btnCalcDumpSize_Click); |
229 |
+ |
// |
230 |
|
// FloatingRamDumperDialog |
231 |
|
// |
232 |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
239 |
|
this.Load += new System.EventHandler(this.FloatingRamDumperDialog_Load); |
240 |
|
this.main_flow.ResumeLayout(false); |
241 |
|
this.main_flow.PerformLayout(); |
242 |
+ |
this.grpBoxDumpSize.ResumeLayout(false); |
243 |
+ |
this.grpBoxDumpSize.PerformLayout(); |
244 |
|
this.ResumeLayout(false); |
245 |
|
|
246 |
|
} |
252 |
|
private System.Windows.Forms.MaskedHexBox txtStart; |
253 |
|
private System.Windows.Forms.Label lblEnd; |
254 |
|
private System.Windows.Forms.MaskedHexBox txtEnd; |
255 |
+ |
internal System.Windows.Forms.GroupBox grpBoxDumpSize; |
256 |
+ |
internal System.Windows.Forms.Label lblDumpSize; |
257 |
+ |
internal System.Windows.Forms.TextBox txtDumpSize; |
258 |
+ |
internal System.Windows.Forms.RadioButton radioBTNGigaBytes; |
259 |
+ |
internal System.Windows.Forms.RadioButton radioBTNMegaBytes; |
260 |
+ |
internal System.Windows.Forms.RadioButton radioBTNKiloBytes; |
261 |
+ |
internal System.Windows.Forms.RadioButton radioBTNBytes; |
262 |
+ |
internal System.Windows.Forms.Button btnCalcEndAddr; |
263 |
+ |
internal System.Windows.Forms.Button btnCalcStartAddr; |
264 |
+ |
internal System.Windows.Forms.Button btnCalcDumpSize; |
265 |
|
} |
266 |
|
} |