📄 form1.designer.cs
字号:
this.cmbSend.Location = new System.Drawing.Point(55, 21);
this.cmbSend.Name = "cmbSend";
this.cmbSend.Size = new System.Drawing.Size(44, 20);
this.cmbSend.TabIndex = 1;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(0, 24);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 12);
this.label4.TabIndex = 0;
this.label4.Text = "Function:";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.txtShowRece);
this.groupBox3.Controls.Add(this.txtBcc4);
this.groupBox3.Controls.Add(this.txtBcc3);
this.groupBox3.Controls.Add(this.label7);
this.groupBox3.Controls.Add(this.txtRece);
this.groupBox3.Controls.Add(this.label8);
this.groupBox3.Controls.Add(this.label9);
this.groupBox3.Location = new System.Drawing.Point(183, 91);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(388, 51);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Rece";
//
// txtShowRece
//
this.txtShowRece.ForeColor = System.Drawing.Color.Red;
this.txtShowRece.Location = new System.Drawing.Point(55, 14);
this.txtShowRece.Name = "txtShowRece";
this.txtShowRece.Size = new System.Drawing.Size(44, 21);
this.txtShowRece.TabIndex = 14;
//
// txtBcc4
//
this.txtBcc4.ForeColor = System.Drawing.Color.Red;
this.txtBcc4.Location = new System.Drawing.Point(335, 15);
this.txtBcc4.Name = "txtBcc4";
this.txtBcc4.Size = new System.Drawing.Size(24, 21);
this.txtBcc4.TabIndex = 13;
//
// txtBcc3
//
this.txtBcc3.ForeColor = System.Drawing.Color.Red;
this.txtBcc3.Location = new System.Drawing.Point(305, 16);
this.txtBcc3.Name = "txtBcc3";
this.txtBcc3.Size = new System.Drawing.Size(24, 21);
this.txtBcc3.TabIndex = 12;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(270, 22);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(29, 12);
this.label7.TabIndex = 11;
this.label7.Text = "BCC:";
//
// txtRece
//
this.txtRece.ForeColor = System.Drawing.Color.Red;
this.txtRece.Location = new System.Drawing.Point(140, 14);
this.txtRece.Name = "txtRece";
this.txtRece.Size = new System.Drawing.Size(123, 21);
this.txtRece.TabIndex = 10;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(105, 24);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(35, 12);
this.label8.TabIndex = 9;
this.label8.Text = "Data:";
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(0, 19);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(59, 12);
this.label9.TabIndex = 7;
this.label9.Text = "Function:";
//
// btnBuzzer
//
this.btnBuzzer.Location = new System.Drawing.Point(578, 43);
this.btnBuzzer.Name = "btnBuzzer";
this.btnBuzzer.Size = new System.Drawing.Size(102, 23);
this.btnBuzzer.TabIndex = 3;
this.btnBuzzer.Text = "StartBuzzer";
this.btnBuzzer.UseVisualStyleBackColor = true;
this.btnBuzzer.Click += new System.EventHandler(this.btnBuzzer_Click);
//
// closeBuzzer
//
this.closeBuzzer.Location = new System.Drawing.Point(578, 79);
this.closeBuzzer.Name = "closeBuzzer";
this.closeBuzzer.Size = new System.Drawing.Size(102, 23);
this.closeBuzzer.TabIndex = 4;
this.closeBuzzer.Text = "CloseBuzzer";
this.closeBuzzer.UseVisualStyleBackColor = true;
this.closeBuzzer.Click += new System.EventHandler(this.closeBuzzer_Click);
//
// btnOpenPort
//
this.btnOpenPort.Location = new System.Drawing.Point(23, 189);
this.btnOpenPort.Name = "btnOpenPort";
this.btnOpenPort.Size = new System.Drawing.Size(75, 23);
this.btnOpenPort.TabIndex = 5;
this.btnOpenPort.Text = "OpenPort";
this.btnOpenPort.UseVisualStyleBackColor = true;
this.btnOpenPort.Click += new System.EventHandler(this.btnOpenPort_Click);
//
// btnClosePort
//
this.btnClosePort.Location = new System.Drawing.Point(104, 189);
this.btnClosePort.Name = "btnClosePort";
this.btnClosePort.Size = new System.Drawing.Size(73, 23);
this.btnClosePort.TabIndex = 6;
this.btnClosePort.Text = "ClosePort";
this.btnClosePort.UseVisualStyleBackColor = true;
this.btnClosePort.Click += new System.EventHandler(this.btnClosePort_Click);
//
// btnReverseBuzzer
//
this.btnReverseBuzzer.Location = new System.Drawing.Point(578, 119);
this.btnReverseBuzzer.Name = "btnReverseBuzzer";
this.btnReverseBuzzer.Size = new System.Drawing.Size(102, 23);
this.btnReverseBuzzer.TabIndex = 9;
this.btnReverseBuzzer.Text = "ReverseBuzzer";
this.btnReverseBuzzer.UseVisualStyleBackColor = true;
this.btnReverseBuzzer.Click += new System.EventHandler(this.btnReverseBuzzer_Click);
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(578, 318);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(75, 23);
this.btnExit.TabIndex = 10;
this.btnExit.Text = "Exit";
this.btnExit.UseVisualStyleBackColor = true;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(23, 318);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(65, 12);
this.label12.TabIndex = 12;
this.label12.Text = "Now Time:";
//
// lblTime
//
this.lblTime.AutoSize = true;
this.lblTime.ForeColor = System.Drawing.Color.Red;
this.lblTime.Location = new System.Drawing.Point(104, 317);
this.lblTime.Name = "lblTime";
this.lblTime.Size = new System.Drawing.Size(47, 12);
this.lblTime.TabIndex = 13;
this.lblTime.Text = "label13";
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// btnSend
//
this.btnSend.Location = new System.Drawing.Point(185, 154);
this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(75, 23);
this.btnSend.TabIndex = 19;
this.btnSend.Text = "Send";
this.btnSend.UseVisualStyleBackColor = true;
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
//
// serialPort1
//
this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);
//
// btnCLoExit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(692, 382);
this.Controls.Add(this.btnSend);
this.Controls.Add(this.lblTime);
this.Controls.Add(this.label12);
this.Controls.Add(this.btnExit);
this.Controls.Add(this.btnReverseBuzzer);
this.Controls.Add(this.btnClosePort);
this.Controls.Add(this.btnOpenPort);
this.Controls.Add(this.closeBuzzer);
this.Controls.Add(this.btnBuzzer);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "btnCLoExit";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Demo DS-3100";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBox3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TextBox txtBcc2;
private System.Windows.Forms.TextBox txtBcc1;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtSend;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox cmbSend;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox txtBcc4;
private System.Windows.Forms.TextBox txtBcc3;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox txtRece;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Button btnBuzzer;
private System.Windows.Forms.TextBox txtShowRece;
private System.Windows.Forms.Button closeBuzzer;
private System.Windows.Forms.Button btnOpenPort;
private System.Windows.Forms.Button btnClosePort;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Button btnReverseBuzzer;
private System.Windows.Forms.ComboBox cboData;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label lblTime;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Button btnSend;
public System.Windows.Forms.ComboBox cboId;
private System.IO.Ports.SerialPort serialPort1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -