|
@@ -42,10 +42,12 @@
|
|
|
this.btnWrite = new System.Windows.Forms.Button();
|
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
- this.btnVerify = new System.Windows.Forms.Button();
|
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.label8 = new System.Windows.Forms.Label();
|
|
|
+ this.cbPort = new System.Windows.Forms.ComboBox();
|
|
|
this.cbBaudrate = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label7 = new System.Windows.Forms.Label();
|
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
|
this.btnMac = new System.Windows.Forms.Button();
|
|
|
this.btnFlashID = new System.Windows.Forms.Button();
|
|
@@ -53,8 +55,7 @@
|
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
|
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
|
|
- this.label7 = new System.Windows.Forms.Label();
|
|
|
- this.cbPort = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label9 = new System.Windows.Forms.Label();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
@@ -67,10 +68,10 @@
|
|
|
this.label1.TabIndex = 0;
|
|
|
this.label1.Text = "python.exe";
|
|
|
//
|
|
|
- // txtPython
|
|
|
+ // tbPython
|
|
|
//
|
|
|
this.tbPython.Location = new System.Drawing.Point(75, 46);
|
|
|
- this.tbPython.Name = "txtPython";
|
|
|
+ this.tbPython.Name = "tbPython";
|
|
|
this.tbPython.Size = new System.Drawing.Size(502, 20);
|
|
|
this.tbPython.TabIndex = 1;
|
|
|
//
|
|
@@ -93,10 +94,10 @@
|
|
|
this.label2.TabIndex = 0;
|
|
|
this.label2.Text = "esptool.py";
|
|
|
//
|
|
|
- // txtEsptool
|
|
|
+ // tbEsptool
|
|
|
//
|
|
|
this.tbEsptool.Location = new System.Drawing.Point(75, 72);
|
|
|
- this.tbEsptool.Name = "txtEsptool";
|
|
|
+ this.tbEsptool.Name = "tbEsptool";
|
|
|
this.tbEsptool.Size = new System.Drawing.Size(502, 20);
|
|
|
this.tbEsptool.TabIndex = 3;
|
|
|
//
|
|
@@ -113,22 +114,22 @@
|
|
|
// label3
|
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
|
- this.label3.Location = new System.Drawing.Point(9, 101);
|
|
|
+ this.label3.Location = new System.Drawing.Point(9, 121);
|
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Size = new System.Drawing.Size(63, 13);
|
|
|
this.label3.TabIndex = 0;
|
|
|
this.label3.Text = "frimware.bin";
|
|
|
//
|
|
|
- // txtFirmware
|
|
|
+ // tbFirmware
|
|
|
//
|
|
|
- this.tbFirmware.Location = new System.Drawing.Point(75, 98);
|
|
|
- this.tbFirmware.Name = "txtFirmware";
|
|
|
+ this.tbFirmware.Location = new System.Drawing.Point(75, 118);
|
|
|
+ this.tbFirmware.Name = "tbFirmware";
|
|
|
this.tbFirmware.Size = new System.Drawing.Size(502, 20);
|
|
|
this.tbFirmware.TabIndex = 5;
|
|
|
//
|
|
|
// btnFirmware
|
|
|
//
|
|
|
- this.btnFirmware.Location = new System.Drawing.Point(583, 96);
|
|
|
+ this.btnFirmware.Location = new System.Drawing.Point(583, 116);
|
|
|
this.btnFirmware.Name = "btnFirmware";
|
|
|
this.btnFirmware.Size = new System.Drawing.Size(23, 23);
|
|
|
this.btnFirmware.TabIndex = 6;
|
|
@@ -139,17 +140,17 @@
|
|
|
// textBox4
|
|
|
//
|
|
|
this.textBox4.Font = new System.Drawing.Font("Courier New", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.textBox4.Location = new System.Drawing.Point(12, 182);
|
|
|
+ this.textBox4.Location = new System.Drawing.Point(12, 221);
|
|
|
this.textBox4.Multiline = true;
|
|
|
this.textBox4.Name = "textBox4";
|
|
|
this.textBox4.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
|
- this.textBox4.Size = new System.Drawing.Size(606, 157);
|
|
|
+ this.textBox4.Size = new System.Drawing.Size(612, 185);
|
|
|
this.textBox4.TabIndex = 0;
|
|
|
//
|
|
|
// btnErase
|
|
|
//
|
|
|
this.btnErase.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnErase.Location = new System.Drawing.Point(306, 346);
|
|
|
+ this.btnErase.Location = new System.Drawing.Point(412, 412);
|
|
|
this.btnErase.Name = "btnErase";
|
|
|
this.btnErase.Size = new System.Drawing.Size(100, 23);
|
|
|
this.btnErase.TabIndex = 4;
|
|
@@ -160,7 +161,7 @@
|
|
|
// btnWrite
|
|
|
//
|
|
|
this.btnWrite.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnWrite.Location = new System.Drawing.Point(412, 346);
|
|
|
+ this.btnWrite.Location = new System.Drawing.Point(518, 412);
|
|
|
this.btnWrite.Name = "btnWrite";
|
|
|
this.btnWrite.Size = new System.Drawing.Size(100, 23);
|
|
|
this.btnWrite.TabIndex = 5;
|
|
@@ -171,7 +172,7 @@
|
|
|
// btnClose
|
|
|
//
|
|
|
this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnClose.Location = new System.Drawing.Point(468, 387);
|
|
|
+ this.btnClose.Location = new System.Drawing.Point(474, 454);
|
|
|
this.btnClose.Name = "btnClose";
|
|
|
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
|
|
this.btnClose.TabIndex = 7;
|
|
@@ -183,24 +184,13 @@
|
|
|
//
|
|
|
this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
|
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.button1.Location = new System.Drawing.Point(549, 387);
|
|
|
+ this.button1.Location = new System.Drawing.Point(555, 454);
|
|
|
this.button1.Name = "button1";
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
this.button1.TabIndex = 8;
|
|
|
this.button1.Text = "Cancel";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
- // btnVerify
|
|
|
- //
|
|
|
- this.btnVerify.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnVerify.Location = new System.Drawing.Point(518, 345);
|
|
|
- this.btnVerify.Name = "btnVerify";
|
|
|
- this.btnVerify.Size = new System.Drawing.Size(100, 23);
|
|
|
- this.btnVerify.TabIndex = 6;
|
|
|
- this.btnVerify.Text = "Verify";
|
|
|
- this.btnVerify.UseVisualStyleBackColor = true;
|
|
|
- this.btnVerify.Click += new System.EventHandler(this.btnVerify_Click);
|
|
|
- //
|
|
|
// label4
|
|
|
//
|
|
|
this.label4.BackColor = System.Drawing.Color.DarkRed;
|
|
@@ -219,6 +209,8 @@
|
|
|
//
|
|
|
// groupBox1
|
|
|
//
|
|
|
+ this.groupBox1.Controls.Add(this.label9);
|
|
|
+ this.groupBox1.Controls.Add(this.label8);
|
|
|
this.groupBox1.Controls.Add(this.cbPort);
|
|
|
this.groupBox1.Controls.Add(this.cbBaudrate);
|
|
|
this.groupBox1.Controls.Add(this.label7);
|
|
@@ -232,13 +224,33 @@
|
|
|
this.groupBox1.Controls.Add(this.btnPython);
|
|
|
this.groupBox1.Controls.Add(this.btnEsptool);
|
|
|
this.groupBox1.Controls.Add(this.btnFirmware);
|
|
|
- this.groupBox1.Location = new System.Drawing.Point(12, 49);
|
|
|
+ this.groupBox1.Location = new System.Drawing.Point(12, 59);
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
- this.groupBox1.Size = new System.Drawing.Size(612, 127);
|
|
|
+ this.groupBox1.Size = new System.Drawing.Size(612, 156);
|
|
|
this.groupBox1.TabIndex = 11;
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "Settings";
|
|
|
//
|
|
|
+ // label8
|
|
|
+ //
|
|
|
+ this.label8.AutoSize = true;
|
|
|
+ this.label8.ForeColor = System.Drawing.Color.Maroon;
|
|
|
+ this.label8.Location = new System.Drawing.Point(72, 95);
|
|
|
+ this.label8.Name = "label8";
|
|
|
+ this.label8.Size = new System.Drawing.Size(285, 13);
|
|
|
+ this.label8.TabIndex = 7;
|
|
|
+ this.label8.Text = "Default location: YourPython\\Lib\\site-packages\\esptool.py";
|
|
|
+ //
|
|
|
+ // cbPort
|
|
|
+ //
|
|
|
+ this.cbPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.cbPort.FormattingEnabled = true;
|
|
|
+ this.cbPort.Location = new System.Drawing.Point(75, 19);
|
|
|
+ this.cbPort.Name = "cbPort";
|
|
|
+ this.cbPort.Size = new System.Drawing.Size(104, 21);
|
|
|
+ this.cbPort.TabIndex = 0;
|
|
|
+ this.cbPort.Validating += new System.ComponentModel.CancelEventHandler(this.cbBaudrate_Validating);
|
|
|
+ //
|
|
|
// cbBaudrate
|
|
|
//
|
|
|
this.cbBaudrate.FormattingEnabled = true;
|
|
@@ -259,6 +271,15 @@
|
|
|
this.cbBaudrate.TabIndex = 0;
|
|
|
this.cbBaudrate.Validating += new System.ComponentModel.CancelEventHandler(this.cbBaudrate_Validating);
|
|
|
//
|
|
|
+ // label7
|
|
|
+ //
|
|
|
+ this.label7.AutoSize = true;
|
|
|
+ this.label7.Location = new System.Drawing.Point(14, 22);
|
|
|
+ this.label7.Name = "label7";
|
|
|
+ this.label7.Size = new System.Drawing.Size(55, 13);
|
|
|
+ this.label7.TabIndex = 6;
|
|
|
+ this.label7.Text = "Serial Port";
|
|
|
+ //
|
|
|
// label6
|
|
|
//
|
|
|
this.label6.AutoSize = true;
|
|
@@ -271,7 +292,7 @@
|
|
|
// btnMac
|
|
|
//
|
|
|
this.btnMac.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnMac.Location = new System.Drawing.Point(12, 345);
|
|
|
+ this.btnMac.Location = new System.Drawing.Point(18, 412);
|
|
|
this.btnMac.Name = "btnMac";
|
|
|
this.btnMac.Size = new System.Drawing.Size(74, 23);
|
|
|
this.btnMac.TabIndex = 1;
|
|
@@ -282,7 +303,7 @@
|
|
|
// btnFlashID
|
|
|
//
|
|
|
this.btnFlashID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnFlashID.Location = new System.Drawing.Point(92, 346);
|
|
|
+ this.btnFlashID.Location = new System.Drawing.Point(98, 413);
|
|
|
this.btnFlashID.Name = "btnFlashID";
|
|
|
this.btnFlashID.Size = new System.Drawing.Size(74, 23);
|
|
|
this.btnFlashID.TabIndex = 2;
|
|
@@ -293,7 +314,7 @@
|
|
|
// btnChipID
|
|
|
//
|
|
|
this.btnChipID.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|
|
- this.btnChipID.Location = new System.Drawing.Point(172, 346);
|
|
|
+ this.btnChipID.Location = new System.Drawing.Point(178, 413);
|
|
|
this.btnChipID.Name = "btnChipID";
|
|
|
this.btnChipID.Size = new System.Drawing.Size(74, 23);
|
|
|
this.btnChipID.TabIndex = 3;
|
|
@@ -304,7 +325,7 @@
|
|
|
// label5
|
|
|
//
|
|
|
this.label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
- this.label5.Location = new System.Drawing.Point(12, 375);
|
|
|
+ this.label5.Location = new System.Drawing.Point(18, 442);
|
|
|
this.label5.Name = "label5";
|
|
|
this.label5.Size = new System.Drawing.Size(612, 1);
|
|
|
this.label5.TabIndex = 15;
|
|
@@ -313,7 +334,7 @@
|
|
|
// linkLabel1
|
|
|
//
|
|
|
this.linkLabel1.AutoSize = true;
|
|
|
- this.linkLabel1.Location = new System.Drawing.Point(12, 381);
|
|
|
+ this.linkLabel1.Location = new System.Drawing.Point(18, 448);
|
|
|
this.linkLabel1.Name = "linkLabel1";
|
|
|
this.linkLabel1.Size = new System.Drawing.Size(180, 13);
|
|
|
this.linkLabel1.TabIndex = 16;
|
|
@@ -324,7 +345,7 @@
|
|
|
// linkLabel2
|
|
|
//
|
|
|
this.linkLabel2.AutoSize = true;
|
|
|
- this.linkLabel2.Location = new System.Drawing.Point(12, 400);
|
|
|
+ this.linkLabel2.Location = new System.Drawing.Point(18, 467);
|
|
|
this.linkLabel2.Name = "linkLabel2";
|
|
|
this.linkLabel2.Size = new System.Drawing.Size(212, 13);
|
|
|
this.linkLabel2.TabIndex = 17;
|
|
@@ -332,30 +353,22 @@
|
|
|
this.linkLabel2.Text = "http://micropython.org/download#esp8266";
|
|
|
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
|
|
|
//
|
|
|
- // label7
|
|
|
- //
|
|
|
- this.label7.AutoSize = true;
|
|
|
- this.label7.Location = new System.Drawing.Point(14, 22);
|
|
|
- this.label7.Name = "label7";
|
|
|
- this.label7.Size = new System.Drawing.Size(55, 13);
|
|
|
- this.label7.TabIndex = 6;
|
|
|
- this.label7.Text = "Serial Port";
|
|
|
- //
|
|
|
- // cbPort
|
|
|
+ // label9
|
|
|
//
|
|
|
- this.cbPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
- this.cbPort.FormattingEnabled = true;
|
|
|
- this.cbPort.Location = new System.Drawing.Point(75, 19);
|
|
|
- this.cbPort.Name = "cbPort";
|
|
|
- this.cbPort.Size = new System.Drawing.Size(104, 21);
|
|
|
- this.cbPort.TabIndex = 0;
|
|
|
- this.cbPort.Validating += new System.ComponentModel.CancelEventHandler(this.cbBaudrate_Validating);
|
|
|
+ this.label9.Image = global::EsPy.Properties.Resources.Warning;
|
|
|
+ this.label9.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
+ this.label9.Location = new System.Drawing.Point(378, 17);
|
|
|
+ this.label9.Name = "label9";
|
|
|
+ this.label9.Size = new System.Drawing.Size(228, 23);
|
|
|
+ this.label9.TabIndex = 18;
|
|
|
+ this.label9.Text = " Make sure the selected port is closed!";
|
|
|
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
//
|
|
|
// EspToolDialog
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(636, 422);
|
|
|
+ this.ClientSize = new System.Drawing.Size(636, 486);
|
|
|
this.Controls.Add(this.linkLabel2);
|
|
|
this.Controls.Add(this.linkLabel1);
|
|
|
this.Controls.Add(this.label5);
|
|
@@ -366,7 +379,6 @@
|
|
|
this.Controls.Add(this.label4);
|
|
|
this.Controls.Add(this.button1);
|
|
|
this.Controls.Add(this.btnClose);
|
|
|
- this.Controls.Add(this.btnVerify);
|
|
|
this.Controls.Add(this.btnWrite);
|
|
|
this.Controls.Add(this.btnErase);
|
|
|
this.Controls.Add(this.textBox4);
|
|
@@ -400,7 +412,6 @@
|
|
|
private System.Windows.Forms.Button btnWrite;
|
|
|
private System.Windows.Forms.Button btnClose;
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
- private System.Windows.Forms.Button btnVerify;
|
|
|
private System.Windows.Forms.Label label4;
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
|
private System.Windows.Forms.Button btnMac;
|
|
@@ -413,5 +424,7 @@
|
|
|
private System.Windows.Forms.LinkLabel linkLabel2;
|
|
|
private System.Windows.Forms.ComboBox cbPort;
|
|
|
private System.Windows.Forms.Label label7;
|
|
|
+ private System.Windows.Forms.Label label8;
|
|
|
+ private System.Windows.Forms.Label label9;
|
|
|
}
|
|
|
}
|