| | |
| | | grpSetting.Controls.Add(lblIP); |
| | | grpSetting.ForeColor = SystemColors.Control; |
| | | grpSetting.Location = new Point(22, 92); |
| | | grpSetting.Margin = new Padding(4, 4, 4, 4); |
| | | grpSetting.Margin = new Padding(4); |
| | | grpSetting.Name = "grpSetting"; |
| | | grpSetting.Padding = new Padding(4, 4, 4, 4); |
| | | grpSetting.Padding = new Padding(4); |
| | | grpSetting.Size = new Size(250, 262); |
| | | grpSetting.TabIndex = 0; |
| | | grpSetting.TabStop = false; |
| | |
| | | // txtIP |
| | | // |
| | | txtIP.Location = new Point(104, 40); |
| | | txtIP.Margin = new Padding(4, 4, 4, 4); |
| | | txtIP.Margin = new Padding(4); |
| | | txtIP.Name = "txtIP"; |
| | | txtIP.Size = new Size(124, 27); |
| | | txtIP.TabIndex = 7; |
| | |
| | | // txtPort |
| | | // |
| | | txtPort.Location = new Point(104, 88); |
| | | txtPort.Margin = new Padding(4, 4, 4, 4); |
| | | txtPort.Margin = new Padding(4); |
| | | txtPort.Name = "txtPort"; |
| | | txtPort.Size = new Size(124, 27); |
| | | txtPort.TabIndex = 6; |
| | |
| | | // |
| | | btnDisconnect.ForeColor = SystemColors.Control; |
| | | btnDisconnect.Location = new Point(148, 136); |
| | | btnDisconnect.Margin = new Padding(4, 4, 4, 4); |
| | | btnDisconnect.Margin = new Padding(4); |
| | | btnDisconnect.Name = "btnDisconnect"; |
| | | btnDisconnect.Size = new Size(94, 29); |
| | | btnDisconnect.TabIndex = 3; |
| | |
| | | // |
| | | btnConnect.ForeColor = SystemColors.Control; |
| | | btnConnect.Location = new Point(18, 136); |
| | | btnConnect.Margin = new Padding(4, 4, 4, 4); |
| | | btnConnect.Margin = new Padding(4); |
| | | btnConnect.Name = "btnConnect"; |
| | | btnConnect.Size = new Size(94, 29); |
| | | btnConnect.TabIndex = 2; |
| | |
| | | // |
| | | cmbIP.FormattingEnabled = true; |
| | | cmbIP.Location = new Point(104, 39); |
| | | cmbIP.Margin = new Padding(4, 4, 4, 4); |
| | | cmbIP.Margin = new Padding(4); |
| | | cmbIP.Name = "cmbIP"; |
| | | cmbIP.Size = new Size(124, 28); |
| | | cmbIP.TabIndex = 1; |
| | |
| | | // lblDataType |
| | | // |
| | | lblDataType.AutoSize = true; |
| | | lblDataType.Location = new Point(200, 144); |
| | | lblDataType.Location = new Point(206, 145); |
| | | lblDataType.Margin = new Padding(4, 0, 4, 0); |
| | | lblDataType.Name = "lblDataType"; |
| | | lblDataType.Size = new Size(39, 20); |
| | |
| | | // cmbDataType |
| | | // |
| | | cmbDataType.FormattingEnabled = true; |
| | | cmbDataType.Location = new Point(250, 140); |
| | | cmbDataType.Margin = new Padding(4, 4, 4, 4); |
| | | cmbDataType.Location = new Point(255, 140); |
| | | cmbDataType.Margin = new Padding(4); |
| | | cmbDataType.Name = "cmbDataType"; |
| | | cmbDataType.Size = new Size(116, 28); |
| | | cmbDataType.Size = new Size(94, 28); |
| | | cmbDataType.TabIndex = 9; |
| | | // |
| | | // grpReceive |
| | |
| | | grpReceive.Controls.Add(txtReceiveMsg); |
| | | grpReceive.ForeColor = SystemColors.Control; |
| | | grpReceive.Location = new Point(22, 389); |
| | | grpReceive.Margin = new Padding(4, 4, 4, 4); |
| | | grpReceive.Margin = new Padding(4); |
| | | grpReceive.Name = "grpReceive"; |
| | | grpReceive.Padding = new Padding(4, 4, 4, 4); |
| | | grpReceive.Padding = new Padding(4); |
| | | grpReceive.Size = new Size(679, 218); |
| | | grpReceive.TabIndex = 5; |
| | | grpReceive.TabStop = false; |
| | |
| | | // |
| | | txtReceiveMsg.Dock = DockStyle.Fill; |
| | | txtReceiveMsg.Location = new Point(4, 24); |
| | | txtReceiveMsg.Margin = new Padding(4, 4, 4, 4); |
| | | txtReceiveMsg.Margin = new Padding(4); |
| | | txtReceiveMsg.Multiline = true; |
| | | txtReceiveMsg.Name = "txtReceiveMsg"; |
| | | txtReceiveMsg.ReadOnly = true; |
| | |
| | | // |
| | | txtSendMsg.ForeColor = SystemColors.WindowText; |
| | | txtSendMsg.Location = new Point(26, 311); |
| | | txtSendMsg.Margin = new Padding(4, 4, 4, 4); |
| | | txtSendMsg.Margin = new Padding(4); |
| | | txtSendMsg.Name = "txtSendMsg"; |
| | | txtSendMsg.Size = new Size(238, 27); |
| | | txtSendMsg.TabIndex = 10; |
| | |
| | | // |
| | | btnSend.ForeColor = SystemColors.WindowText; |
| | | btnSend.Location = new Point(22, 352); |
| | | btnSend.Margin = new Padding(4, 4, 4, 4); |
| | | btnSend.Margin = new Padding(4); |
| | | btnSend.Name = "btnSend"; |
| | | btnSend.Size = new Size(94, 29); |
| | | btnSend.TabIndex = 11; |
| | |
| | | grpTest.Controls.Add(cmbDataType); |
| | | grpTest.ForeColor = SystemColors.Control; |
| | | grpTest.Location = new Point(301, 92); |
| | | grpTest.Margin = new Padding(4, 4, 4, 4); |
| | | grpTest.Margin = new Padding(4); |
| | | grpTest.Name = "grpTest"; |
| | | grpTest.Padding = new Padding(4, 4, 4, 4); |
| | | grpTest.Padding = new Padding(4); |
| | | grpTest.Size = new Size(400, 262); |
| | | grpTest.TabIndex = 12; |
| | | grpTest.TabStop = false; |
| | |
| | | // txtAddress |
| | | // |
| | | txtAddress.Location = new Point(74, 140); |
| | | txtAddress.Margin = new Padding(4, 4, 4, 4); |
| | | txtAddress.Margin = new Padding(4); |
| | | txtAddress.Name = "txtAddress"; |
| | | txtAddress.ReadOnly = true; |
| | | txtAddress.Size = new Size(116, 27); |
| | |
| | | // |
| | | ckbRuleCheck.AutoSize = true; |
| | | ckbRuleCheck.Location = new Point(69, 216); |
| | | ckbRuleCheck.Margin = new Padding(4, 4, 4, 4); |
| | | ckbRuleCheck.Margin = new Padding(4); |
| | | ckbRuleCheck.Name = "ckbRuleCheck"; |
| | | ckbRuleCheck.Size = new Size(121, 24); |
| | | ckbRuleCheck.TabIndex = 6; |
| | |
| | | // |
| | | cmbCom.FormattingEnabled = true; |
| | | cmbCom.Location = new Point(255, 44); |
| | | cmbCom.Margin = new Padding(4, 4, 4, 4); |
| | | cmbCom.Margin = new Padding(4); |
| | | cmbCom.Name = "cmbCom"; |
| | | cmbCom.Size = new Size(124, 28); |
| | | cmbCom.TabIndex = 8; |
| | |
| | | // |
| | | cmbType.FormattingEnabled = true; |
| | | cmbType.Location = new Point(74, 45); |
| | | cmbType.Margin = new Padding(4, 4, 4, 4); |
| | | cmbType.Margin = new Padding(4); |
| | | cmbType.Name = "cmbType"; |
| | | cmbType.Size = new Size(116, 28); |
| | | cmbType.TabIndex = 5; |
| | |
| | | // |
| | | btnRun.ForeColor = SystemColors.WindowText; |
| | | btnRun.Location = new Point(269, 210); |
| | | btnRun.Margin = new Padding(4, 4, 4, 4); |
| | | btnRun.Margin = new Padding(4); |
| | | btnRun.Name = "btnRun"; |
| | | btnRun.Size = new Size(94, 29); |
| | | btnRun.TabIndex = 3; |
| | |
| | | // txtMsg |
| | | // |
| | | txtMsg.Location = new Point(74, 95); |
| | | txtMsg.Margin = new Padding(4, 4, 4, 4); |
| | | txtMsg.Margin = new Padding(4); |
| | | txtMsg.Name = "txtMsg"; |
| | | txtMsg.ReadOnly = true; |
| | | txtMsg.Size = new Size(305, 27); |
| | |
| | | // |
| | | btnRuleSend.ForeColor = SystemColors.WindowText; |
| | | btnRuleSend.Location = new Point(148, 352); |
| | | btnRuleSend.Margin = new Padding(4, 4, 4, 4); |
| | | btnRuleSend.Margin = new Padding(4); |
| | | btnRuleSend.Name = "btnRuleSend"; |
| | | btnRuleSend.Size = new Size(94, 29); |
| | | btnRuleSend.TabIndex = 13; |
| | |
| | | themeForm1.Font = new Font("Microsoft Sans Serif", 9F); |
| | | themeForm1.Image = (Image)resources.GetObject("themeForm1.Image"); |
| | | themeForm1.Location = new Point(0, 0); |
| | | themeForm1.Margin = new Padding(4, 4, 4, 4); |
| | | themeForm1.Margin = new Padding(4); |
| | | themeForm1.Name = "themeForm1"; |
| | | themeForm1.Padding = new Padding(12, 88, 12, 11); |
| | | themeForm1.RoundCorners = true; |
| | |
| | | controlBox1.EnableMaximizeButton = false; |
| | | controlBox1.EnableMinimizeButton = false; |
| | | controlBox1.ForeColor = Color.FromArgb(155, 155, 155); |
| | | controlBox1.Location = new Point(601, 22); |
| | | controlBox1.Margin = new Padding(4, 4, 4, 4); |
| | | controlBox1.Location = new Point(601, 18); |
| | | controlBox1.Margin = new Padding(4); |
| | | controlBox1.MaximizeHoverColor = Color.FromArgb(74, 74, 74); |
| | | controlBox1.MinimizeHoverColor = Color.FromArgb(63, 63, 65); |
| | | controlBox1.Name = "controlBox1"; |
| | |
| | | Controls.Add(grpSetting); |
| | | Controls.Add(themeForm1); |
| | | FormBorderStyle = FormBorderStyle.None; |
| | | Margin = new Padding(4, 4, 4, 4); |
| | | Margin = new Padding(4); |
| | | MinimumSize = new Size(326, 76); |
| | | Name = "CommunicatorForm"; |
| | | Text = "通讯测试"; |