1 |
2 |
ayersg |
namespace XumBootloader_GUI
|
2 |
|
|
{
|
3 |
|
|
partial class Form1
|
4 |
|
|
{
|
5 |
|
|
///
|
6 |
|
|
/// Required designer variable.
|
7 |
|
|
///
|
8 |
|
|
private System.ComponentModel.IContainer components = null;
|
9 |
|
|
|
10 |
|
|
///
|
11 |
|
|
/// Clean up any resources being used.
|
12 |
|
|
///
|
13 |
|
|
/// true if managed resources should be disposed; otherwise, false.
|
14 |
|
|
protected override void Dispose(bool disposing)
|
15 |
|
|
{
|
16 |
|
|
if (disposing && (components != null))
|
17 |
|
|
{
|
18 |
|
|
components.Dispose();
|
19 |
|
|
}
|
20 |
|
|
base.Dispose(disposing);
|
21 |
|
|
}
|
22 |
|
|
|
23 |
|
|
#region Windows Form Designer generated code
|
24 |
|
|
|
25 |
|
|
///
|
26 |
|
|
/// Required method for Designer support - do not modify
|
27 |
|
|
/// the contents of this method with the code editor.
|
28 |
|
|
///
|
29 |
|
|
private void InitializeComponent()
|
30 |
|
|
{
|
31 |
|
|
this.components = new System.ComponentModel.Container();
|
32 |
|
|
this.label1 = new System.Windows.Forms.Label();
|
33 |
|
|
this.serialPortSelect = new System.Windows.Forms.ComboBox();
|
34 |
|
|
this.label2 = new System.Windows.Forms.Label();
|
35 |
|
|
this.baudRateSelect = new System.Windows.Forms.ComboBox();
|
36 |
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
37 |
|
|
this.selectFile = new System.Windows.Forms.Button();
|
38 |
|
|
this.label3 = new System.Windows.Forms.Label();
|
39 |
|
|
this.labelFilename = new System.Windows.Forms.Label();
|
40 |
|
|
this.labelSize = new System.Windows.Forms.Label();
|
41 |
|
|
this.Send = new System.Windows.Forms.Label();
|
42 |
|
|
this.sendButton = new System.Windows.Forms.Button();
|
43 |
|
|
this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
|
44 |
|
|
this.label4 = new System.Windows.Forms.Label();
|
45 |
|
|
this.setOffset = new System.Windows.Forms.TextBox();
|
46 |
|
|
this.labelSuccess = new System.Windows.Forms.Label();
|
47 |
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
48 |
|
|
this.SuspendLayout();
|
49 |
|
|
//
|
50 |
|
|
// label1
|
51 |
|
|
//
|
52 |
|
|
this.label1.AutoSize = true;
|
53 |
|
|
this.label1.Location = new System.Drawing.Point(13, 13);
|
54 |
|
|
this.label1.Name = "label1";
|
55 |
|
|
this.label1.Size = new System.Drawing.Size(55, 13);
|
56 |
|
|
this.label1.TabIndex = 0;
|
57 |
|
|
this.label1.Text = "Serial Port";
|
58 |
|
|
//
|
59 |
|
|
// serialPortSelect
|
60 |
|
|
//
|
61 |
|
|
this.serialPortSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
62 |
|
|
this.serialPortSelect.FormattingEnabled = true;
|
63 |
|
|
this.serialPortSelect.Location = new System.Drawing.Point(16, 30);
|
64 |
|
|
this.serialPortSelect.Name = "serialPortSelect";
|
65 |
|
|
this.serialPortSelect.Size = new System.Drawing.Size(74, 21);
|
66 |
|
|
this.serialPortSelect.TabIndex = 1;
|
67 |
|
|
//
|
68 |
|
|
// label2
|
69 |
|
|
//
|
70 |
|
|
this.label2.AutoSize = true;
|
71 |
|
|
this.label2.Location = new System.Drawing.Point(104, 13);
|
72 |
|
|
this.label2.Name = "label2";
|
73 |
|
|
this.label2.Size = new System.Drawing.Size(58, 13);
|
74 |
|
|
this.label2.TabIndex = 2;
|
75 |
|
|
this.label2.Text = "Baud Rate";
|
76 |
|
|
//
|
77 |
|
|
// baudRateSelect
|
78 |
|
|
//
|
79 |
|
|
this.baudRateSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
80 |
|
|
this.baudRateSelect.FormattingEnabled = true;
|
81 |
|
|
this.baudRateSelect.Items.AddRange(new object[] {
|
82 |
|
|
"110",
|
83 |
|
|
"300",
|
84 |
|
|
"1200",
|
85 |
|
|
"2400",
|
86 |
|
|
"4800",
|
87 |
|
|
"9600",
|
88 |
|
|
"19200",
|
89 |
|
|
"38400",
|
90 |
|
|
"57600",
|
91 |
|
|
"115200",
|
92 |
|
|
"230400",
|
93 |
|
|
"460800",
|
94 |
|
|
"921600"});
|
95 |
|
|
this.baudRateSelect.Location = new System.Drawing.Point(107, 30);
|
96 |
|
|
this.baudRateSelect.Name = "baudRateSelect";
|
97 |
|
|
this.baudRateSelect.Size = new System.Drawing.Size(89, 21);
|
98 |
|
|
this.baudRateSelect.TabIndex = 3;
|
99 |
|
|
//
|
100 |
|
|
// selectFile
|
101 |
|
|
//
|
102 |
|
|
this.selectFile.Location = new System.Drawing.Point(211, 30);
|
103 |
|
|
this.selectFile.Name = "selectFile";
|
104 |
|
|
this.selectFile.Size = new System.Drawing.Size(53, 23);
|
105 |
|
|
this.selectFile.TabIndex = 4;
|
106 |
|
|
this.selectFile.Text = "Open...";
|
107 |
|
|
this.selectFile.UseVisualStyleBackColor = true;
|
108 |
|
|
this.selectFile.Click += new System.EventHandler(this.selectFile_Click);
|
109 |
|
|
//
|
110 |
|
|
// label3
|
111 |
|
|
//
|
112 |
|
|
this.label3.AutoSize = true;
|
113 |
|
|
this.label3.Location = new System.Drawing.Point(208, 13);
|
114 |
|
|
this.label3.Name = "label3";
|
115 |
|
|
this.label3.Size = new System.Drawing.Size(56, 13);
|
116 |
|
|
this.label3.TabIndex = 5;
|
117 |
|
|
this.label3.Text = "Select File";
|
118 |
|
|
//
|
119 |
|
|
// labelFilename
|
120 |
|
|
//
|
121 |
|
|
this.labelFilename.AutoSize = true;
|
122 |
|
|
this.labelFilename.Location = new System.Drawing.Point(16, 67);
|
123 |
|
|
this.labelFilename.Name = "labelFilename";
|
124 |
|
|
this.labelFilename.Size = new System.Drawing.Size(85, 13);
|
125 |
|
|
this.labelFilename.TabIndex = 6;
|
126 |
|
|
this.labelFilename.Text = "No File Selected";
|
127 |
|
|
//
|
128 |
|
|
// labelSize
|
129 |
|
|
//
|
130 |
|
|
this.labelSize.AutoSize = true;
|
131 |
|
|
this.labelSize.Location = new System.Drawing.Point(16, 86);
|
132 |
|
|
this.labelSize.Name = "labelSize";
|
133 |
|
|
this.labelSize.Size = new System.Drawing.Size(27, 13);
|
134 |
|
|
this.labelSize.TabIndex = 7;
|
135 |
|
|
this.labelSize.Text = "Size";
|
136 |
|
|
//
|
137 |
|
|
// Send
|
138 |
|
|
//
|
139 |
|
|
this.Send.AutoSize = true;
|
140 |
|
|
this.Send.Location = new System.Drawing.Point(349, 13);
|
141 |
|
|
this.Send.Name = "Send";
|
142 |
|
|
this.Send.Size = new System.Drawing.Size(32, 13);
|
143 |
|
|
this.Send.TabIndex = 8;
|
144 |
|
|
this.Send.Text = "Do it!";
|
145 |
|
|
//
|
146 |
|
|
// sendButton
|
147 |
|
|
//
|
148 |
|
|
this.sendButton.Location = new System.Drawing.Point(352, 30);
|
149 |
|
|
this.sendButton.Name = "sendButton";
|
150 |
|
|
this.sendButton.Size = new System.Drawing.Size(75, 23);
|
151 |
|
|
this.sendButton.TabIndex = 9;
|
152 |
|
|
this.sendButton.Text = "Send";
|
153 |
|
|
this.sendButton.UseVisualStyleBackColor = true;
|
154 |
|
|
this.sendButton.Click += new System.EventHandler(this.sendButton_Click);
|
155 |
|
|
//
|
156 |
|
|
// label4
|
157 |
|
|
//
|
158 |
|
|
this.label4.AutoSize = true;
|
159 |
|
|
this.label4.Location = new System.Drawing.Point(276, 13);
|
160 |
|
|
this.label4.Name = "label4";
|
161 |
|
|
this.label4.Size = new System.Drawing.Size(35, 13);
|
162 |
|
|
this.label4.TabIndex = 10;
|
163 |
|
|
this.label4.Text = "Offset";
|
164 |
|
|
//
|
165 |
|
|
// setOffset
|
166 |
|
|
//
|
167 |
|
|
this.setOffset.Location = new System.Drawing.Point(279, 32);
|
168 |
|
|
this.setOffset.Name = "setOffset";
|
169 |
|
|
this.setOffset.Size = new System.Drawing.Size(58, 20);
|
170 |
|
|
this.setOffset.TabIndex = 11;
|
171 |
|
|
this.setOffset.Text = "0";
|
172 |
|
|
this.setOffset.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
173 |
|
|
//
|
174 |
|
|
// labelSuccess
|
175 |
|
|
//
|
176 |
|
|
this.labelSuccess.AutoSize = true;
|
177 |
|
|
this.labelSuccess.Location = new System.Drawing.Point(16, 105);
|
178 |
|
|
this.labelSuccess.Name = "labelSuccess";
|
179 |
|
|
this.labelSuccess.Size = new System.Drawing.Size(48, 13);
|
180 |
|
|
this.labelSuccess.TabIndex = 12;
|
181 |
|
|
this.labelSuccess.Text = "Success";
|
182 |
|
|
//
|
183 |
|
|
// progressBar1
|
184 |
|
|
//
|
185 |
|
|
this.progressBar1.Location = new System.Drawing.Point(352, 105);
|
186 |
|
|
this.progressBar1.Name = "progressBar1";
|
187 |
|
|
this.progressBar1.Size = new System.Drawing.Size(75, 13);
|
188 |
|
|
this.progressBar1.TabIndex = 13;
|
189 |
|
|
//
|
190 |
|
|
// Form1
|
191 |
|
|
//
|
192 |
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
193 |
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
194 |
|
|
this.ClientSize = new System.Drawing.Size(444, 131);
|
195 |
|
|
this.Controls.Add(this.progressBar1);
|
196 |
|
|
this.Controls.Add(this.labelSuccess);
|
197 |
|
|
this.Controls.Add(this.setOffset);
|
198 |
|
|
this.Controls.Add(this.label4);
|
199 |
|
|
this.Controls.Add(this.sendButton);
|
200 |
|
|
this.Controls.Add(this.Send);
|
201 |
|
|
this.Controls.Add(this.labelSize);
|
202 |
|
|
this.Controls.Add(this.labelFilename);
|
203 |
|
|
this.Controls.Add(this.label3);
|
204 |
|
|
this.Controls.Add(this.selectFile);
|
205 |
|
|
this.Controls.Add(this.baudRateSelect);
|
206 |
|
|
this.Controls.Add(this.label2);
|
207 |
|
|
this.Controls.Add(this.serialPortSelect);
|
208 |
|
|
this.Controls.Add(this.label1);
|
209 |
|
|
this.Name = "Form1";
|
210 |
|
|
this.Text = "XUM Bootloader";
|
211 |
|
|
this.ResumeLayout(false);
|
212 |
|
|
this.PerformLayout();
|
213 |
|
|
|
214 |
|
|
}
|
215 |
|
|
|
216 |
|
|
#endregion
|
217 |
|
|
|
218 |
|
|
private System.Windows.Forms.Label label1;
|
219 |
|
|
private System.Windows.Forms.ComboBox serialPortSelect;
|
220 |
|
|
private System.Windows.Forms.Label label2;
|
221 |
|
|
private System.Windows.Forms.ComboBox baudRateSelect;
|
222 |
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
223 |
|
|
private System.Windows.Forms.Button selectFile;
|
224 |
|
|
private System.Windows.Forms.Label label3;
|
225 |
|
|
private System.Windows.Forms.Label labelFilename;
|
226 |
|
|
private System.Windows.Forms.Label labelSize;
|
227 |
|
|
private System.Windows.Forms.Label Send;
|
228 |
|
|
private System.Windows.Forms.Button sendButton;
|
229 |
|
|
private System.IO.Ports.SerialPort serialPort1;
|
230 |
|
|
private System.Windows.Forms.Label label4;
|
231 |
|
|
private System.Windows.Forms.TextBox setOffset;
|
232 |
|
|
private System.Windows.Forms.Label labelSuccess;
|
233 |
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
234 |
|
|
}
|
235 |
|
|
}
|
236 |
|
|
|