|
|
@@ -30,6 +30,8 @@
|
|
|
{
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
+ this.button2 = new System.Windows.Forms.Button();
|
|
|
+ this.button3 = new System.Windows.Forms.Button();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// button1
|
|
|
@@ -46,19 +48,41 @@
|
|
|
//
|
|
|
this.textBox1.BackColor = System.Drawing.Color.Black;
|
|
|
this.textBox1.ForeColor = System.Drawing.Color.White;
|
|
|
- this.textBox1.Location = new System.Drawing.Point(12, 237);
|
|
|
+ this.textBox1.Location = new System.Drawing.Point(12, 187);
|
|
|
this.textBox1.Multiline = true;
|
|
|
this.textBox1.Name = "textBox1";
|
|
|
this.textBox1.ReadOnly = true;
|
|
|
- this.textBox1.Size = new System.Drawing.Size(544, 92);
|
|
|
+ this.textBox1.Size = new System.Drawing.Size(806, 142);
|
|
|
this.textBox1.TabIndex = 1;
|
|
|
//
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ this.button2.Location = new System.Drawing.Point(12, 42);
|
|
|
+ this.button2.Name = "button2";
|
|
|
+ this.button2.Size = new System.Drawing.Size(118, 23);
|
|
|
+ this.button2.TabIndex = 2;
|
|
|
+ this.button2.Text = "start asking for status";
|
|
|
+ this.button2.UseVisualStyleBackColor = true;
|
|
|
+ this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
|
+ //
|
|
|
+ // button3
|
|
|
+ //
|
|
|
+ this.button3.Location = new System.Drawing.Point(94, 13);
|
|
|
+ this.button3.Name = "button3";
|
|
|
+ this.button3.Size = new System.Drawing.Size(88, 23);
|
|
|
+ this.button3.TabIndex = 3;
|
|
|
+ this.button3.Text = "close comport";
|
|
|
+ this.button3.UseVisualStyleBackColor = true;
|
|
|
+ this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
|
+ //
|
|
|
// MainForm
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.AutoScroll = true;
|
|
|
- this.ClientSize = new System.Drawing.Size(568, 341);
|
|
|
+ this.ClientSize = new System.Drawing.Size(830, 343);
|
|
|
+ this.Controls.Add(this.button3);
|
|
|
+ this.Controls.Add(this.button2);
|
|
|
this.Controls.Add(this.textBox1);
|
|
|
this.Controls.Add(this.button1);
|
|
|
this.Name = "MainForm";
|
|
|
@@ -72,6 +96,8 @@
|
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
|
+ private System.Windows.Forms.Button button2;
|
|
|
+ private System.Windows.Forms.Button button3;
|
|
|
}
|
|
|
}
|
|
|
|