| | |
| | | btnConnect = new Button(); |
| | | cmbIP = new ComboBox(); |
| | | lblIP = new Label(); |
| | | lblDataType = new Label(); |
| | | cmbDataType = new ComboBox(); |
| | | grpReceive = new GroupBox(); |
| | | txtReceiveMsg = new TextBox(); |
| | | txtSendMsg = new TextBox(); |
| | |
| | | grpSetting.ForeColor = SystemColors.Control; |
| | | grpSetting.Location = new Point(18, 74); |
| | | grpSetting.Name = "grpSetting"; |
| | | grpSetting.Size = new Size(200, 146); |
| | | grpSetting.Size = new Size(200, 210); |
| | | grpSetting.TabIndex = 0; |
| | | grpSetting.TabStop = false; |
| | | grpSetting.Text = "通讯配置"; |
| | |
| | | grpTest.Controls.Add(lblAddress); |
| | | grpTest.Controls.Add(lblMsg); |
| | | grpTest.Controls.Add(txtMsg); |
| | | grpTest.Controls.Add(lblDataType); |
| | | grpTest.Controls.Add(cmbDataType); |
| | | grpTest.ForeColor = SystemColors.Control; |
| | | grpTest.Location = new Point(241, 74); |
| | | grpTest.Name = "grpTest"; |
| | | grpTest.Size = new Size(320, 146); |
| | | grpTest.Size = new Size(320, 210); |
| | | grpTest.TabIndex = 12; |
| | | grpTest.TabStop = false; |
| | | grpTest.Text = "通讯测试"; |
| | | // |
| | | // lblDataType |
| | | // |
| | | lblDataType.AutoSize = true; |
| | | lblDataType.Location = new Point(160, 115); |
| | | lblDataType.Name = "lblDataType"; |
| | | lblDataType.Size = new Size(32, 17); |
| | | lblDataType.TabIndex = 8; |
| | | lblDataType.Text = "类型"; |
| | | // |
| | | // cmbDataType |
| | | // |
| | | cmbDataType.FormattingEnabled = true; |
| | | cmbDataType.Location = new Point(200, 112); |
| | | cmbDataType.Name = "cmbDataType"; |
| | | cmbDataType.Size = new Size(94, 25); |
| | | cmbDataType.TabIndex = 9; |
| | | // |
| | | // lblCom |
| | | // |
| | |
| | | // btnRun |
| | | // |
| | | btnRun.ForeColor = SystemColors.WindowText; |
| | | btnRun.Location = new Point(215, 109); |
| | | btnRun.Location = new Point(215, 168); |
| | | btnRun.Name = "btnRun"; |
| | | btnRun.Size = new Size(75, 23); |
| | | btnRun.TabIndex = 3; |
| | |
| | | private ReaLTaiizor.Controls.ControlBox controlBox1; |
| | | private TextBox txtAddress; |
| | | private Label lblAddress; |
| | | private Label lblDataType; |
| | | private ComboBox cmbDataType; |
| | | } |
| | | } |