📄 settingsform.cs
字号:
this.label21.TabIndex = 29;
this.label21.Text = "TO Mult";
this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label21, "Timeout multiplier (ms)");
//
// label20
//
this.label20.Location = new System.Drawing.Point(8, 137);
this.label20.Name = "label20";
this.label20.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label20.Size = new System.Drawing.Size(56, 16);
this.label20.TabIndex = 28;
this.label20.Text = "TO Const";
this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label20, "Timeout constant (ms)");
//
// label19
//
this.label19.Location = new System.Drawing.Point(8, 113);
this.label19.Name = "label19";
this.label19.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label19.Size = new System.Drawing.Size(56, 16);
this.label19.TabIndex = 27;
this.label19.Text = "Q Size";
this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label19, "Requested size of transmission buffer (0 means use operating system defaults");
//
// numericUpDownTC
//
this.numericUpDownTC.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownTC.Location = new System.Drawing.Point(72, 136);
this.numericUpDownTC.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownTC.Name = "numericUpDownTC";
this.numericUpDownTC.Size = new System.Drawing.Size(64, 20);
this.numericUpDownTC.TabIndex = 22;
this.toolTip.SetToolTip(this.numericUpDownTC, "Timeout constant (ms)");
//
// numericUpDownTM
//
this.numericUpDownTM.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownTM.Location = new System.Drawing.Point(72, 160);
this.numericUpDownTM.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownTM.Name = "numericUpDownTM";
this.numericUpDownTM.Size = new System.Drawing.Size(64, 20);
this.numericUpDownTM.TabIndex = 20;
this.toolTip.SetToolTip(this.numericUpDownTM, "Timeout multiplier (ms)");
//
// numericUpDownTxS
//
this.numericUpDownTxS.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownTxS.Location = new System.Drawing.Point(72, 112);
this.numericUpDownTxS.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownTxS.Name = "numericUpDownTxS";
this.numericUpDownTxS.Size = new System.Drawing.Size(64, 20);
this.numericUpDownTxS.TabIndex = 25;
this.toolTip.SetToolTip(this.numericUpDownTxS, "Requested size of transmission buffer (0 means use operating system defaults");
//
// checkBoxCheck
//
this.checkBoxCheck.Location = new System.Drawing.Point(8, 192);
this.checkBoxCheck.Name = "checkBoxCheck";
this.checkBoxCheck.Size = new System.Drawing.Size(104, 16);
this.checkBoxCheck.TabIndex = 26;
this.checkBoxCheck.Text = "Check all sends";
this.toolTip.SetToolTip(this.checkBoxCheck, "Check the result of all sends (slows performance)");
//
// checkBoxXC
//
this.checkBoxXC.Location = new System.Drawing.Point(8, 88);
this.checkBoxXC.Name = "checkBoxXC";
this.checkBoxXC.Size = new System.Drawing.Size(112, 16);
this.checkBoxXC.TabIndex = 3;
this.checkBoxXC.Text = "Tx when Rx Xoff";
this.toolTip.SetToolTip(this.checkBoxXC, "Block transmission when Xoff has been sent (for devices which treat any character" +
" as Xon)");
//
// checkBoxTxX
//
this.checkBoxTxX.Location = new System.Drawing.Point(8, 64);
this.checkBoxTxX.Name = "checkBoxTxX";
this.checkBoxTxX.Size = new System.Drawing.Size(112, 16);
this.checkBoxTxX.TabIndex = 2;
this.checkBoxTxX.Text = "Xon / Xoff";
this.toolTip.SetToolTip(this.checkBoxTxX, "Xon and Xoff codes control transmission");
//
// checkBoxDSR
//
this.checkBoxDSR.Location = new System.Drawing.Point(8, 40);
this.checkBoxDSR.Name = "checkBoxDSR";
this.checkBoxDSR.Size = new System.Drawing.Size(112, 16);
this.checkBoxDSR.TabIndex = 1;
this.checkBoxDSR.Text = "DSR";
this.toolTip.SetToolTip(this.checkBoxDSR, "DSR input controls transmission");
//
// checkBoxCTS
//
this.checkBoxCTS.Location = new System.Drawing.Point(8, 16);
this.checkBoxCTS.Name = "checkBoxCTS";
this.checkBoxCTS.Size = new System.Drawing.Size(112, 16);
this.checkBoxCTS.TabIndex = 0;
this.checkBoxCTS.Text = "CTS";
this.toolTip.SetToolTip(this.checkBoxCTS, "CTS input controls transmission");
//
// groupBox2
//
this.groupBox2.Controls.Add(this.label24);
this.groupBox2.Controls.Add(this.label23);
this.groupBox2.Controls.Add(this.label22);
this.groupBox2.Controls.Add(this.numericUpDownRxS);
this.groupBox2.Controls.Add(this.numericUpDownHW);
this.groupBox2.Controls.Add(this.numericUpDownLW);
this.groupBox2.Controls.Add(this.checkBoxGD);
this.groupBox2.Controls.Add(this.checkBoxRxX);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.comboBoxDTR);
this.groupBox2.Controls.Add(this.comboBoxRTS);
this.groupBox2.Location = new System.Drawing.Point(148, 88);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(144, 186);
this.groupBox2.TabIndex = 11;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Rx Flow Control";
//
// label24
//
this.label24.Location = new System.Drawing.Point(8, 161);
this.label24.Name = "label24";
this.label24.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label24.Size = new System.Drawing.Size(56, 16);
this.label24.TabIndex = 30;
this.label24.Text = "L. Water";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label24, "Number of characters remaining in buffer at which reception is re-enabled");
//
// label23
//
this.label23.Location = new System.Drawing.Point(8, 137);
this.label23.Name = "label23";
this.label23.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label23.Size = new System.Drawing.Size(56, 16);
this.label23.TabIndex = 29;
this.label23.Text = "H. Water";
this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label23, "Number of free spaces in buffer at which reception is disabled");
//
// label22
//
this.label22.Location = new System.Drawing.Point(8, 113);
this.label22.Name = "label22";
this.label22.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.label22.Size = new System.Drawing.Size(56, 16);
this.label22.TabIndex = 28;
this.label22.Text = "Q Size";
this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label22, "Requested size of reception buffer (0 means use operating system defaults)");
//
// numericUpDownRxS
//
this.numericUpDownRxS.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownRxS.Location = new System.Drawing.Point(72, 112);
this.numericUpDownRxS.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownRxS.Name = "numericUpDownRxS";
this.numericUpDownRxS.Size = new System.Drawing.Size(64, 20);
this.numericUpDownRxS.TabIndex = 20;
this.toolTip.SetToolTip(this.numericUpDownRxS, "Requested size of reception buffer (0 means use operating system defaults)");
//
// numericUpDownHW
//
this.numericUpDownHW.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownHW.Location = new System.Drawing.Point(72, 136);
this.numericUpDownHW.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownHW.Name = "numericUpDownHW";
this.numericUpDownHW.Size = new System.Drawing.Size(64, 20);
this.numericUpDownHW.TabIndex = 19;
this.toolTip.SetToolTip(this.numericUpDownHW, "Number of free spaces in buffer at which reception is disabled");
//
// numericUpDownLW
//
this.numericUpDownLW.Increment = new System.Decimal(new int[] {
500,
0,
0,
0});
this.numericUpDownLW.Location = new System.Drawing.Point(72, 160);
this.numericUpDownLW.Maximum = new System.Decimal(new int[] {
60000,
0,
0,
0});
this.numericUpDownLW.Name = "numericUpDownLW";
this.numericUpDownLW.Size = new System.Drawing.Size(64, 20);
this.numericUpDownLW.TabIndex = 18;
this.toolTip.SetToolTip(this.numericUpDownLW, "Number of characters remaining in buffer at which reception is re-enabled");
//
// checkBoxGD
//
this.checkBoxGD.Location = new System.Drawing.Point(8, 88);
this.checkBoxGD.Name = "checkBoxGD";
this.checkBoxGD.Size = new System.Drawing.Size(112, 16);
this.checkBoxGD.TabIndex = 10;
this.checkBoxGD.Text = "Gate on DSR";
this.toolTip.SetToolTip(this.checkBoxGD, "Received characters are ignored unless DSR is asserted");
//
// checkBoxRxX
//
this.checkBoxRxX.Location = new System.Drawing.Point(8, 64);
this.checkBoxRxX.Name = "checkBoxRxX";
this.checkBoxRxX.Size = new System.Drawing.Size(88, 16);
this.checkBoxRxX.TabIndex = 9;
this.checkBoxRxX.Text = "Xon / Xoff";
this.toolTip.SetToolTip(this.checkBoxRxX, "Xon and Xoff are sent to control reception");
//
// label7
//
this.label7.Location = new System.Drawing.Point(16, 44);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(32, 16);
this.label7.TabIndex = 8;
this.label7.Text = "DTR";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label7, "The use to which the DTR output is put");
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 19);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(32, 16);
this.label6.TabIndex = 7;
this.label6.Text = "RTS";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label6, "The use to which the RTS output is put");
//
// comboBoxDTR
//
this.comboBoxDTR.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxDTR.Items.AddRange(new object[] {
"none",
"online",
"handshake",
"gate"});
this.comboBoxDTR.Location = new System.Drawing.Point(56, 40);
this.comboBoxDTR.Name = "comboBoxDTR";
this.comboBoxDTR.Size = new System.Drawing.Size(80, 21);
this.comboBoxDTR.TabIndex = 6;
this.toolTip.SetToolTip(this.comboBoxDTR, "The use to which the DTR output is put");
//
// comboBoxRTS
//
this.comboBoxRTS.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxRTS.Items.AddRange(new object[] {
"none",
"online",
"handshake",
"gate"});
this.comboBoxRTS.Location = new System.Drawing.Point(56, 16);
this.comboBoxRTS.Name = "comboBoxRTS";
this.comboBoxRTS.Size = new System.Drawing.Size(80, 21);
this.comboBoxRTS.TabIndex = 5;
this.toolTip.SetToolTip(this.comboBoxRTS, "The use to which the RTS output is put");
//
// groupBox3
//
this.groupBox3.Controls.Add(this.label2);
this.groupBox3.Controls.Add(this.label11);
this.groupBox3.Controls.Add(this.label5);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.comboBoxPort);
this.groupBox3.Controls.Add(this.comboBoxBaud);
this.groupBox3.Controls.Add(this.comboBoxDB);
this.groupBox3.Controls.Add(this.comboBoxParity);
this.groupBox3.Controls.Add(this.comboBoxSB);
this.groupBox3.Location = new System.Drawing.Point(4, 0);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(288, 88);
this.groupBox3.TabIndex = 20;
this.groupBox3.TabStop = false;
//
// label2
//
this.label2.Location = new System.Drawing.Point(145, 18);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(64, 16);
this.label2.TabIndex = 13;
this.label2.Text = "Baud";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label2, "Baud rate (unsupported rates will throw an exception)");
this.label2.UseMnemonic = false;
//
// label11
//
this.label11.Location = new System.Drawing.Point(8, 17);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(64, 16);
this.label11.TabIndex = 12;
this.label11.Text = "Port";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip.SetToolTip(this.label11, "Communications port name (\"COM1\")");
//
// label5
//
this.label5.Location = new System.Drawing.Point(216, 40);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 16);
this.label5.TabIndex = 11;
this.label5.Text = "StopBits";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip.SetToolTip(this.label5, "Number of stop bits added to the frame");
//
// label3
//
this.label3.Location = new System.Drawing.Point(112, 40);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(64, 16);
this.label3.TabIndex = 10;
this.label3.Text = "Parity";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolTip.SetToolTip(this.label3, "Parity scheme (except for [none] adds a bit to the frame)");
//
// label4
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -