| | |
| | | // |
| | | // uiLabelIP |
| | | // |
| | | uiLabelIP.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiLabelIP.Font = new Font("宋体", 12F); |
| | | uiLabelIP.ForeColor = Color.FromArgb(48, 48, 48); |
| | | uiLabelIP.Location = new Point(84, 111); |
| | | uiLabelIP.Name = "uiLabelIP"; |
| | |
| | | // |
| | | // uiLabelPort |
| | | // |
| | | uiLabelPort.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiLabelPort.Font = new Font("宋体", 12F); |
| | | uiLabelPort.ForeColor = Color.FromArgb(48, 48, 48); |
| | | uiLabelPort.Location = new Point(84, 177); |
| | | uiLabelPort.Name = "uiLabelPort"; |
| | |
| | | // |
| | | // uiButtonCancel |
| | | // |
| | | uiButtonCancel.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiButtonCancel.Font = new Font("宋体", 12F); |
| | | uiButtonCancel.Location = new Point(343, 234); |
| | | uiButtonCancel.MinimumSize = new Size(1, 1); |
| | | uiButtonCancel.Name = "uiButtonCancel"; |
| | |
| | | // |
| | | // uiTextBoxPort |
| | | // |
| | | uiTextBoxPort.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiTextBoxPort.Font = new Font("宋体", 12F); |
| | | uiTextBoxPort.Location = new Point(191, 175); |
| | | uiTextBoxPort.Margin = new Padding(4, 5, 4, 5); |
| | | uiTextBoxPort.MinimumSize = new Size(1, 16); |
| | | uiTextBoxPort.Name = "uiTextBoxPort"; |
| | | uiTextBoxPort.Padding = new Padding(5); |
| | | //uiTextBoxPort.ShowText = false; |
| | | uiTextBoxPort.Size = new Size(205, 29); |
| | | uiTextBoxPort.Size = new Size(205, 26); |
| | | uiTextBoxPort.TabIndex = 5; |
| | | //uiTextBoxPort.TextAlignment = ContentAlignment.MiddleLeft; |
| | | //uiTextBoxPort.Watermark = ""; |
| | | uiTextBoxPort.TextChanged += uiTextBoxPort_TextChanged; |
| | | // |
| | | // rButtonUART |
| | | // |
| | | rButtonUART.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | rButtonUART.Font = new Font("宋体", 12F); |
| | | rButtonUART.Location = new Point(51, 12); |
| | | rButtonUART.MinimumSize = new Size(1, 1); |
| | | rButtonUART.Name = "rButtonUART"; |
| | |
| | | // |
| | | // rButtonTCPServer |
| | | // |
| | | rButtonTCPServer.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | rButtonTCPServer.Font = new Font("宋体", 12F); |
| | | rButtonTCPServer.Location = new Point(51, 47); |
| | | rButtonTCPServer.MinimumSize = new Size(1, 1); |
| | | rButtonTCPServer.Name = "rButtonTCPServer"; |
| | |
| | | // |
| | | // rButtonTCPClient |
| | | // |
| | | rButtonTCPClient.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | rButtonTCPClient.Font = new Font("宋体", 12F); |
| | | rButtonTCPClient.Location = new Point(293, 47); |
| | | rButtonTCPClient.MinimumSize = new Size(1, 1); |
| | | rButtonTCPClient.Name = "rButtonTCPClient"; |
| | |
| | | // uiButtonCreate |
| | | // |
| | | uiButtonCreate.Enabled = false; |
| | | uiButtonCreate.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiButtonCreate.Font = new Font("宋体", 12F); |
| | | uiButtonCreate.Location = new Point(191, 234); |
| | | uiButtonCreate.MinimumSize = new Size(1, 1); |
| | | uiButtonCreate.Name = "uiButtonCreate"; |
| | |
| | | // |
| | | // uiButtonTest |
| | | // |
| | | uiButtonTest.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiButtonTest.Font = new Font("宋体", 12F); |
| | | uiButtonTest.Location = new Point(31, 234); |
| | | uiButtonTest.MinimumSize = new Size(1, 1); |
| | | uiButtonTest.Name = "uiButtonTest"; |
| | |
| | | // |
| | | // uiComboBoxPort |
| | | // |
| | | uiComboBoxPort.DataSource = null; |
| | | //uiComboBoxPort.FillColor = Color.White; |
| | | uiComboBoxPort.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | //uiComboBoxPort.ItemHoverColor = Color.FromArgb(155, 200, 255); |
| | | //uiComboBoxPort.ItemSelectForeColor = Color.FromArgb(235, 243, 255); |
| | | uiComboBoxPort.Font = new Font("宋体", 12F); |
| | | uiComboBoxPort.Location = new Point(191, 108); |
| | | uiComboBoxPort.Margin = new Padding(4, 5, 4, 5); |
| | | uiComboBoxPort.MinimumSize = new Size(63, 0); |
| | | uiComboBoxPort.Name = "uiComboBoxPort"; |
| | | uiComboBoxPort.Padding = new Padding(0, 0, 30, 2); |
| | | uiComboBoxPort.Size = new Size(205, 29); |
| | | //uiComboBoxPort.SymbolSize = 24; |
| | | uiComboBoxPort.Size = new Size(205, 24); |
| | | uiComboBoxPort.TabIndex = 11; |
| | | //uiComboBoxPort.TextAlignment = ContentAlignment.MiddleLeft; |
| | | //uiComboBoxPort.Watermark = ""; |
| | | uiComboBoxPort.MouseClick += uiComboBoxPort_MouseClick; |
| | | // |
| | | // uiIPTextBox |
| | | // |
| | | //uiIPTextBox.FillColor2 = Color.FromArgb(235, 243, 255); |
| | | uiIPTextBox.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiIPTextBox.Font = new Font("宋体", 12F); |
| | | uiIPTextBox.Location = new Point(191, 108); |
| | | uiIPTextBox.Margin = new Padding(4, 5, 4, 5); |
| | | uiIPTextBox.MinimumSize = new Size(1, 1); |
| | | uiIPTextBox.Name = "uiIPTextBox"; |
| | | uiIPTextBox.Padding = new Padding(1); |
| | | //uiIPTextBox.ShowText = false; |
| | | uiIPTextBox.Size = new Size(205, 29); |
| | | uiIPTextBox.Size = new Size(205, 26); |
| | | uiIPTextBox.TabIndex = 12; |
| | | //uiIPTextBox.TextAlignment = ContentAlignment.MiddleCenter; |
| | | uiIPTextBox.MouseClick += uiIPTextBox_MouseClick; |
| | | // |
| | | // uiTextBoxPath |
| | | // |
| | | uiTextBoxPath.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | uiTextBoxPath.Font = new Font("宋体", 12F); |
| | | uiTextBoxPath.Location = new Point(191, 108); |
| | | uiTextBoxPath.Margin = new Padding(4, 5, 4, 5); |
| | | uiTextBoxPath.MinimumSize = new Size(1, 16); |
| | | uiTextBoxPath.Name = "uiTextBoxPath"; |
| | | uiTextBoxPath.Padding = new Padding(5); |
| | | //uiTextBoxPath.ShowText = false; |
| | | uiTextBoxPath.Size = new Size(205, 29); |
| | | uiTextBoxPath.Size = new Size(205, 26); |
| | | uiTextBoxPath.TabIndex = 13; |
| | | //uiTextBoxPath.TextAlignment = ContentAlignment.MiddleLeft; |
| | | //uiTextBoxPath.Watermark = ""; |
| | | // |
| | | // rButtonMonitor |
| | | // |
| | | rButtonMonitor.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point); |
| | | rButtonMonitor.Font = new Font("宋体", 12F); |
| | | rButtonMonitor.Location = new Point(293, 12); |
| | | rButtonMonitor.MinimumSize = new Size(1, 1); |
| | | rButtonMonitor.Name = "rButtonMonitor"; |
| | |
| | | // |
| | | // CreateCommunicatorForm |
| | | // |
| | | //AllowShowTitle = false; |
| | | AutoScaleMode = AutoScaleMode.None; |
| | | AutoScaleDimensions = new SizeF(96F, 96F); |
| | | AutoScaleMode = AutoScaleMode.Dpi; |
| | | ClientSize = new Size(484, 285); |
| | | ControlBox = false; |
| | | Controls.Add(rButtonMonitor); |
| | |
| | | MaximizeBox = false; |
| | | MinimizeBox = false; |
| | | Name = "CreateCommunicatorForm"; |
| | | Padding = new Padding(0); |
| | | //ShowTitle = false; |
| | | Text = "创建通讯"; |
| | | //ZoomScaleRect = new Rectangle(15, 15, 800, 450); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | | |
| | | #endregion |