|
|
@@ -0,0 +1,351 @@
|
|
|
+namespace smsdemo
|
|
|
+{
|
|
|
+ partial class Form1
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// Required designer variable.
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Clean up any resources being used.
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows Form Designer generated code
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Required method for Designer support - do not modify
|
|
|
+ /// the contents of this method with the code editor.
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ components = new System.ComponentModel.Container();
|
|
|
+ groupBox1 = new GroupBox();
|
|
|
+ textBox2 = new TextBox();
|
|
|
+ textBox1 = new TextBox();
|
|
|
+ groupBox2 = new GroupBox();
|
|
|
+ button2 = new Button();
|
|
|
+ button1 = new Button();
|
|
|
+ textBox3 = new TextBox();
|
|
|
+ groupBox3 = new GroupBox();
|
|
|
+ groupBox4 = new GroupBox();
|
|
|
+ checkBox2 = new CheckBox();
|
|
|
+ checkBox1 = new CheckBox();
|
|
|
+ pictureBox4 = new PictureBox();
|
|
|
+ pictureBox3 = new PictureBox();
|
|
|
+ pictureBox2 = new PictureBox();
|
|
|
+ pictureBox1 = new PictureBox();
|
|
|
+ button6 = new Button();
|
|
|
+ label2 = new Label();
|
|
|
+ label1 = new Label();
|
|
|
+ textBox5 = new TextBox();
|
|
|
+ textBox4 = new TextBox();
|
|
|
+ button5 = new Button();
|
|
|
+ button4 = new Button();
|
|
|
+ button3 = new Button();
|
|
|
+ timer1 = new System.Windows.Forms.Timer(components);
|
|
|
+ groupBox1.SuspendLayout();
|
|
|
+ groupBox2.SuspendLayout();
|
|
|
+ groupBox3.SuspendLayout();
|
|
|
+ groupBox4.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox4).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox3).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
|
+ SuspendLayout();
|
|
|
+ //
|
|
|
+ // groupBox1
|
|
|
+ //
|
|
|
+ groupBox1.Controls.Add(textBox2);
|
|
|
+ groupBox1.Controls.Add(textBox1);
|
|
|
+ groupBox1.Location = new Point(21, 21);
|
|
|
+ groupBox1.Name = "groupBox1";
|
|
|
+ groupBox1.Size = new Size(300, 186);
|
|
|
+ groupBox1.TabIndex = 0;
|
|
|
+ groupBox1.TabStop = false;
|
|
|
+ groupBox1.Text = "输入";
|
|
|
+ //
|
|
|
+ // textBox2
|
|
|
+ //
|
|
|
+ textBox2.Location = new Point(6, 107);
|
|
|
+ textBox2.Name = "textBox2";
|
|
|
+ textBox2.Size = new Size(144, 30);
|
|
|
+ textBox2.TabIndex = 1;
|
|
|
+ textBox2.Text = "1234";
|
|
|
+ //
|
|
|
+ // textBox1
|
|
|
+ //
|
|
|
+ textBox1.Location = new Point(6, 45);
|
|
|
+ textBox1.Name = "textBox1";
|
|
|
+ textBox1.Size = new Size(288, 30);
|
|
|
+ textBox1.TabIndex = 0;
|
|
|
+ textBox1.Text = "13040679332";
|
|
|
+ //
|
|
|
+ // groupBox2
|
|
|
+ //
|
|
|
+ groupBox2.Controls.Add(button2);
|
|
|
+ groupBox2.Controls.Add(button1);
|
|
|
+ groupBox2.Location = new Point(21, 213);
|
|
|
+ groupBox2.Name = "groupBox2";
|
|
|
+ groupBox2.Size = new Size(300, 114);
|
|
|
+ groupBox2.TabIndex = 1;
|
|
|
+ groupBox2.TabStop = false;
|
|
|
+ groupBox2.Text = "操作";
|
|
|
+ //
|
|
|
+ // button2
|
|
|
+ //
|
|
|
+ button2.Location = new Point(158, 29);
|
|
|
+ button2.Name = "button2";
|
|
|
+ button2.Size = new Size(136, 79);
|
|
|
+ button2.TabIndex = 1;
|
|
|
+ button2.Text = "发送";
|
|
|
+ button2.UseVisualStyleBackColor = true;
|
|
|
+ button2.Click += button2_Click;
|
|
|
+ //
|
|
|
+ // button1
|
|
|
+ //
|
|
|
+ button1.Location = new Point(6, 29);
|
|
|
+ button1.Name = "button1";
|
|
|
+ button1.Size = new Size(146, 79);
|
|
|
+ button1.TabIndex = 0;
|
|
|
+ button1.Text = "清空";
|
|
|
+ button1.UseVisualStyleBackColor = true;
|
|
|
+ button1.Click += button1_Click;
|
|
|
+ //
|
|
|
+ // textBox3
|
|
|
+ //
|
|
|
+ textBox3.Location = new Point(6, 32);
|
|
|
+ textBox3.Multiline = true;
|
|
|
+ textBox3.Name = "textBox3";
|
|
|
+ textBox3.Size = new Size(442, 255);
|
|
|
+ textBox3.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // groupBox3
|
|
|
+ //
|
|
|
+ groupBox3.Controls.Add(textBox3);
|
|
|
+ groupBox3.Location = new Point(338, 34);
|
|
|
+ groupBox3.Name = "groupBox3";
|
|
|
+ groupBox3.Size = new Size(465, 293);
|
|
|
+ groupBox3.TabIndex = 3;
|
|
|
+ groupBox3.TabStop = false;
|
|
|
+ groupBox3.Text = "运行信息";
|
|
|
+ //
|
|
|
+ // groupBox4
|
|
|
+ //
|
|
|
+ groupBox4.Controls.Add(checkBox2);
|
|
|
+ groupBox4.Controls.Add(checkBox1);
|
|
|
+ groupBox4.Controls.Add(pictureBox4);
|
|
|
+ groupBox4.Controls.Add(pictureBox3);
|
|
|
+ groupBox4.Controls.Add(pictureBox2);
|
|
|
+ groupBox4.Controls.Add(pictureBox1);
|
|
|
+ groupBox4.Controls.Add(button6);
|
|
|
+ groupBox4.Controls.Add(label2);
|
|
|
+ groupBox4.Controls.Add(label1);
|
|
|
+ groupBox4.Controls.Add(textBox5);
|
|
|
+ groupBox4.Controls.Add(textBox4);
|
|
|
+ groupBox4.Controls.Add(button5);
|
|
|
+ groupBox4.Controls.Add(button4);
|
|
|
+ groupBox4.Controls.Add(button3);
|
|
|
+ groupBox4.Location = new Point(21, 333);
|
|
|
+ groupBox4.Name = "groupBox4";
|
|
|
+ groupBox4.Size = new Size(782, 274);
|
|
|
+ groupBox4.TabIndex = 4;
|
|
|
+ groupBox4.TabStop = false;
|
|
|
+ groupBox4.Text = "控制";
|
|
|
+ //
|
|
|
+ // checkBox2
|
|
|
+ //
|
|
|
+ checkBox2.AutoSize = true;
|
|
|
+ checkBox2.Checked = true;
|
|
|
+ checkBox2.CheckState = CheckState.Checked;
|
|
|
+ checkBox2.Location = new Point(304, 164);
|
|
|
+ checkBox2.Name = "checkBox2";
|
|
|
+ checkBox2.Size = new Size(126, 28);
|
|
|
+ checkBox2.TabIndex = 13;
|
|
|
+ checkBox2.Text = "服务化运行";
|
|
|
+ checkBox2.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // checkBox1
|
|
|
+ //
|
|
|
+ checkBox1.AutoSize = true;
|
|
|
+ checkBox1.Checked = true;
|
|
|
+ checkBox1.CheckState = CheckState.Checked;
|
|
|
+ checkBox1.Location = new Point(303, 210);
|
|
|
+ checkBox1.Name = "checkBox1";
|
|
|
+ checkBox1.Size = new Size(142, 28);
|
|
|
+ checkBox1.TabIndex = 12;
|
|
|
+ checkBox1.Text = "使用adb点击";
|
|
|
+ checkBox1.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // pictureBox4
|
|
|
+ //
|
|
|
+ pictureBox4.Location = new Point(664, 164);
|
|
|
+ pictureBox4.Name = "pictureBox4";
|
|
|
+ pictureBox4.Size = new Size(101, 87);
|
|
|
+ pictureBox4.TabIndex = 11;
|
|
|
+ pictureBox4.TabStop = false;
|
|
|
+ //
|
|
|
+ // pictureBox3
|
|
|
+ //
|
|
|
+ pictureBox3.Location = new Point(511, 164);
|
|
|
+ pictureBox3.Name = "pictureBox3";
|
|
|
+ pictureBox3.Size = new Size(101, 87);
|
|
|
+ pictureBox3.TabIndex = 10;
|
|
|
+ pictureBox3.TabStop = false;
|
|
|
+ //
|
|
|
+ // pictureBox2
|
|
|
+ //
|
|
|
+ pictureBox2.Location = new Point(664, 48);
|
|
|
+ pictureBox2.Name = "pictureBox2";
|
|
|
+ pictureBox2.Size = new Size(101, 87);
|
|
|
+ pictureBox2.TabIndex = 9;
|
|
|
+ pictureBox2.TabStop = false;
|
|
|
+ //
|
|
|
+ // pictureBox1
|
|
|
+ //
|
|
|
+ pictureBox1.Location = new Point(511, 48);
|
|
|
+ pictureBox1.Name = "pictureBox1";
|
|
|
+ pictureBox1.Size = new Size(101, 87);
|
|
|
+ pictureBox1.TabIndex = 8;
|
|
|
+ pictureBox1.TabStop = false;
|
|
|
+ //
|
|
|
+ // button6
|
|
|
+ //
|
|
|
+ button6.Location = new Point(158, 151);
|
|
|
+ button6.Name = "button6";
|
|
|
+ button6.Size = new Size(127, 87);
|
|
|
+ button6.TabIndex = 7;
|
|
|
+ button6.Text = "统计";
|
|
|
+ button6.UseVisualStyleBackColor = true;
|
|
|
+ button6.Click += button6_Click;
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ label2.AutoSize = true;
|
|
|
+ label2.Location = new Point(303, 105);
|
|
|
+ label2.Name = "label2";
|
|
|
+ label2.Size = new Size(20, 24);
|
|
|
+ label2.TabIndex = 6;
|
|
|
+ label2.Text = "y";
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ label1.AutoSize = true;
|
|
|
+ label1.Location = new Point(304, 51);
|
|
|
+ label1.Name = "label1";
|
|
|
+ label1.Size = new Size(19, 24);
|
|
|
+ label1.TabIndex = 5;
|
|
|
+ label1.Text = "x";
|
|
|
+ //
|
|
|
+ // textBox5
|
|
|
+ //
|
|
|
+ textBox5.Location = new Point(329, 105);
|
|
|
+ textBox5.Name = "textBox5";
|
|
|
+ textBox5.Size = new Size(116, 30);
|
|
|
+ textBox5.TabIndex = 4;
|
|
|
+ //
|
|
|
+ // textBox4
|
|
|
+ //
|
|
|
+ textBox4.Location = new Point(329, 51);
|
|
|
+ textBox4.Name = "textBox4";
|
|
|
+ textBox4.Size = new Size(116, 30);
|
|
|
+ textBox4.TabIndex = 3;
|
|
|
+ textBox4.TextChanged += textBox4_TextChanged;
|
|
|
+ //
|
|
|
+ // button5
|
|
|
+ //
|
|
|
+ button5.Location = new Point(158, 48);
|
|
|
+ button5.Name = "button5";
|
|
|
+ button5.Size = new Size(127, 87);
|
|
|
+ button5.TabIndex = 2;
|
|
|
+ button5.Text = "坐标校准";
|
|
|
+ button5.UseVisualStyleBackColor = true;
|
|
|
+ button5.Click += button5_Click;
|
|
|
+ //
|
|
|
+ // button4
|
|
|
+ //
|
|
|
+ button4.Location = new Point(25, 151);
|
|
|
+ button4.Name = "button4";
|
|
|
+ button4.Size = new Size(127, 87);
|
|
|
+ button4.TabIndex = 1;
|
|
|
+ button4.Text = "自检";
|
|
|
+ button4.UseVisualStyleBackColor = true;
|
|
|
+ button4.Click += button4_Click;
|
|
|
+ //
|
|
|
+ // button3
|
|
|
+ //
|
|
|
+ button3.Location = new Point(23, 48);
|
|
|
+ button3.Name = "button3";
|
|
|
+ button3.Size = new Size(127, 87);
|
|
|
+ button3.TabIndex = 0;
|
|
|
+ button3.Text = "初始化";
|
|
|
+ button3.UseVisualStyleBackColor = true;
|
|
|
+ button3.Click += button3_Click;
|
|
|
+ //
|
|
|
+ // timer1
|
|
|
+ //
|
|
|
+ timer1.Interval = 30000;
|
|
|
+ timer1.Tick += timer1_Tick;
|
|
|
+ //
|
|
|
+ // Form1
|
|
|
+ //
|
|
|
+ AutoScaleDimensions = new SizeF(11F, 24F);
|
|
|
+ AutoScaleMode = AutoScaleMode.Font;
|
|
|
+ ClientSize = new Size(816, 620);
|
|
|
+ Controls.Add(groupBox4);
|
|
|
+ Controls.Add(groupBox3);
|
|
|
+ Controls.Add(groupBox2);
|
|
|
+ Controls.Add(groupBox1);
|
|
|
+ Name = "Form1";
|
|
|
+ Text = "Form1";
|
|
|
+ groupBox1.ResumeLayout(false);
|
|
|
+ groupBox1.PerformLayout();
|
|
|
+ groupBox2.ResumeLayout(false);
|
|
|
+ groupBox3.ResumeLayout(false);
|
|
|
+ groupBox3.PerformLayout();
|
|
|
+ groupBox4.ResumeLayout(false);
|
|
|
+ groupBox4.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox4).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox3).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
|
+ ResumeLayout(false);
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private GroupBox groupBox1;
|
|
|
+ private TextBox textBox2;
|
|
|
+ private TextBox textBox1;
|
|
|
+ private GroupBox groupBox2;
|
|
|
+ private Button button2;
|
|
|
+ private Button button1;
|
|
|
+ private TextBox textBox3;
|
|
|
+ private GroupBox groupBox3;
|
|
|
+ private GroupBox groupBox4;
|
|
|
+ private Button button4;
|
|
|
+ private Button button3;
|
|
|
+ private System.Windows.Forms.Timer timer1;
|
|
|
+ private Button button5;
|
|
|
+ private TextBox textBox5;
|
|
|
+ private TextBox textBox4;
|
|
|
+ private Label label2;
|
|
|
+ private Label label1;
|
|
|
+ private Button button6;
|
|
|
+ private PictureBox pictureBox1;
|
|
|
+ private CheckBox checkBox1;
|
|
|
+ private PictureBox pictureBox4;
|
|
|
+ private PictureBox pictureBox3;
|
|
|
+ private PictureBox pictureBox2;
|
|
|
+ private CheckBox checkBox2;
|
|
|
+ }
|
|
|
+}
|