41 |
|
this.lblOctal = new System.Windows.Forms.Label(); |
42 |
|
this.lblFloat = new System.Windows.Forms.Label(); |
43 |
|
this.btnConvert = new System.Windows.Forms.Button(); |
44 |
< |
this.ieeE754FloatConverter1 = new System.Windows.Forms.IEEE754FloatConverter(); |
44 |
> |
this.FloatConverter = new System.Windows.Forms.IEEE754FloatConverter(); |
45 |
|
this.txtFloat = new System.Windows.Forms.MultiNumericBox(); |
46 |
|
this.txtOctal = new System.Windows.Forms.MultiNumericBox(); |
47 |
|
this.txtHex = new System.Windows.Forms.MultiNumericBox(); |
48 |
|
this.txtDecimal = new System.Windows.Forms.MultiNumericBox(); |
49 |
|
this.txtBinary = new System.Windows.Forms.MultiNumericBox(); |
50 |
|
this.txtInput = new System.Windows.Forms.MultiNumericBox(); |
51 |
+ |
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
52 |
|
this.grpInputType.SuspendLayout(); |
53 |
|
this.grpInputType_flow.SuspendLayout(); |
54 |
+ |
this.flowLayoutPanel1.SuspendLayout(); |
55 |
|
this.SuspendLayout(); |
56 |
|
// |
57 |
|
// grpInputType |
58 |
|
// |
59 |
+ |
this.grpInputType.AutoSize = true; |
60 |
|
this.grpInputType.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
61 |
|
this.grpInputType.Controls.Add(this.grpInputType_flow); |
62 |
|
this.grpInputType.Location = new System.Drawing.Point(12, 9); |
63 |
|
this.grpInputType.Name = "grpInputType"; |
64 |
< |
this.grpInputType.Size = new System.Drawing.Size(122, 142); |
64 |
> |
this.grpInputType.Size = new System.Drawing.Size(386, 46); |
65 |
|
this.grpInputType.TabIndex = 1; |
66 |
|
this.grpInputType.TabStop = false; |
67 |
|
this.grpInputType.Text = "Input Type"; |
80 |
|
this.grpInputType_flow.Dock = System.Windows.Forms.DockStyle.Fill; |
81 |
|
this.grpInputType_flow.Location = new System.Drawing.Point(3, 16); |
82 |
|
this.grpInputType_flow.Name = "grpInputType_flow"; |
83 |
< |
this.grpInputType_flow.Size = new System.Drawing.Size(116, 123); |
83 |
> |
this.grpInputType_flow.Size = new System.Drawing.Size(380, 27); |
84 |
|
this.grpInputType_flow.TabIndex = 0; |
85 |
|
// |
86 |
|
// chkBinary |
97 |
|
// chkdecimal |
98 |
|
// |
99 |
|
this.chkdecimal.AutoSize = true; |
100 |
< |
this.chkdecimal.Location = new System.Drawing.Point(3, 26); |
100 |
> |
this.chkdecimal.Location = new System.Drawing.Point(62, 3); |
101 |
|
this.chkdecimal.Name = "chkdecimal"; |
102 |
|
this.chkdecimal.Size = new System.Drawing.Size(61, 17); |
103 |
|
this.chkdecimal.TabIndex = 1; |
108 |
|
// chkhexadecimal |
109 |
|
// |
110 |
|
this.chkhexadecimal.AutoSize = true; |
111 |
< |
this.chkhexadecimal.Location = new System.Drawing.Point(3, 49); |
111 |
> |
this.chkhexadecimal.Location = new System.Drawing.Point(129, 3); |
112 |
|
this.chkhexadecimal.Name = "chkhexadecimal"; |
113 |
|
this.chkhexadecimal.Size = new System.Drawing.Size(84, 17); |
114 |
|
this.chkhexadecimal.TabIndex = 2; |
119 |
|
// chkoctal |
120 |
|
// |
121 |
|
this.chkoctal.AutoSize = true; |
122 |
< |
this.chkoctal.Location = new System.Drawing.Point(3, 72); |
122 |
> |
this.chkoctal.Location = new System.Drawing.Point(219, 3); |
123 |
|
this.chkoctal.Name = "chkoctal"; |
124 |
|
this.chkoctal.Size = new System.Drawing.Size(48, 17); |
125 |
|
this.chkoctal.TabIndex = 3; |
130 |
|
// chkieee754float |
131 |
|
// |
132 |
|
this.chkieee754float.AutoSize = true; |
133 |
< |
this.chkieee754float.Location = new System.Drawing.Point(3, 95); |
133 |
> |
this.chkieee754float.Location = new System.Drawing.Point(273, 3); |
134 |
|
this.chkieee754float.Name = "chkieee754float"; |
135 |
|
this.chkieee754float.Size = new System.Drawing.Size(100, 17); |
136 |
|
this.chkieee754float.TabIndex = 4; |
142 |
|
// lblBinary |
143 |
|
// |
144 |
|
this.lblBinary.AutoSize = true; |
145 |
< |
this.lblBinary.Location = new System.Drawing.Point(34, 182); |
145 |
> |
this.lblBinary.Location = new System.Drawing.Point(3, 0); |
146 |
|
this.lblBinary.Name = "lblBinary"; |
147 |
< |
this.lblBinary.Size = new System.Drawing.Size(39, 13); |
147 |
> |
this.lblBinary.Size = new System.Drawing.Size(75, 13); |
148 |
|
this.lblBinary.TabIndex = 8; |
149 |
< |
this.lblBinary.Text = "Binary:"; |
149 |
> |
this.lblBinary.Text = " Binary:"; |
150 |
|
// |
151 |
|
// lblDecimal |
152 |
|
// |
153 |
|
this.lblDecimal.AutoSize = true; |
154 |
< |
this.lblDecimal.Location = new System.Drawing.Point(25, 210); |
154 |
> |
this.lblDecimal.Location = new System.Drawing.Point(3, 28); |
155 |
|
this.lblDecimal.Name = "lblDecimal"; |
156 |
< |
this.lblDecimal.Size = new System.Drawing.Size(48, 13); |
156 |
> |
this.lblDecimal.Size = new System.Drawing.Size(69, 13); |
157 |
|
this.lblDecimal.TabIndex = 9; |
158 |
< |
this.lblDecimal.Text = "Decimal:"; |
158 |
> |
this.lblDecimal.Text = " Decimal:"; |
159 |
|
// |
160 |
|
// lblHex |
161 |
|
// |
162 |
|
this.lblHex.AutoSize = true; |
163 |
< |
this.lblHex.Location = new System.Drawing.Point(44, 238); |
163 |
> |
this.lblHex.Location = new System.Drawing.Point(3, 56); |
164 |
|
this.lblHex.Name = "lblHex"; |
165 |
< |
this.lblHex.Size = new System.Drawing.Size(29, 13); |
165 |
> |
this.lblHex.Size = new System.Drawing.Size(65, 13); |
166 |
|
this.lblHex.TabIndex = 10; |
167 |
< |
this.lblHex.Text = "Hex:"; |
167 |
> |
this.lblHex.Text = " Hex:"; |
168 |
|
// |
169 |
|
// lblOctal |
170 |
|
// |
171 |
|
this.lblOctal.AutoSize = true; |
172 |
< |
this.lblOctal.Location = new System.Drawing.Point(38, 266); |
172 |
> |
this.lblOctal.Location = new System.Drawing.Point(3, 84); |
173 |
|
this.lblOctal.Name = "lblOctal"; |
174 |
< |
this.lblOctal.Size = new System.Drawing.Size(35, 13); |
174 |
> |
this.lblOctal.Size = new System.Drawing.Size(71, 13); |
175 |
|
this.lblOctal.TabIndex = 11; |
176 |
< |
this.lblOctal.Text = "Octal:"; |
176 |
> |
this.lblOctal.Text = " Octal:"; |
177 |
|
// |
178 |
|
// lblFloat |
179 |
|
// |
180 |
|
this.lblFloat.AutoSize = true; |
181 |
< |
this.lblFloat.Location = new System.Drawing.Point(-2, 294); |
181 |
> |
this.lblFloat.Location = new System.Drawing.Point(3, 112); |
182 |
|
this.lblFloat.Name = "lblFloat"; |
183 |
|
this.lblFloat.Size = new System.Drawing.Size(75, 13); |
184 |
|
this.lblFloat.TabIndex = 12; |
187 |
|
// |
188 |
|
// btnConvert |
189 |
|
// |
190 |
< |
this.btnConvert.Location = new System.Drawing.Point(467, 14); |
190 |
> |
this.btnConvert.Location = new System.Drawing.Point(15, 89); |
191 |
|
this.btnConvert.Name = "btnConvert"; |
192 |
|
this.btnConvert.Size = new System.Drawing.Size(75, 23); |
193 |
|
this.btnConvert.TabIndex = 13; |
195 |
|
this.btnConvert.UseVisualStyleBackColor = true; |
196 |
|
this.btnConvert.Click += new System.EventHandler(this.btnConvert_Click); |
197 |
|
// |
198 |
< |
// ieeE754FloatConverter1 |
198 |
> |
// FloatConverter |
199 |
|
// |
200 |
< |
this.ieeE754FloatConverter1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
201 |
< |
this.ieeE754FloatConverter1.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
202 |
< |
this.ieeE754FloatConverter1.Location = new System.Drawing.Point(146, 55); |
203 |
< |
this.ieeE754FloatConverter1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); |
204 |
< |
this.ieeE754FloatConverter1.Name = "ieeE754FloatConverter1"; |
205 |
< |
this.ieeE754FloatConverter1.Size = new System.Drawing.Size(396, 96); |
206 |
< |
this.ieeE754FloatConverter1.TabIndex = 14; |
200 |
> |
this.FloatConverter.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; |
201 |
> |
this.FloatConverter.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
202 |
> |
this.FloatConverter.Location = new System.Drawing.Point(12, 265); |
203 |
> |
this.FloatConverter.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); |
204 |
> |
this.FloatConverter.Name = "FloatConverter"; |
205 |
> |
this.FloatConverter.Size = new System.Drawing.Size(396, 96); |
206 |
> |
this.FloatConverter.TabIndex = 14; |
207 |
|
// |
208 |
|
// txtFloat |
209 |
|
// |
210 |
|
this.txtFloat.AutoSize = true; |
211 |
|
this.txtFloat.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
212 |
+ |
this.flowLayoutPanel1.SetFlowBreak(this.txtFloat, true); |
213 |
|
this.txtFloat.Font = new System.Drawing.Font("Courier New", 12F); |
214 |
|
this.txtFloat.InputType = System.Windows.Forms.NumericInputTypes.IEEE754HexFloat; |
215 |
< |
this.txtFloat.Location = new System.Drawing.Point(76, 286); |
215 |
> |
this.txtFloat.Location = new System.Drawing.Point(81, 112); |
216 |
|
this.txtFloat.Margin = new System.Windows.Forms.Padding(0); |
217 |
|
this.txtFloat.Name = "txtFloat"; |
218 |
|
this.txtFloat.ReadOnly = true; |
219 |
< |
this.txtFloat.Size = new System.Drawing.Size(466, 28); |
219 |
> |
this.txtFloat.Size = new System.Drawing.Size(305, 28); |
220 |
|
this.txtFloat.TabIndex = 7; |
221 |
|
this.txtFloat.Value = "0"; |
222 |
|
this.txtFloat.Visible = false; |
225 |
|
// |
226 |
|
this.txtOctal.AutoSize = true; |
227 |
|
this.txtOctal.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
228 |
+ |
this.flowLayoutPanel1.SetFlowBreak(this.txtOctal, true); |
229 |
|
this.txtOctal.Font = new System.Drawing.Font("Courier New", 12F); |
230 |
|
this.txtOctal.InputType = System.Windows.Forms.NumericInputTypes.Octal; |
231 |
< |
this.txtOctal.Location = new System.Drawing.Point(76, 258); |
231 |
> |
this.txtOctal.Location = new System.Drawing.Point(77, 84); |
232 |
|
this.txtOctal.Margin = new System.Windows.Forms.Padding(0); |
233 |
|
this.txtOctal.Name = "txtOctal"; |
234 |
|
this.txtOctal.ReadOnly = true; |
235 |
< |
this.txtOctal.Size = new System.Drawing.Size(466, 28); |
235 |
> |
this.txtOctal.Size = new System.Drawing.Size(309, 28); |
236 |
|
this.txtOctal.TabIndex = 6; |
237 |
|
this.txtOctal.Value = "0"; |
238 |
|
// |
240 |
|
// |
241 |
|
this.txtHex.AutoSize = true; |
242 |
|
this.txtHex.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
243 |
+ |
this.flowLayoutPanel1.SetFlowBreak(this.txtHex, true); |
244 |
|
this.txtHex.Font = new System.Drawing.Font("Courier New", 12F); |
245 |
|
this.txtHex.InputType = System.Windows.Forms.NumericInputTypes.Hex; |
246 |
< |
this.txtHex.Location = new System.Drawing.Point(76, 230); |
246 |
> |
this.txtHex.Location = new System.Drawing.Point(71, 56); |
247 |
|
this.txtHex.Margin = new System.Windows.Forms.Padding(0); |
248 |
|
this.txtHex.Name = "txtHex"; |
249 |
|
this.txtHex.ReadOnly = true; |
250 |
< |
this.txtHex.Size = new System.Drawing.Size(466, 28); |
250 |
> |
this.txtHex.Size = new System.Drawing.Size(315, 28); |
251 |
|
this.txtHex.TabIndex = 5; |
252 |
|
this.txtHex.Value = "0"; |
253 |
|
// |
255 |
|
// |
256 |
|
this.txtDecimal.AutoSize = true; |
257 |
|
this.txtDecimal.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
258 |
+ |
this.flowLayoutPanel1.SetFlowBreak(this.txtDecimal, true); |
259 |
|
this.txtDecimal.Font = new System.Drawing.Font("Courier New", 12F); |
260 |
|
this.txtDecimal.InputType = System.Windows.Forms.NumericInputTypes.Decimal; |
261 |
< |
this.txtDecimal.Location = new System.Drawing.Point(76, 202); |
261 |
> |
this.txtDecimal.Location = new System.Drawing.Point(75, 28); |
262 |
|
this.txtDecimal.Margin = new System.Windows.Forms.Padding(0); |
263 |
|
this.txtDecimal.Name = "txtDecimal"; |
264 |
|
this.txtDecimal.ReadOnly = true; |
265 |
< |
this.txtDecimal.Size = new System.Drawing.Size(466, 28); |
265 |
> |
this.txtDecimal.Size = new System.Drawing.Size(311, 28); |
266 |
|
this.txtDecimal.TabIndex = 4; |
267 |
|
this.txtDecimal.Value = "0"; |
268 |
|
// |
270 |
|
// |
271 |
|
this.txtBinary.AutoSize = true; |
272 |
|
this.txtBinary.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
273 |
+ |
this.flowLayoutPanel1.SetFlowBreak(this.txtBinary, true); |
274 |
|
this.txtBinary.Font = new System.Drawing.Font("Courier New", 12F); |
275 |
|
this.txtBinary.InputType = System.Windows.Forms.NumericInputTypes.Binary; |
276 |
< |
this.txtBinary.Location = new System.Drawing.Point(76, 174); |
276 |
> |
this.txtBinary.Location = new System.Drawing.Point(81, 0); |
277 |
|
this.txtBinary.Margin = new System.Windows.Forms.Padding(0); |
278 |
|
this.txtBinary.Name = "txtBinary"; |
279 |
|
this.txtBinary.ReadOnly = true; |
280 |
< |
this.txtBinary.Size = new System.Drawing.Size(466, 28); |
280 |
> |
this.txtBinary.Size = new System.Drawing.Size(305, 28); |
281 |
|
this.txtBinary.TabIndex = 3; |
282 |
|
this.txtBinary.Value = "0"; |
283 |
|
// |
287 |
|
this.txtInput.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
288 |
|
this.txtInput.Font = new System.Drawing.Font("Courier New", 12F); |
289 |
|
this.txtInput.InputType = System.Windows.Forms.NumericInputTypes.Decimal; |
290 |
< |
this.txtInput.Location = new System.Drawing.Point(137, 9); |
290 |
> |
this.txtInput.Location = new System.Drawing.Point(12, 58); |
291 |
|
this.txtInput.Margin = new System.Windows.Forms.Padding(0); |
292 |
|
this.txtInput.Name = "txtInput"; |
293 |
|
this.txtInput.ReadOnly = false; |
294 |
< |
this.txtInput.Size = new System.Drawing.Size(327, 28); |
294 |
> |
this.txtInput.Size = new System.Drawing.Size(386, 28); |
295 |
|
this.txtInput.TabIndex = 2; |
296 |
|
this.txtInput.Value = "0"; |
297 |
|
// |
298 |
+ |
// flowLayoutPanel1 |
299 |
+ |
// |
300 |
+ |
this.flowLayoutPanel1.AutoScroll = true; |
301 |
+ |
this.flowLayoutPanel1.AutoSize = true; |
302 |
+ |
this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
303 |
+ |
this.flowLayoutPanel1.Controls.Add(this.lblBinary); |
304 |
+ |
this.flowLayoutPanel1.Controls.Add(this.txtBinary); |
305 |
+ |
this.flowLayoutPanel1.Controls.Add(this.lblDecimal); |
306 |
+ |
this.flowLayoutPanel1.Controls.Add(this.txtDecimal); |
307 |
+ |
this.flowLayoutPanel1.Controls.Add(this.lblHex); |
308 |
+ |
this.flowLayoutPanel1.Controls.Add(this.txtHex); |
309 |
+ |
this.flowLayoutPanel1.Controls.Add(this.lblOctal); |
310 |
+ |
this.flowLayoutPanel1.Controls.Add(this.txtOctal); |
311 |
+ |
this.flowLayoutPanel1.Controls.Add(this.lblFloat); |
312 |
+ |
this.flowLayoutPanel1.Controls.Add(this.txtFloat); |
313 |
+ |
this.flowLayoutPanel1.Location = new System.Drawing.Point(12, 118); |
314 |
+ |
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
315 |
+ |
this.flowLayoutPanel1.Size = new System.Drawing.Size(386, 140); |
316 |
+ |
this.flowLayoutPanel1.TabIndex = 15; |
317 |
+ |
// |
318 |
|
// FloatingDataTypeConverter |
319 |
|
// |
320 |
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
321 |
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
322 |
< |
this.ClientSize = new System.Drawing.Size(552, 335); |
322 |
> |
this.ClientSize = new System.Drawing.Size(426, 374); |
323 |
> |
this.Controls.Add(this.flowLayoutPanel1); |
324 |
|
this.Controls.Add(this.btnConvert); |
325 |
< |
this.Controls.Add(this.lblFloat); |
297 |
< |
this.Controls.Add(this.ieeE754FloatConverter1); |
298 |
< |
this.Controls.Add(this.lblOctal); |
299 |
< |
this.Controls.Add(this.lblHex); |
300 |
< |
this.Controls.Add(this.lblDecimal); |
301 |
< |
this.Controls.Add(this.lblBinary); |
302 |
< |
this.Controls.Add(this.txtFloat); |
303 |
< |
this.Controls.Add(this.txtOctal); |
304 |
< |
this.Controls.Add(this.txtHex); |
305 |
< |
this.Controls.Add(this.txtDecimal); |
306 |
< |
this.Controls.Add(this.txtBinary); |
325 |
> |
this.Controls.Add(this.FloatConverter); |
326 |
|
this.Controls.Add(this.txtInput); |
327 |
|
this.Controls.Add(this.grpInputType); |
328 |
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
332 |
|
this.grpInputType.PerformLayout(); |
333 |
|
this.grpInputType_flow.ResumeLayout(false); |
334 |
|
this.grpInputType_flow.PerformLayout(); |
335 |
+ |
this.flowLayoutPanel1.ResumeLayout(false); |
336 |
+ |
this.flowLayoutPanel1.PerformLayout(); |
337 |
|
this.ResumeLayout(false); |
338 |
|
this.PerformLayout(); |
339 |
|
|
360 |
|
private System.Windows.Forms.Label lblOctal; |
361 |
|
private System.Windows.Forms.Label lblFloat; |
362 |
|
private System.Windows.Forms.Button btnConvert; |
363 |
< |
private System.Windows.Forms.IEEE754FloatConverter ieeE754FloatConverter1; |
363 |
> |
private System.Windows.Forms.IEEE754FloatConverter FloatConverter; |
364 |
> |
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
365 |
|
|
366 |
|
|
367 |
|
} |