|
@@ -33,7 +33,23 @@
|
|
this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
this.tabPage3 = new System.Windows.Forms.TabPage();
|
|
this.tabPage3 = new System.Windows.Forms.TabPage();
|
|
this.tabPage4 = new System.Windows.Forms.TabPage();
|
|
this.tabPage4 = new System.Windows.Forms.TabPage();
|
|
|
|
+ this.textBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
|
+ this.dbTextBox1 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.dbLabel1 = new System.Windows.Forms.Label();
|
|
|
|
+ this.dbTextBox2 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.dbLabel2 = new System.Windows.Forms.Label();
|
|
|
|
+ this.dbTextBox3 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.dbLabel3 = new System.Windows.Forms.Label();
|
|
|
|
+ this.dbTextBox4 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.dbLabel4 = new System.Windows.Forms.Label();
|
|
|
|
+ this.dbTextBox5 = new System.Windows.Forms.TextBox();
|
|
|
|
+ this.dbLabel5 = new System.Windows.Forms.Label();
|
|
|
|
+ this.btnCancel = new System.Windows.Forms.Button();
|
|
|
|
+ this.btnSubmit = new System.Windows.Forms.Button();
|
|
this.tabControl1.SuspendLayout();
|
|
this.tabControl1.SuspendLayout();
|
|
|
|
+ this.tabPage1.SuspendLayout();
|
|
|
|
+ this.tabPage2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
//
|
|
// tabControl1
|
|
// tabControl1
|
|
@@ -42,31 +58,43 @@
|
|
this.tabControl1.Controls.Add(this.tabPage2);
|
|
this.tabControl1.Controls.Add(this.tabPage2);
|
|
this.tabControl1.Controls.Add(this.tabPage3);
|
|
this.tabControl1.Controls.Add(this.tabPage3);
|
|
this.tabControl1.Controls.Add(this.tabPage4);
|
|
this.tabControl1.Controls.Add(this.tabPage4);
|
|
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
- this.tabControl1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
|
+ this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
+ this.tabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.tabControl1.Multiline = true;
|
|
this.tabControl1.Multiline = true;
|
|
this.tabControl1.Name = "tabControl1";
|
|
this.tabControl1.Name = "tabControl1";
|
|
this.tabControl1.SelectedIndex = 0;
|
|
this.tabControl1.SelectedIndex = 0;
|
|
- this.tabControl1.Size = new System.Drawing.Size(800, 450);
|
|
|
|
|
|
+ this.tabControl1.Size = new System.Drawing.Size(536, 296);
|
|
this.tabControl1.TabIndex = 1;
|
|
this.tabControl1.TabIndex = 1;
|
|
//
|
|
//
|
|
// tabPage1
|
|
// tabPage1
|
|
//
|
|
//
|
|
- this.tabPage1.Location = new System.Drawing.Point(4, 26);
|
|
|
|
|
|
+ this.tabPage1.Controls.Add(this.textBox1);
|
|
|
|
+ this.tabPage1.Controls.Add(this.label1);
|
|
|
|
+ this.tabPage1.Location = new System.Drawing.Point(4, 30);
|
|
this.tabPage1.Name = "tabPage1";
|
|
this.tabPage1.Name = "tabPage1";
|
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
|
|
- this.tabPage1.Size = new System.Drawing.Size(792, 420);
|
|
|
|
|
|
+ this.tabPage1.Size = new System.Drawing.Size(792, 416);
|
|
this.tabPage1.TabIndex = 0;
|
|
this.tabPage1.TabIndex = 0;
|
|
this.tabPage1.Text = "串口";
|
|
this.tabPage1.Text = "串口";
|
|
this.tabPage1.UseVisualStyleBackColor = true;
|
|
this.tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
//
|
|
// tabPage2
|
|
// tabPage2
|
|
//
|
|
//
|
|
- this.tabPage2.Location = new System.Drawing.Point(4, 26);
|
|
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbTextBox5);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbLabel5);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbTextBox4);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbLabel4);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbTextBox3);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbLabel3);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbTextBox2);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbLabel2);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbTextBox1);
|
|
|
|
+ this.tabPage2.Controls.Add(this.dbLabel1);
|
|
|
|
+ this.tabPage2.Location = new System.Drawing.Point(4, 30);
|
|
this.tabPage2.Name = "tabPage2";
|
|
this.tabPage2.Name = "tabPage2";
|
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
|
- this.tabPage2.Size = new System.Drawing.Size(755, 420);
|
|
|
|
|
|
+ this.tabPage2.Size = new System.Drawing.Size(528, 262);
|
|
this.tabPage2.TabIndex = 1;
|
|
this.tabPage2.TabIndex = 1;
|
|
this.tabPage2.Text = "数据库";
|
|
this.tabPage2.Text = "数据库";
|
|
this.tabPage2.UseVisualStyleBackColor = true;
|
|
this.tabPage2.UseVisualStyleBackColor = true;
|
|
@@ -75,7 +103,7 @@
|
|
//
|
|
//
|
|
this.tabPage3.Location = new System.Drawing.Point(4, 26);
|
|
this.tabPage3.Location = new System.Drawing.Point(4, 26);
|
|
this.tabPage3.Name = "tabPage3";
|
|
this.tabPage3.Name = "tabPage3";
|
|
- this.tabPage3.Size = new System.Drawing.Size(755, 420);
|
|
|
|
|
|
+ this.tabPage3.Size = new System.Drawing.Size(792, 420);
|
|
this.tabPage3.TabIndex = 2;
|
|
this.tabPage3.TabIndex = 2;
|
|
this.tabPage3.Text = "采集";
|
|
this.tabPage3.Text = "采集";
|
|
this.tabPage3.UseVisualStyleBackColor = true;
|
|
this.tabPage3.UseVisualStyleBackColor = true;
|
|
@@ -84,22 +112,161 @@
|
|
//
|
|
//
|
|
this.tabPage4.Location = new System.Drawing.Point(4, 26);
|
|
this.tabPage4.Location = new System.Drawing.Point(4, 26);
|
|
this.tabPage4.Name = "tabPage4";
|
|
this.tabPage4.Name = "tabPage4";
|
|
- this.tabPage4.Size = new System.Drawing.Size(755, 420);
|
|
|
|
|
|
+ this.tabPage4.Size = new System.Drawing.Size(792, 420);
|
|
this.tabPage4.TabIndex = 3;
|
|
this.tabPage4.TabIndex = 3;
|
|
this.tabPage4.Text = "打印";
|
|
this.tabPage4.Text = "打印";
|
|
this.tabPage4.UseVisualStyleBackColor = true;
|
|
this.tabPage4.UseVisualStyleBackColor = true;
|
|
//
|
|
//
|
|
|
|
+ // textBox1
|
|
|
|
+ //
|
|
|
|
+ this.textBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.textBox1.Location = new System.Drawing.Point(111, 19);
|
|
|
|
+ this.textBox1.Name = "textBox1";
|
|
|
|
+ this.textBox1.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.textBox1.TabIndex = 76;
|
|
|
|
+ //
|
|
|
|
+ // label1
|
|
|
|
+ //
|
|
|
|
+ this.label1.AutoSize = true;
|
|
|
|
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.label1.Location = new System.Drawing.Point(24, 22);
|
|
|
|
+ this.label1.Name = "label1";
|
|
|
|
+ this.label1.Size = new System.Drawing.Size(58, 21);
|
|
|
|
+ this.label1.TabIndex = 75;
|
|
|
|
+ this.label1.Text = "端口:";
|
|
|
|
+ //
|
|
|
|
+ // dbTextBox1
|
|
|
|
+ //
|
|
|
|
+ this.dbTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbTextBox1.Location = new System.Drawing.Point(112, 20);
|
|
|
|
+ this.dbTextBox1.Name = "dbTextBox1";
|
|
|
|
+ this.dbTextBox1.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.dbTextBox1.TabIndex = 78;
|
|
|
|
+ //
|
|
|
|
+ // dbLabel1
|
|
|
|
+ //
|
|
|
|
+ this.dbLabel1.AutoSize = true;
|
|
|
|
+ this.dbLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbLabel1.Location = new System.Drawing.Point(24, 22);
|
|
|
|
+ this.dbLabel1.Name = "dbLabel1";
|
|
|
|
+ this.dbLabel1.Size = new System.Drawing.Size(58, 21);
|
|
|
|
+ this.dbLabel1.TabIndex = 77;
|
|
|
|
+ this.dbLabel1.Text = "地址:";
|
|
|
|
+ //
|
|
|
|
+ // dbTextBox2
|
|
|
|
+ //
|
|
|
|
+ this.dbTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbTextBox2.Location = new System.Drawing.Point(112, 68);
|
|
|
|
+ this.dbTextBox2.Name = "dbTextBox2";
|
|
|
|
+ this.dbTextBox2.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.dbTextBox2.TabIndex = 80;
|
|
|
|
+ //
|
|
|
|
+ // dbLabel2
|
|
|
|
+ //
|
|
|
|
+ this.dbLabel2.AutoSize = true;
|
|
|
|
+ this.dbLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbLabel2.Location = new System.Drawing.Point(24, 71);
|
|
|
|
+ this.dbLabel2.Name = "dbLabel2";
|
|
|
|
+ this.dbLabel2.Size = new System.Drawing.Size(58, 21);
|
|
|
|
+ this.dbLabel2.TabIndex = 79;
|
|
|
|
+ this.dbLabel2.Text = "端口:";
|
|
|
|
+ //
|
|
|
|
+ // dbTextBox3
|
|
|
|
+ //
|
|
|
|
+ this.dbTextBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbTextBox3.Location = new System.Drawing.Point(112, 117);
|
|
|
|
+ this.dbTextBox3.Name = "dbTextBox3";
|
|
|
|
+ this.dbTextBox3.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.dbTextBox3.TabIndex = 82;
|
|
|
|
+ //
|
|
|
|
+ // dbLabel3
|
|
|
|
+ //
|
|
|
|
+ this.dbLabel3.AutoSize = true;
|
|
|
|
+ this.dbLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbLabel3.Location = new System.Drawing.Point(24, 120);
|
|
|
|
+ this.dbLabel3.Name = "dbLabel3";
|
|
|
|
+ this.dbLabel3.Size = new System.Drawing.Size(58, 21);
|
|
|
|
+ this.dbLabel3.TabIndex = 81;
|
|
|
|
+ this.dbLabel3.Text = "名称:";
|
|
|
|
+ //
|
|
|
|
+ // dbTextBox4
|
|
|
|
+ //
|
|
|
|
+ this.dbTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbTextBox4.Location = new System.Drawing.Point(112, 166);
|
|
|
|
+ this.dbTextBox4.Name = "dbTextBox4";
|
|
|
|
+ this.dbTextBox4.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.dbTextBox4.TabIndex = 84;
|
|
|
|
+ //
|
|
|
|
+ // dbLabel4
|
|
|
|
+ //
|
|
|
|
+ this.dbLabel4.AutoSize = true;
|
|
|
|
+ this.dbLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbLabel4.Location = new System.Drawing.Point(24, 169);
|
|
|
|
+ this.dbLabel4.Name = "dbLabel4";
|
|
|
|
+ this.dbLabel4.Size = new System.Drawing.Size(74, 21);
|
|
|
|
+ this.dbLabel4.TabIndex = 83;
|
|
|
|
+ this.dbLabel4.Text = "用户名:";
|
|
|
|
+ //
|
|
|
|
+ // dbTextBox5
|
|
|
|
+ //
|
|
|
|
+ this.dbTextBox5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbTextBox5.Location = new System.Drawing.Point(112, 215);
|
|
|
|
+ this.dbTextBox5.Name = "dbTextBox5";
|
|
|
|
+ this.dbTextBox5.Size = new System.Drawing.Size(385, 29);
|
|
|
|
+ this.dbTextBox5.TabIndex = 86;
|
|
|
|
+ //
|
|
|
|
+ // dbLabel5
|
|
|
|
+ //
|
|
|
|
+ this.dbLabel5.AutoSize = true;
|
|
|
|
+ this.dbLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.dbLabel5.Location = new System.Drawing.Point(24, 218);
|
|
|
|
+ this.dbLabel5.Name = "dbLabel5";
|
|
|
|
+ this.dbLabel5.Size = new System.Drawing.Size(58, 21);
|
|
|
|
+ this.dbLabel5.TabIndex = 85;
|
|
|
|
+ this.dbLabel5.Text = "密码:";
|
|
|
|
+ //
|
|
|
|
+ // btnCancel
|
|
|
|
+ //
|
|
|
|
+ this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
+ this.btnCancel.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.btnCancel.Location = new System.Drawing.Point(444, 306);
|
|
|
|
+ this.btnCancel.Name = "btnCancel";
|
|
|
|
+ this.btnCancel.Size = new System.Drawing.Size(80, 30);
|
|
|
|
+ this.btnCancel.TabIndex = 78;
|
|
|
|
+ this.btnCancel.Text = "取消";
|
|
|
|
+ this.btnCancel.UseVisualStyleBackColor = true;
|
|
|
|
+ this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
+ //
|
|
|
|
+ // btnSubmit
|
|
|
|
+ //
|
|
|
|
+ this.btnSubmit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
+ this.btnSubmit.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
+ this.btnSubmit.Location = new System.Drawing.Point(358, 306);
|
|
|
|
+ this.btnSubmit.Name = "btnSubmit";
|
|
|
|
+ this.btnSubmit.Size = new System.Drawing.Size(80, 30);
|
|
|
|
+ this.btnSubmit.TabIndex = 77;
|
|
|
|
+ this.btnSubmit.Text = "确定";
|
|
|
|
+ this.btnSubmit.UseVisualStyleBackColor = true;
|
|
|
|
+ this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click);
|
|
|
|
+ //
|
|
// Configure
|
|
// Configure
|
|
//
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
- this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
|
|
|
+ this.ClientSize = new System.Drawing.Size(536, 348);
|
|
|
|
+ this.Controls.Add(this.btnCancel);
|
|
|
|
+ this.Controls.Add(this.btnSubmit);
|
|
this.Controls.Add(this.tabControl1);
|
|
this.Controls.Add(this.tabControl1);
|
|
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
|
|
|
+ this.MaximizeBox = false;
|
|
|
|
+ this.MinimizeBox = false;
|
|
this.Name = "Configure";
|
|
this.Name = "Configure";
|
|
- this.Text = "Configure";
|
|
|
|
- this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
+ this.Text = "设置";
|
|
this.tabControl1.ResumeLayout(false);
|
|
this.tabControl1.ResumeLayout(false);
|
|
|
|
+ this.tabPage1.ResumeLayout(false);
|
|
|
|
+ this.tabPage1.PerformLayout();
|
|
|
|
+ this.tabPage2.ResumeLayout(false);
|
|
|
|
+ this.tabPage2.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
}
|
|
@@ -111,5 +278,19 @@
|
|
private System.Windows.Forms.TabPage tabPage2;
|
|
private System.Windows.Forms.TabPage tabPage2;
|
|
private System.Windows.Forms.TabPage tabPage3;
|
|
private System.Windows.Forms.TabPage tabPage3;
|
|
private System.Windows.Forms.TabPage tabPage4;
|
|
private System.Windows.Forms.TabPage tabPage4;
|
|
|
|
+ private System.Windows.Forms.TextBox textBox1;
|
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
|
+ private System.Windows.Forms.TextBox dbTextBox1;
|
|
|
|
+ private System.Windows.Forms.Label dbLabel1;
|
|
|
|
+ private System.Windows.Forms.TextBox dbTextBox5;
|
|
|
|
+ private System.Windows.Forms.Label dbLabel5;
|
|
|
|
+ private System.Windows.Forms.TextBox dbTextBox4;
|
|
|
|
+ private System.Windows.Forms.Label dbLabel4;
|
|
|
|
+ private System.Windows.Forms.TextBox dbTextBox3;
|
|
|
|
+ private System.Windows.Forms.Label dbLabel3;
|
|
|
|
+ private System.Windows.Forms.TextBox dbTextBox2;
|
|
|
|
+ private System.Windows.Forms.Label dbLabel2;
|
|
|
|
+ private System.Windows.Forms.Button btnCancel;
|
|
|
|
+ private System.Windows.Forms.Button btnSubmit;
|
|
}
|
|
}
|
|
}
|
|
}
|