Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /********************************************************************* |
2 | * |
||
3 | * Main Dialog for MPFS21 |
||
4 | * |
||
5 | ********************************************************************* |
||
6 | * FileName: MPFS21Form.cs |
||
7 | * Dependencies: Microsoft .NET Framework 2.0 |
||
8 | * Processor: x86 |
||
9 | * Complier: Microsoft Visual C# 2008 Express Edition |
||
10 | * Company: Microchip Technology, Inc. |
||
11 | * |
||
12 | * Software License Agreement |
||
13 | * |
||
14 | * This software is owned by Microchip Technology Inc. ("Microchip") |
||
15 | * and is supplied to you for use exclusively as described in the |
||
16 | * associated software agreement. This software is protected by |
||
17 | * software and other intellectual property laws. Any use in |
||
18 | * violation of the software license may subject the user to criminal |
||
19 | * sanctions as well as civil liability. Copyright 2008 Microchip |
||
20 | * Technology Inc. All rights reserved. |
||
21 | * |
||
22 | * |
||
23 | * THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT |
||
24 | * WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT |
||
25 | * LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A |
||
26 | * PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
||
27 | * MICROCHIP BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR |
||
28 | * CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF |
||
29 | * PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS |
||
30 | * BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE |
||
31 | * THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER |
||
32 | * SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT |
||
33 | * (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE. |
||
34 | * |
||
35 | * |
||
36 | * Author Date Comment |
||
37 | *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
38 | * Elliott Wood 4/17/2008 Original |
||
39 | ********************************************************************/ |
||
40 | namespace MPFS21 |
||
41 | { |
||
42 | partial class MPFS21Form |
||
43 | { |
||
44 | /// <summary> |
||
45 | /// Required designer variable. |
||
46 | /// </summary> |
||
47 | private System.ComponentModel.IContainer components = null; |
||
48 | |||
49 | /// <summary> |
||
50 | /// Clean up any resources being used. |
||
51 | /// </summary> |
||
52 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
53 | protected override void Dispose(bool disposing) |
||
54 | { |
||
55 | if (disposing && (components != null)) |
||
56 | { |
||
57 | components.Dispose(); |
||
58 | } |
||
59 | base.Dispose(disposing); |
||
60 | } |
||
61 | |||
62 | #region Windows Form Designer generated code |
||
63 | |||
64 | /// <summary> |
||
65 | /// Required method for Designer support - do not modify |
||
66 | /// the contents of this method with the code editor. |
||
67 | /// </summary> |
||
68 | private void InitializeComponent() |
||
69 | { |
||
70 | this.components = new System.ComponentModel.Container(); |
||
71 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MPFS21Form)); |
||
72 | this.label1 = new System.Windows.Forms.Label(); |
||
73 | this.label2 = new System.Windows.Forms.Label(); |
||
74 | this.label3 = new System.Windows.Forms.Label(); |
||
75 | this.label4 = new System.Windows.Forms.Label(); |
||
76 | this.groupBox1 = new System.Windows.Forms.GroupBox(); |
||
77 | this.txtSourceImage = new System.Windows.Forms.TextBox(); |
||
78 | this.btnSourceDir = new System.Windows.Forms.Button(); |
||
79 | this.txtSourceDir = new System.Windows.Forms.TextBox(); |
||
80 | this.lblInput = new System.Windows.Forms.Label(); |
||
81 | this.radStartImg = new System.Windows.Forms.RadioButton(); |
||
82 | this.radStartDir = new System.Windows.Forms.RadioButton(); |
||
83 | this.label5 = new System.Windows.Forms.Label(); |
||
84 | this.groupBox2 = new System.Windows.Forms.GroupBox(); |
||
85 | this.label8 = new System.Windows.Forms.Label(); |
||
86 | this.btnAdvanced = new System.Windows.Forms.Button(); |
||
87 | this.radOutputMDD = new System.Windows.Forms.RadioButton(); |
||
88 | this.radOutputASM30 = new System.Windows.Forms.RadioButton(); |
||
89 | this.radOutputC18 = new System.Windows.Forms.RadioButton(); |
||
90 | this.radOutputBIN = new System.Windows.Forms.RadioButton(); |
||
91 | this.label7 = new System.Windows.Forms.Label(); |
||
92 | this.groupBox3 = new System.Windows.Forms.GroupBox(); |
||
93 | this.lblType = new System.Windows.Forms.Label(); |
||
94 | this.txtImageName = new System.Windows.Forms.TextBox(); |
||
95 | this.label10 = new System.Windows.Forms.Label(); |
||
96 | this.btnProjectDir = new System.Windows.Forms.Button(); |
||
97 | this.txtProjectDir = new System.Windows.Forms.TextBox(); |
||
98 | this.label9 = new System.Windows.Forms.Label(); |
||
99 | this.groupBox4 = new System.Windows.Forms.GroupBox(); |
||
100 | this.txtUploadDestination = new System.Windows.Forms.TextBox(); |
||
101 | this.chkUpload = new System.Windows.Forms.CheckBox(); |
||
102 | this.label11 = new System.Windows.Forms.Label(); |
||
103 | this.btnUploadSettings = new System.Windows.Forms.Button(); |
||
104 | this.btnGenerate = new System.Windows.Forms.Button(); |
||
105 | this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
||
106 | this.lblAbout = new System.Windows.Forms.Label(); |
||
107 | this.myProgress = new System.Windows.Forms.ProgressBar(); |
||
108 | this.myStatusMsg = new System.Windows.Forms.Label(); |
||
109 | this.myToolTip = new System.Windows.Forms.ToolTip(this.components); |
||
110 | this.groupBox1.SuspendLayout(); |
||
111 | this.groupBox2.SuspendLayout(); |
||
112 | this.groupBox3.SuspendLayout(); |
||
113 | this.groupBox4.SuspendLayout(); |
||
114 | this.flowLayoutPanel1.SuspendLayout(); |
||
115 | this.SuspendLayout(); |
||
116 | // |
||
117 | // label1 |
||
118 | // |
||
119 | this.label1.AutoSize = true; |
||
120 | this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
121 | this.label1.Location = new System.Drawing.Point(5, 16); |
||
122 | this.label1.Margin = new System.Windows.Forms.Padding(0, 0, 5, 0); |
||
123 | this.label1.Name = "label1"; |
||
124 | this.label1.Size = new System.Drawing.Size(27, 24); |
||
125 | this.label1.TabIndex = 1; |
||
126 | this.label1.Text = "1."; |
||
127 | // |
||
128 | // label2 |
||
129 | // |
||
130 | this.label2.AutoSize = true; |
||
131 | this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); |
||
132 | this.label2.Location = new System.Drawing.Point(5, 13); |
||
133 | this.label2.Name = "label2"; |
||
134 | this.label2.Size = new System.Drawing.Size(27, 24); |
||
135 | this.label2.TabIndex = 2; |
||
136 | this.label2.Text = "2."; |
||
137 | // |
||
138 | // label3 |
||
139 | // |
||
140 | this.label3.AutoSize = true; |
||
141 | this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); |
||
142 | this.label3.Location = new System.Drawing.Point(5, 18); |
||
143 | this.label3.Name = "label3"; |
||
144 | this.label3.Size = new System.Drawing.Size(27, 24); |
||
145 | this.label3.TabIndex = 3; |
||
146 | this.label3.Text = "3."; |
||
147 | // |
||
148 | // label4 |
||
149 | // |
||
150 | this.label4.AutoSize = true; |
||
151 | this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold); |
||
152 | this.label4.Location = new System.Drawing.Point(5, 18); |
||
153 | this.label4.Name = "label4"; |
||
154 | this.label4.Size = new System.Drawing.Size(27, 24); |
||
155 | this.label4.TabIndex = 4; |
||
156 | this.label4.Text = "4."; |
||
157 | // |
||
158 | // groupBox1 |
||
159 | // |
||
160 | this.groupBox1.Controls.Add(this.txtSourceImage); |
||
161 | this.groupBox1.Controls.Add(this.btnSourceDir); |
||
162 | this.groupBox1.Controls.Add(this.txtSourceDir); |
||
163 | this.groupBox1.Controls.Add(this.lblInput); |
||
164 | this.groupBox1.Controls.Add(this.radStartImg); |
||
165 | this.groupBox1.Controls.Add(this.label1); |
||
166 | this.groupBox1.Controls.Add(this.radStartDir); |
||
167 | this.groupBox1.Controls.Add(this.label5); |
||
168 | this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
169 | this.groupBox1.Location = new System.Drawing.Point(15, 5); |
||
170 | this.groupBox1.Margin = new System.Windows.Forms.Padding(15, 5, 5, 10); |
||
171 | this.groupBox1.Name = "groupBox1"; |
||
172 | this.groupBox1.Padding = new System.Windows.Forms.Padding(5, 5, 15, 10); |
||
173 | this.groupBox1.Size = new System.Drawing.Size(545, 85); |
||
174 | this.groupBox1.TabIndex = 5; |
||
175 | this.groupBox1.TabStop = false; |
||
176 | this.groupBox1.Text = "Source Settings"; |
||
177 | // |
||
178 | // txtSourceImage |
||
179 | // |
||
180 | this.txtSourceImage.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; |
||
181 | this.txtSourceImage.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystem; |
||
182 | this.txtSourceImage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
183 | this.txtSourceImage.Location = new System.Drawing.Point(47, 52); |
||
184 | this.txtSourceImage.Name = "txtSourceImage"; |
||
185 | this.txtSourceImage.Size = new System.Drawing.Size(389, 20); |
||
186 | this.txtSourceImage.TabIndex = 6; |
||
187 | this.txtSourceImage.TextChanged += new System.EventHandler(this.CorrectDisplay); |
||
188 | // |
||
189 | // btnSourceDir |
||
190 | // |
||
191 | this.btnSourceDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
192 | this.btnSourceDir.Location = new System.Drawing.Point(442, 50); |
||
193 | this.btnSourceDir.Name = "btnSourceDir"; |
||
194 | this.btnSourceDir.Size = new System.Drawing.Size(75, 23); |
||
195 | this.btnSourceDir.TabIndex = 5; |
||
196 | this.btnSourceDir.Text = "Browse..."; |
||
197 | this.btnSourceDir.UseVisualStyleBackColor = true; |
||
198 | this.btnSourceDir.Click += new System.EventHandler(this.btnSourceDir_Click); |
||
199 | // |
||
200 | // txtSourceDir |
||
201 | // |
||
202 | this.txtSourceDir.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; |
||
203 | this.txtSourceDir.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystemDirectories; |
||
204 | this.txtSourceDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
205 | this.txtSourceDir.Location = new System.Drawing.Point(47, 52); |
||
206 | this.txtSourceDir.Name = "txtSourceDir"; |
||
207 | this.txtSourceDir.Size = new System.Drawing.Size(389, 20); |
||
208 | this.txtSourceDir.TabIndex = 4; |
||
209 | this.myToolTip.SetToolTip(this.txtSourceDir, "Selects the source file(s) for the remainder of the process."); |
||
210 | // |
||
211 | // lblInput |
||
212 | // |
||
213 | this.lblInput.AutoSize = true; |
||
214 | this.lblInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
215 | this.lblInput.Location = new System.Drawing.Point(44, 36); |
||
216 | this.lblInput.Name = "lblInput"; |
||
217 | this.lblInput.Size = new System.Drawing.Size(89, 13); |
||
218 | this.lblInput.TabIndex = 3; |
||
219 | this.lblInput.Text = "Source Directory:"; |
||
220 | // |
||
221 | // radStartImg |
||
222 | // |
||
223 | this.radStartImg.AutoSize = true; |
||
224 | this.radStartImg.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
225 | this.radStartImg.Location = new System.Drawing.Point(274, 16); |
||
226 | this.radStartImg.Name = "radStartImg"; |
||
227 | this.radStartImg.Size = new System.Drawing.Size(128, 17); |
||
228 | this.radStartImg.TabIndex = 2; |
||
229 | this.radStartImg.Text = "Pre-Built MPFS Image"; |
||
230 | this.myToolTip.SetToolTip(this.radStartImg, "Upload an existing BIN image to a device."); |
||
231 | this.radStartImg.UseVisualStyleBackColor = true; |
||
232 | this.radStartImg.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
233 | // |
||
234 | // radStartDir |
||
235 | // |
||
236 | this.radStartDir.AutoSize = true; |
||
237 | this.radStartDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
238 | this.radStartDir.Location = new System.Drawing.Point(135, 16); |
||
239 | this.radStartDir.Name = "radStartDir"; |
||
240 | this.radStartDir.Size = new System.Drawing.Size(117, 17); |
||
241 | this.radStartDir.TabIndex = 1; |
||
242 | this.radStartDir.TabStop = true; |
||
243 | this.radStartDir.Text = "Webpage Directory"; |
||
244 | this.myToolTip.SetToolTip(this.radStartDir, "Generate a new image from a directory of files."); |
||
245 | this.radStartDir.UseVisualStyleBackColor = true; |
||
246 | this.radStartDir.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
247 | // |
||
248 | // label5 |
||
249 | // |
||
250 | this.label5.AutoSize = true; |
||
251 | this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
252 | this.label5.Location = new System.Drawing.Point(44, 18); |
||
253 | this.label5.Name = "label5"; |
||
254 | this.label5.Size = new System.Drawing.Size(57, 13); |
||
255 | this.label5.TabIndex = 0; |
||
256 | this.label5.Text = "Start With:"; |
||
257 | // |
||
258 | // groupBox2 |
||
259 | // |
||
260 | this.groupBox2.Controls.Add(this.label8); |
||
261 | this.groupBox2.Controls.Add(this.btnAdvanced); |
||
262 | this.groupBox2.Controls.Add(this.radOutputMDD); |
||
263 | this.groupBox2.Controls.Add(this.label2); |
||
264 | this.groupBox2.Controls.Add(this.radOutputASM30); |
||
265 | this.groupBox2.Controls.Add(this.radOutputC18); |
||
266 | this.groupBox2.Controls.Add(this.radOutputBIN); |
||
267 | this.groupBox2.Controls.Add(this.label7); |
||
268 | this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
269 | this.groupBox2.Location = new System.Drawing.Point(15, 105); |
||
270 | this.groupBox2.Margin = new System.Windows.Forms.Padding(15, 5, 15, 5); |
||
271 | this.groupBox2.Name = "groupBox2"; |
||
272 | this.groupBox2.Padding = new System.Windows.Forms.Padding(5, 5, 15, 10); |
||
273 | this.groupBox2.Size = new System.Drawing.Size(545, 80); |
||
274 | this.groupBox2.TabIndex = 6; |
||
275 | this.groupBox2.TabStop = false; |
||
276 | this.groupBox2.Text = "Processing Options"; |
||
277 | // |
||
278 | // label8 |
||
279 | // |
||
280 | this.label8.AutoSize = true; |
||
281 | this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
282 | this.label8.Location = new System.Drawing.Point(44, 49); |
||
283 | this.label8.Name = "label8"; |
||
284 | this.label8.Size = new System.Drawing.Size(62, 13); |
||
285 | this.label8.TabIndex = 6; |
||
286 | this.label8.Text = "Processing:"; |
||
287 | // |
||
288 | // btnAdvanced |
||
289 | // |
||
290 | this.btnAdvanced.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
291 | this.btnAdvanced.Location = new System.Drawing.Point(135, 44); |
||
292 | this.btnAdvanced.Name = "btnAdvanced"; |
||
293 | this.btnAdvanced.Size = new System.Drawing.Size(125, 23); |
||
294 | this.btnAdvanced.TabIndex = 5; |
||
295 | this.btnAdvanced.Text = "Advanced Settings"; |
||
296 | this.btnAdvanced.UseVisualStyleBackColor = true; |
||
297 | this.btnAdvanced.Click += new System.EventHandler(this.btnAdvanced_Click); |
||
298 | // |
||
299 | // radOutputMDD |
||
300 | // |
||
301 | this.radOutputMDD.AutoSize = true; |
||
302 | this.radOutputMDD.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
303 | this.radOutputMDD.Location = new System.Drawing.Point(432, 21); |
||
304 | this.radOutputMDD.Name = "radOutputMDD"; |
||
305 | this.radOutputMDD.Size = new System.Drawing.Size(50, 17); |
||
306 | this.radOutputMDD.TabIndex = 4; |
||
307 | this.radOutputMDD.Text = "MDD"; |
||
308 | this.myToolTip.SetToolTip(this.radOutputMDD, "Use this option to store pages on drive using MDD file system."); |
||
309 | this.radOutputMDD.UseVisualStyleBackColor = true; |
||
310 | this.radOutputMDD.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
311 | // |
||
312 | // radOutputASM30 |
||
313 | // |
||
314 | this.radOutputASM30.AutoSize = true; |
||
315 | this.radOutputASM30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
316 | this.radOutputASM30.Location = new System.Drawing.Point(321, 21); |
||
317 | this.radOutputASM30.Name = "radOutputASM30"; |
||
318 | this.radOutputASM30.Size = new System.Drawing.Size(92, 17); |
||
319 | this.radOutputASM30.TabIndex = 3; |
||
320 | this.radOutputASM30.Text = "ASM30 Image"; |
||
321 | this.myToolTip.SetToolTip(this.radOutputASM30, "Output an image compatible with C30 \r\nto be stored in internal Flash program \r\nme" + |
||
322 | "mory. Remember to add the \r\ngenerated .S file to your project."); |
||
323 | this.radOutputASM30.UseVisualStyleBackColor = true; |
||
324 | this.radOutputASM30.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
325 | // |
||
326 | // radOutputC18 |
||
327 | // |
||
328 | this.radOutputC18.AutoSize = true; |
||
329 | this.radOutputC18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
330 | this.radOutputC18.Location = new System.Drawing.Point(221, 21); |
||
331 | this.radOutputC18.Name = "radOutputC18"; |
||
332 | this.radOutputC18.Size = new System.Drawing.Size(100, 17); |
||
333 | this.radOutputC18.TabIndex = 2; |
||
334 | this.radOutputC18.Text = "C18/C32 Image"; |
||
335 | this.myToolTip.SetToolTip(this.radOutputC18, "Output an image compatible with \r\nC18/C32 to be stored in internal Flash \r\nprogra" + |
||
336 | "m memory."); |
||
337 | this.radOutputC18.UseVisualStyleBackColor = true; |
||
338 | this.radOutputC18.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
339 | // |
||
340 | // radOutputBIN |
||
341 | // |
||
342 | this.radOutputBIN.AutoSize = true; |
||
343 | this.radOutputBIN.Checked = true; |
||
344 | this.radOutputBIN.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
345 | this.radOutputBIN.Location = new System.Drawing.Point(135, 21); |
||
346 | this.radOutputBIN.Name = "radOutputBIN"; |
||
347 | this.radOutputBIN.Size = new System.Drawing.Size(75, 17); |
||
348 | this.radOutputBIN.TabIndex = 1; |
||
349 | this.radOutputBIN.TabStop = true; |
||
350 | this.radOutputBIN.Text = "BIN Image"; |
||
351 | this.myToolTip.SetToolTip(this.radOutputBIN, "Output a BIN image to be \r\nuploaded to external storage,\r\nsuch as EEPROM or seria" + |
||
352 | "l Flash."); |
||
353 | this.radOutputBIN.UseVisualStyleBackColor = true; |
||
354 | this.radOutputBIN.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
355 | // |
||
356 | // label7 |
||
357 | // |
||
358 | this.label7.AutoSize = true; |
||
359 | this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
360 | this.label7.Location = new System.Drawing.Point(44, 23); |
||
361 | this.label7.Name = "label7"; |
||
362 | this.label7.Size = new System.Drawing.Size(42, 13); |
||
363 | this.label7.TabIndex = 0; |
||
364 | this.label7.Text = "Output:"; |
||
365 | // |
||
366 | // groupBox3 |
||
367 | // |
||
368 | this.groupBox3.Controls.Add(this.lblType); |
||
369 | this.groupBox3.Controls.Add(this.txtImageName); |
||
370 | this.groupBox3.Controls.Add(this.label10); |
||
371 | this.groupBox3.Controls.Add(this.label3); |
||
372 | this.groupBox3.Controls.Add(this.btnProjectDir); |
||
373 | this.groupBox3.Controls.Add(this.txtProjectDir); |
||
374 | this.groupBox3.Controls.Add(this.label9); |
||
375 | this.groupBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
376 | this.groupBox3.Location = new System.Drawing.Point(15, 195); |
||
377 | this.groupBox3.Margin = new System.Windows.Forms.Padding(15, 5, 15, 5); |
||
378 | this.groupBox3.Name = "groupBox3"; |
||
379 | this.groupBox3.Padding = new System.Windows.Forms.Padding(5, 5, 15, 10); |
||
380 | this.groupBox3.Size = new System.Drawing.Size(545, 93); |
||
381 | this.groupBox3.TabIndex = 7; |
||
382 | this.groupBox3.TabStop = false; |
||
383 | this.groupBox3.Text = "Output Files"; |
||
384 | // |
||
385 | // lblType |
||
386 | // |
||
387 | this.lblType.AutoSize = true; |
||
388 | this.lblType.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
389 | this.lblType.Location = new System.Drawing.Point(266, 63); |
||
390 | this.lblType.Name = "lblType"; |
||
391 | this.lblType.Size = new System.Drawing.Size(34, 13); |
||
392 | this.lblType.TabIndex = 5; |
||
393 | this.lblType.Text = "(*.bin)"; |
||
394 | // |
||
395 | // txtImageName |
||
396 | // |
||
397 | this.txtImageName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
398 | this.txtImageName.Location = new System.Drawing.Point(135, 60); |
||
399 | this.txtImageName.Name = "txtImageName"; |
||
400 | this.txtImageName.Size = new System.Drawing.Size(125, 20); |
||
401 | this.txtImageName.TabIndex = 4; |
||
402 | this.myToolTip.SetToolTip(this.txtImageName, "File name for the image \r\nyou\'d like to create."); |
||
403 | // |
||
404 | // label10 |
||
405 | // |
||
406 | this.label10.AutoSize = true; |
||
407 | this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
408 | this.label10.Location = new System.Drawing.Point(44, 63); |
||
409 | this.label10.Name = "label10"; |
||
410 | this.label10.Size = new System.Drawing.Size(70, 13); |
||
411 | this.label10.TabIndex = 3; |
||
412 | this.label10.Text = "Image Name:"; |
||
413 | // |
||
414 | // btnProjectDir |
||
415 | // |
||
416 | this.btnProjectDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
417 | this.btnProjectDir.Location = new System.Drawing.Point(442, 32); |
||
418 | this.btnProjectDir.Name = "btnProjectDir"; |
||
419 | this.btnProjectDir.Size = new System.Drawing.Size(75, 23); |
||
420 | this.btnProjectDir.TabIndex = 2; |
||
421 | this.btnProjectDir.Text = "Browse..."; |
||
422 | this.btnProjectDir.UseVisualStyleBackColor = true; |
||
423 | this.btnProjectDir.Click += new System.EventHandler(this.btnProjectDir_Click); |
||
424 | // |
||
425 | // txtProjectDir |
||
426 | // |
||
427 | this.txtProjectDir.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; |
||
428 | this.txtProjectDir.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.FileSystemDirectories; |
||
429 | this.txtProjectDir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
430 | this.txtProjectDir.Location = new System.Drawing.Point(47, 34); |
||
431 | this.txtProjectDir.Name = "txtProjectDir"; |
||
432 | this.txtProjectDir.Size = new System.Drawing.Size(389, 20); |
||
433 | this.txtProjectDir.TabIndex = 1; |
||
434 | this.myToolTip.SetToolTip(this.txtProjectDir, "Select your MPLAB project directory. \r\nYour image file will be placed here, \r\nal" + |
||
435 | "ong with HTTPPrint.h if applicable."); |
||
436 | // |
||
437 | // label9 |
||
438 | // |
||
439 | this.label9.AutoSize = true; |
||
440 | this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
441 | this.label9.Location = new System.Drawing.Point(44, 18); |
||
442 | this.label9.Name = "label9"; |
||
443 | this.label9.Size = new System.Drawing.Size(88, 13); |
||
444 | this.label9.TabIndex = 0; |
||
445 | this.label9.Text = "Project Directory:"; |
||
446 | // |
||
447 | // groupBox4 |
||
448 | // |
||
449 | this.groupBox4.Controls.Add(this.txtUploadDestination); |
||
450 | this.groupBox4.Controls.Add(this.label4); |
||
451 | this.groupBox4.Controls.Add(this.chkUpload); |
||
452 | this.groupBox4.Controls.Add(this.label11); |
||
453 | this.groupBox4.Controls.Add(this.btnUploadSettings); |
||
454 | this.groupBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
455 | this.groupBox4.Location = new System.Drawing.Point(15, 298); |
||
456 | this.groupBox4.Margin = new System.Windows.Forms.Padding(15, 5, 15, 10); |
||
457 | this.groupBox4.Name = "groupBox4"; |
||
458 | this.groupBox4.Padding = new System.Windows.Forms.Padding(5, 5, 15, 10); |
||
459 | this.groupBox4.Size = new System.Drawing.Size(545, 67); |
||
460 | this.groupBox4.TabIndex = 8; |
||
461 | this.groupBox4.TabStop = false; |
||
462 | this.groupBox4.Text = "Upload Settings"; |
||
463 | // |
||
464 | // txtUploadDestination |
||
465 | // |
||
466 | this.txtUploadDestination.BackColor = System.Drawing.SystemColors.Window; |
||
467 | this.txtUploadDestination.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
468 | this.txtUploadDestination.Location = new System.Drawing.Point(68, 34); |
||
469 | this.txtUploadDestination.Name = "txtUploadDestination"; |
||
470 | this.txtUploadDestination.ReadOnly = true; |
||
471 | this.txtUploadDestination.Size = new System.Drawing.Size(368, 20); |
||
472 | this.txtUploadDestination.TabIndex = 3; |
||
473 | this.myToolTip.SetToolTip(this.txtUploadDestination, "Your MPFS image will be uploaded \r\nhere. Use the Settings button to \r\nmodify thi" + |
||
474 | "s destination."); |
||
475 | // |
||
476 | // chkUpload |
||
477 | // |
||
478 | this.chkUpload.AutoSize = true; |
||
479 | this.chkUpload.Checked = global::MPFS21.Properties.Settings.Default.UploadImageAfterBuild; |
||
480 | this.chkUpload.CheckState = System.Windows.Forms.CheckState.Checked; |
||
481 | this.chkUpload.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::MPFS21.Properties.Settings.Default, "UploadImageAfterBuild", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); |
||
482 | this.chkUpload.Location = new System.Drawing.Point(47, 37); |
||
483 | this.chkUpload.Name = "chkUpload"; |
||
484 | this.chkUpload.Size = new System.Drawing.Size(15, 14); |
||
485 | this.chkUpload.TabIndex = 2; |
||
486 | this.myToolTip.SetToolTip(this.chkUpload, "Select this box to upload \r\nyour image upon generation."); |
||
487 | this.chkUpload.UseVisualStyleBackColor = true; |
||
488 | this.chkUpload.CheckedChanged += new System.EventHandler(this.CorrectDisplay); |
||
489 | // |
||
490 | // label11 |
||
491 | // |
||
492 | this.label11.AutoSize = true; |
||
493 | this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
494 | this.label11.Location = new System.Drawing.Point(44, 18); |
||
495 | this.label11.Name = "label11"; |
||
496 | this.label11.Size = new System.Drawing.Size(92, 13); |
||
497 | this.label11.TabIndex = 1; |
||
498 | this.label11.Text = "Upload Image To:"; |
||
499 | // |
||
500 | // btnUploadSettings |
||
501 | // |
||
502 | this.btnUploadSettings.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
503 | this.btnUploadSettings.Location = new System.Drawing.Point(442, 32); |
||
504 | this.btnUploadSettings.Name = "btnUploadSettings"; |
||
505 | this.btnUploadSettings.Size = new System.Drawing.Size(75, 23); |
||
506 | this.btnUploadSettings.TabIndex = 0; |
||
507 | this.btnUploadSettings.Text = "Settings"; |
||
508 | this.btnUploadSettings.UseVisualStyleBackColor = true; |
||
509 | this.btnUploadSettings.Click += new System.EventHandler(this.btnUploadSettings_Click); |
||
510 | // |
||
511 | // btnGenerate |
||
512 | // |
||
513 | this.btnGenerate.BackColor = System.Drawing.SystemColors.Control; |
||
514 | this.btnGenerate.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
515 | this.btnGenerate.Location = new System.Drawing.Point(210, 378); |
||
516 | this.btnGenerate.Margin = new System.Windows.Forms.Padding(210, 3, 3, 3); |
||
517 | this.btnGenerate.Name = "btnGenerate"; |
||
518 | this.btnGenerate.Size = new System.Drawing.Size(160, 25); |
||
519 | this.btnGenerate.TabIndex = 9; |
||
520 | this.btnGenerate.Text = "Generate and Upload"; |
||
521 | this.btnGenerate.UseVisualStyleBackColor = false; |
||
522 | this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click); |
||
523 | // |
||
524 | // flowLayoutPanel1 |
||
525 | // |
||
526 | this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; |
||
527 | this.flowLayoutPanel1.Controls.Add(this.groupBox1); |
||
528 | this.flowLayoutPanel1.Controls.Add(this.groupBox2); |
||
529 | this.flowLayoutPanel1.Controls.Add(this.groupBox3); |
||
530 | this.flowLayoutPanel1.Controls.Add(this.groupBox4); |
||
531 | this.flowLayoutPanel1.Controls.Add(this.btnGenerate); |
||
532 | this.flowLayoutPanel1.Controls.Add(this.lblAbout); |
||
533 | this.flowLayoutPanel1.Controls.Add(this.myProgress); |
||
534 | this.flowLayoutPanel1.Controls.Add(this.myStatusMsg); |
||
535 | this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |
||
536 | this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); |
||
537 | this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
||
538 | this.flowLayoutPanel1.Size = new System.Drawing.Size(574, 435); |
||
539 | this.flowLayoutPanel1.TabIndex = 10; |
||
540 | // |
||
541 | // lblAbout |
||
542 | // |
||
543 | this.lblAbout.AutoSize = true; |
||
544 | this.lblAbout.Cursor = System.Windows.Forms.Cursors.Help; |
||
545 | this.lblAbout.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
||
546 | this.lblAbout.ForeColor = System.Drawing.Color.MediumBlue; |
||
547 | this.lblAbout.Location = new System.Drawing.Point(473, 378); |
||
548 | this.lblAbout.Margin = new System.Windows.Forms.Padding(100, 3, 3, 0); |
||
549 | this.lblAbout.Name = "lblAbout"; |
||
550 | this.lblAbout.Size = new System.Drawing.Size(56, 26); |
||
551 | this.lblAbout.TabIndex = 12; |
||
552 | this.lblAbout.Text = "Version\r\nBuild Date"; |
||
553 | this.lblAbout.TextAlign = System.Drawing.ContentAlignment.TopRight; |
||
554 | this.lblAbout.Click += new System.EventHandler(this.lblAbout_Click); |
||
555 | // |
||
556 | // myProgress |
||
557 | // |
||
558 | this.myProgress.Location = new System.Drawing.Point(3, 416); |
||
559 | this.myProgress.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3); |
||
560 | this.myProgress.MarqueeAnimationSpeed = 50; |
||
561 | this.myProgress.Maximum = 120; |
||
562 | this.myProgress.Name = "myProgress"; |
||
563 | this.myProgress.Size = new System.Drawing.Size(200, 18); |
||
564 | this.myProgress.TabIndex = 10; |
||
565 | // |
||
566 | // myStatusMsg |
||
567 | // |
||
568 | this.myStatusMsg.AutoSize = true; |
||
569 | this.myStatusMsg.Location = new System.Drawing.Point(209, 416); |
||
570 | this.myStatusMsg.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); |
||
571 | this.myStatusMsg.Name = "myStatusMsg"; |
||
572 | this.myStatusMsg.Size = new System.Drawing.Size(80, 13); |
||
573 | this.myStatusMsg.TabIndex = 11; |
||
574 | this.myStatusMsg.Text = "[Generator Idle]"; |
||
575 | // |
||
576 | // myToolTip |
||
577 | // |
||
578 | this.myToolTip.AutoPopDelay = 10000; |
||
579 | this.myToolTip.InitialDelay = 500; |
||
580 | this.myToolTip.IsBalloon = true; |
||
581 | this.myToolTip.ReshowDelay = 100; |
||
582 | this.myToolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; |
||
583 | this.myToolTip.ToolTipTitle = "MPFS Generator Help"; |
||
584 | // |
||
585 | // MPFS21Form |
||
586 | // |
||
587 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||
588 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||
589 | this.ClientSize = new System.Drawing.Size(574, 435); |
||
590 | this.Controls.Add(this.flowLayoutPanel1); |
||
591 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
||
592 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
||
593 | this.MaximizeBox = false; |
||
594 | this.Name = "MPFS21Form"; |
||
595 | this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; |
||
596 | this.Text = "Microchip MPFS Generator"; |
||
597 | this.Load += new System.EventHandler(this.MPFS21Form_Load); |
||
598 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MPFS21Form_FormClosing); |
||
599 | this.groupBox1.ResumeLayout(false); |
||
600 | this.groupBox1.PerformLayout(); |
||
601 | this.groupBox2.ResumeLayout(false); |
||
602 | this.groupBox2.PerformLayout(); |
||
603 | this.groupBox3.ResumeLayout(false); |
||
604 | this.groupBox3.PerformLayout(); |
||
605 | this.groupBox4.ResumeLayout(false); |
||
606 | this.groupBox4.PerformLayout(); |
||
607 | this.flowLayoutPanel1.ResumeLayout(false); |
||
608 | this.flowLayoutPanel1.PerformLayout(); |
||
609 | this.ResumeLayout(false); |
||
610 | |||
611 | } |
||
612 | |||
613 | #endregion |
||
614 | |||
615 | private System.Windows.Forms.Label label1; |
||
616 | private System.Windows.Forms.Label label2; |
||
617 | private System.Windows.Forms.Label label3; |
||
618 | private System.Windows.Forms.Label label4; |
||
619 | private System.Windows.Forms.GroupBox groupBox1; |
||
620 | private System.Windows.Forms.Label label5; |
||
621 | private System.Windows.Forms.GroupBox groupBox2; |
||
622 | private System.Windows.Forms.GroupBox groupBox3; |
||
623 | private System.Windows.Forms.Button btnSourceDir; |
||
624 | private System.Windows.Forms.TextBox txtSourceDir; |
||
625 | private System.Windows.Forms.Label lblInput; |
||
626 | private System.Windows.Forms.RadioButton radStartImg; |
||
627 | private System.Windows.Forms.RadioButton radStartDir; |
||
628 | private System.Windows.Forms.RadioButton radOutputBIN; |
||
629 | private System.Windows.Forms.Label label7; |
||
630 | private System.Windows.Forms.RadioButton radOutputMDD; |
||
631 | private System.Windows.Forms.RadioButton radOutputASM30; |
||
632 | private System.Windows.Forms.RadioButton radOutputC18; |
||
633 | private System.Windows.Forms.Label label8; |
||
634 | private System.Windows.Forms.Button btnAdvanced; |
||
635 | private System.Windows.Forms.TextBox txtImageName; |
||
636 | private System.Windows.Forms.Label label10; |
||
637 | private System.Windows.Forms.Button btnProjectDir; |
||
638 | private System.Windows.Forms.TextBox txtProjectDir; |
||
639 | private System.Windows.Forms.Label label9; |
||
640 | private System.Windows.Forms.GroupBox groupBox4; |
||
641 | private System.Windows.Forms.TextBox txtUploadDestination; |
||
642 | private System.Windows.Forms.CheckBox chkUpload; |
||
643 | private System.Windows.Forms.Label label11; |
||
644 | private System.Windows.Forms.Button btnUploadSettings; |
||
645 | private System.Windows.Forms.Button btnGenerate; |
||
646 | private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
||
647 | private System.Windows.Forms.ProgressBar myProgress; |
||
648 | private System.Windows.Forms.Label myStatusMsg; |
||
649 | private System.Windows.Forms.ToolTip myToolTip; |
||
650 | private System.Windows.Forms.Label lblType; |
||
651 | private System.Windows.Forms.TextBox txtSourceImage; |
||
652 | private System.Windows.Forms.Label lblAbout; |
||
653 | } |
||
654 | } |
||
655 |
Powered by WebSVN v2.8.3