| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479 |
- namespace APS7100TestTool.Forms
- {
- partial class SettingsForm
- {
- private System.ComponentModel.IContainer components = null;
- // APS7100 Controls
- private System.Windows.Forms.GroupBox grpAPS7100;
- private System.Windows.Forms.CheckBox chkAutoConnectAPS7100;
- private System.Windows.Forms.RadioButton rbAPS7100Serial;
- private System.Windows.Forms.RadioButton rbAPS7100Ethernet;
- private System.Windows.Forms.Label lblAPS7100ComPort;
- private System.Windows.Forms.ComboBox cmbAPS7100ComPort;
- private System.Windows.Forms.Label lblAPS7100BaudRate;
- private System.Windows.Forms.ComboBox cmbAPS7100BaudRate;
- private System.Windows.Forms.Label lblAPS7100IpAddress;
- private System.Windows.Forms.TextBox txtAPS7100IpAddress;
- private System.Windows.Forms.Label lblAPS7100Port;
- private System.Windows.Forms.NumericUpDown numAPS7100Port;
- // PSW250 Controls
- private System.Windows.Forms.GroupBox grpPSW250;
- private System.Windows.Forms.CheckBox chkAutoConnectPSW250;
- private System.Windows.Forms.RadioButton rbPSW250Serial;
- private System.Windows.Forms.RadioButton rbPSW250Ethernet;
- private System.Windows.Forms.Label lblPSW250ComPort;
- private System.Windows.Forms.ComboBox cmbPSW250ComPort;
- private System.Windows.Forms.Label lblPSW250BaudRate;
- private System.Windows.Forms.ComboBox cmbPSW250BaudRate;
- private System.Windows.Forms.Label lblPSW250IpAddress;
- private System.Windows.Forms.TextBox txtPSW250IpAddress;
- private System.Windows.Forms.Label lblPSW250Port;
- private System.Windows.Forms.NumericUpDown numPSW250Port;
- // Modbus Controls
- private System.Windows.Forms.GroupBox grpModbus;
- private System.Windows.Forms.CheckBox chkAutoStartModbus;
- private System.Windows.Forms.Label lblModbusBindIp;
- private System.Windows.Forms.ComboBox cmbModbusBindIp;
- private System.Windows.Forms.Label lblModbusPort;
- private System.Windows.Forms.NumericUpDown numModbusPort;
- // Startup Behavior Controls
- private System.Windows.Forms.GroupBox grpStartup;
- private System.Windows.Forms.CheckBox chkStartMinimized;
- // Buttons
- private System.Windows.Forms.Button btnRefreshPorts;
- private System.Windows.Forms.Button btnSave;
- private System.Windows.Forms.Button btnCancel;
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.grpAPS7100 = new System.Windows.Forms.GroupBox();
- this.chkAutoConnectAPS7100 = new System.Windows.Forms.CheckBox();
- this.rbAPS7100Serial = new System.Windows.Forms.RadioButton();
- this.rbAPS7100Ethernet = new System.Windows.Forms.RadioButton();
- this.lblAPS7100ComPort = new System.Windows.Forms.Label();
- this.cmbAPS7100ComPort = new System.Windows.Forms.ComboBox();
- this.lblAPS7100BaudRate = new System.Windows.Forms.Label();
- this.cmbAPS7100BaudRate = new System.Windows.Forms.ComboBox();
- this.lblAPS7100IpAddress = new System.Windows.Forms.Label();
- this.txtAPS7100IpAddress = new System.Windows.Forms.TextBox();
- this.lblAPS7100Port = new System.Windows.Forms.Label();
- this.numAPS7100Port = new System.Windows.Forms.NumericUpDown();
- this.grpPSW250 = new System.Windows.Forms.GroupBox();
- this.chkAutoConnectPSW250 = new System.Windows.Forms.CheckBox();
- this.rbPSW250Serial = new System.Windows.Forms.RadioButton();
- this.rbPSW250Ethernet = new System.Windows.Forms.RadioButton();
- this.lblPSW250ComPort = new System.Windows.Forms.Label();
- this.cmbPSW250ComPort = new System.Windows.Forms.ComboBox();
- this.lblPSW250BaudRate = new System.Windows.Forms.Label();
- this.cmbPSW250BaudRate = new System.Windows.Forms.ComboBox();
- this.lblPSW250IpAddress = new System.Windows.Forms.Label();
- this.txtPSW250IpAddress = new System.Windows.Forms.TextBox();
- this.lblPSW250Port = new System.Windows.Forms.Label();
- this.numPSW250Port = new System.Windows.Forms.NumericUpDown();
- this.grpModbus = new System.Windows.Forms.GroupBox();
- this.chkAutoStartModbus = new System.Windows.Forms.CheckBox();
- this.lblModbusBindIp = new System.Windows.Forms.Label();
- this.cmbModbusBindIp = new System.Windows.Forms.ComboBox();
- this.lblModbusPort = new System.Windows.Forms.Label();
- this.numModbusPort = new System.Windows.Forms.NumericUpDown();
- this.grpStartup = new System.Windows.Forms.GroupBox();
- this.chkStartMinimized = new System.Windows.Forms.CheckBox();
- this.btnRefreshPorts = new System.Windows.Forms.Button();
- this.btnSave = new System.Windows.Forms.Button();
- this.btnCancel = new System.Windows.Forms.Button();
- this.grpAPS7100.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numAPS7100Port)).BeginInit();
- this.grpPSW250.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numPSW250Port)).BeginInit();
- this.grpModbus.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numModbusPort)).BeginInit();
- this.grpStartup.SuspendLayout();
- this.SuspendLayout();
- //
- // grpAPS7100
- //
- this.grpAPS7100.Controls.Add(this.chkAutoConnectAPS7100);
- this.grpAPS7100.Controls.Add(this.rbAPS7100Serial);
- this.grpAPS7100.Controls.Add(this.rbAPS7100Ethernet);
- this.grpAPS7100.Controls.Add(this.lblAPS7100ComPort);
- this.grpAPS7100.Controls.Add(this.cmbAPS7100ComPort);
- this.grpAPS7100.Controls.Add(this.lblAPS7100BaudRate);
- this.grpAPS7100.Controls.Add(this.cmbAPS7100BaudRate);
- this.grpAPS7100.Controls.Add(this.lblAPS7100IpAddress);
- this.grpAPS7100.Controls.Add(this.txtAPS7100IpAddress);
- this.grpAPS7100.Controls.Add(this.lblAPS7100Port);
- this.grpAPS7100.Controls.Add(this.numAPS7100Port);
- this.grpAPS7100.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.grpAPS7100.ForeColor = System.Drawing.Color.FromArgb(0, 120, 215);
- this.grpAPS7100.Location = new System.Drawing.Point(12, 12);
- this.grpAPS7100.Name = "grpAPS7100";
- this.grpAPS7100.Size = new System.Drawing.Size(360, 150);
- this.grpAPS7100.TabIndex = 0;
- this.grpAPS7100.TabStop = false;
- this.grpAPS7100.Text = "APS-7100 (AC 电源) 自动连接";
- // chkAutoConnectAPS7100
- this.chkAutoConnectAPS7100.AutoSize = true;
- this.chkAutoConnectAPS7100.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.chkAutoConnectAPS7100.ForeColor = System.Drawing.Color.Black;
- this.chkAutoConnectAPS7100.Location = new System.Drawing.Point(15, 25);
- this.chkAutoConnectAPS7100.Name = "chkAutoConnectAPS7100";
- this.chkAutoConnectAPS7100.Size = new System.Drawing.Size(135, 21);
- this.chkAutoConnectAPS7100.Text = "启动时自动连接";
- // rbAPS7100Serial
- this.rbAPS7100Serial.AutoSize = true;
- this.rbAPS7100Serial.Checked = true;
- this.rbAPS7100Serial.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.rbAPS7100Serial.ForeColor = System.Drawing.Color.Black;
- this.rbAPS7100Serial.Location = new System.Drawing.Point(15, 52);
- this.rbAPS7100Serial.Name = "rbAPS7100Serial";
- this.rbAPS7100Serial.Size = new System.Drawing.Size(74, 21);
- this.rbAPS7100Serial.TabStop = true;
- this.rbAPS7100Serial.Text = "串口";
- this.rbAPS7100Serial.CheckedChanged += new System.EventHandler(this.rbAPS7100_CheckedChanged);
- // rbAPS7100Ethernet
- this.rbAPS7100Ethernet.AutoSize = true;
- this.rbAPS7100Ethernet.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.rbAPS7100Ethernet.ForeColor = System.Drawing.Color.Black;
- this.rbAPS7100Ethernet.Location = new System.Drawing.Point(90, 52);
- this.rbAPS7100Ethernet.Name = "rbAPS7100Ethernet";
- this.rbAPS7100Ethernet.Size = new System.Drawing.Size(74, 21);
- this.rbAPS7100Ethernet.Text = "网口";
- this.rbAPS7100Ethernet.CheckedChanged += new System.EventHandler(this.rbAPS7100_CheckedChanged);
- // lblAPS7100ComPort
- this.lblAPS7100ComPort.AutoSize = true;
- this.lblAPS7100ComPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblAPS7100ComPort.ForeColor = System.Drawing.Color.Black;
- this.lblAPS7100ComPort.Location = new System.Drawing.Point(15, 85);
- this.lblAPS7100ComPort.Text = "串口:";
- // cmbAPS7100ComPort
- this.cmbAPS7100ComPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbAPS7100ComPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.cmbAPS7100ComPort.Location = new System.Drawing.Point(60, 82);
- this.cmbAPS7100ComPort.Size = new System.Drawing.Size(100, 25);
- // lblAPS7100BaudRate
- this.lblAPS7100BaudRate.AutoSize = true;
- this.lblAPS7100BaudRate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblAPS7100BaudRate.ForeColor = System.Drawing.Color.Black;
- this.lblAPS7100BaudRate.Location = new System.Drawing.Point(170, 85);
- this.lblAPS7100BaudRate.Text = "波特率:";
- // cmbAPS7100BaudRate
- this.cmbAPS7100BaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbAPS7100BaudRate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.cmbAPS7100BaudRate.Items.AddRange(new object[] { "9600", "19200", "38400", "57600", "115200" });
- this.cmbAPS7100BaudRate.Location = new System.Drawing.Point(230, 82);
- this.cmbAPS7100BaudRate.Size = new System.Drawing.Size(115, 25);
- this.cmbAPS7100BaudRate.SelectedIndex = 0;
- // lblAPS7100IpAddress
- this.lblAPS7100IpAddress.AutoSize = true;
- this.lblAPS7100IpAddress.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblAPS7100IpAddress.ForeColor = System.Drawing.Color.Black;
- this.lblAPS7100IpAddress.Location = new System.Drawing.Point(15, 85);
- this.lblAPS7100IpAddress.Text = "IP地址:";
- this.lblAPS7100IpAddress.Visible = false;
- // txtAPS7100IpAddress
- this.txtAPS7100IpAddress.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.txtAPS7100IpAddress.Location = new System.Drawing.Point(70, 82);
- this.txtAPS7100IpAddress.Size = new System.Drawing.Size(130, 23);
- this.txtAPS7100IpAddress.Text = "192.168.1.100";
- this.txtAPS7100IpAddress.Visible = false;
- // lblAPS7100Port
- this.lblAPS7100Port.AutoSize = true;
- this.lblAPS7100Port.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblAPS7100Port.ForeColor = System.Drawing.Color.Black;
- this.lblAPS7100Port.Location = new System.Drawing.Point(210, 85);
- this.lblAPS7100Port.Text = "端口:";
- this.lblAPS7100Port.Visible = false;
- // numAPS7100Port
- this.numAPS7100Port.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.numAPS7100Port.Location = new System.Drawing.Point(255, 82);
- this.numAPS7100Port.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
- this.numAPS7100Port.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
- this.numAPS7100Port.Size = new System.Drawing.Size(90, 23);
- this.numAPS7100Port.Value = new decimal(new int[] { 2268, 0, 0, 0 });
- this.numAPS7100Port.Visible = false;
- //
- // grpPSW250
- //
- this.grpPSW250.Controls.Add(this.chkAutoConnectPSW250);
- this.grpPSW250.Controls.Add(this.rbPSW250Serial);
- this.grpPSW250.Controls.Add(this.rbPSW250Ethernet);
- this.grpPSW250.Controls.Add(this.lblPSW250ComPort);
- this.grpPSW250.Controls.Add(this.cmbPSW250ComPort);
- this.grpPSW250.Controls.Add(this.lblPSW250BaudRate);
- this.grpPSW250.Controls.Add(this.cmbPSW250BaudRate);
- this.grpPSW250.Controls.Add(this.lblPSW250IpAddress);
- this.grpPSW250.Controls.Add(this.txtPSW250IpAddress);
- this.grpPSW250.Controls.Add(this.lblPSW250Port);
- this.grpPSW250.Controls.Add(this.numPSW250Port);
- this.grpPSW250.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.grpPSW250.ForeColor = System.Drawing.Color.FromArgb(0, 150, 80);
- this.grpPSW250.Location = new System.Drawing.Point(12, 172);
- this.grpPSW250.Name = "grpPSW250";
- this.grpPSW250.Size = new System.Drawing.Size(360, 150);
- this.grpPSW250.TabIndex = 1;
- this.grpPSW250.TabStop = false;
- this.grpPSW250.Text = "PSW-250 (DC 电源) 自动连接";
- // chkAutoConnectPSW250
- this.chkAutoConnectPSW250.AutoSize = true;
- this.chkAutoConnectPSW250.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.chkAutoConnectPSW250.ForeColor = System.Drawing.Color.Black;
- this.chkAutoConnectPSW250.Location = new System.Drawing.Point(15, 25);
- this.chkAutoConnectPSW250.Name = "chkAutoConnectPSW250";
- this.chkAutoConnectPSW250.Size = new System.Drawing.Size(135, 21);
- this.chkAutoConnectPSW250.Text = "启动时自动连接";
- // rbPSW250Serial
- this.rbPSW250Serial.AutoSize = true;
- this.rbPSW250Serial.Checked = true;
- this.rbPSW250Serial.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.rbPSW250Serial.ForeColor = System.Drawing.Color.Black;
- this.rbPSW250Serial.Location = new System.Drawing.Point(15, 52);
- this.rbPSW250Serial.Name = "rbPSW250Serial";
- this.rbPSW250Serial.Size = new System.Drawing.Size(74, 21);
- this.rbPSW250Serial.TabStop = true;
- this.rbPSW250Serial.Text = "串口";
- this.rbPSW250Serial.CheckedChanged += new System.EventHandler(this.rbPSW250_CheckedChanged);
- // rbPSW250Ethernet
- this.rbPSW250Ethernet.AutoSize = true;
- this.rbPSW250Ethernet.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.rbPSW250Ethernet.ForeColor = System.Drawing.Color.Black;
- this.rbPSW250Ethernet.Location = new System.Drawing.Point(90, 52);
- this.rbPSW250Ethernet.Name = "rbPSW250Ethernet";
- this.rbPSW250Ethernet.Size = new System.Drawing.Size(74, 21);
- this.rbPSW250Ethernet.Text = "网口";
- this.rbPSW250Ethernet.CheckedChanged += new System.EventHandler(this.rbPSW250_CheckedChanged);
- // lblPSW250ComPort
- this.lblPSW250ComPort.AutoSize = true;
- this.lblPSW250ComPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblPSW250ComPort.ForeColor = System.Drawing.Color.Black;
- this.lblPSW250ComPort.Location = new System.Drawing.Point(15, 85);
- this.lblPSW250ComPort.Text = "串口:";
- // cmbPSW250ComPort
- this.cmbPSW250ComPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbPSW250ComPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.cmbPSW250ComPort.Location = new System.Drawing.Point(60, 82);
- this.cmbPSW250ComPort.Size = new System.Drawing.Size(100, 25);
- // lblPSW250BaudRate
- this.lblPSW250BaudRate.AutoSize = true;
- this.lblPSW250BaudRate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblPSW250BaudRate.ForeColor = System.Drawing.Color.Black;
- this.lblPSW250BaudRate.Location = new System.Drawing.Point(170, 85);
- this.lblPSW250BaudRate.Text = "波特率:";
- // cmbPSW250BaudRate
- this.cmbPSW250BaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbPSW250BaudRate.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.cmbPSW250BaudRate.Items.AddRange(new object[] { "9600", "19200", "38400", "57600", "115200" });
- this.cmbPSW250BaudRate.Location = new System.Drawing.Point(230, 82);
- this.cmbPSW250BaudRate.Size = new System.Drawing.Size(115, 25);
- this.cmbPSW250BaudRate.SelectedIndex = 0;
- // lblPSW250IpAddress
- this.lblPSW250IpAddress.AutoSize = true;
- this.lblPSW250IpAddress.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblPSW250IpAddress.ForeColor = System.Drawing.Color.Black;
- this.lblPSW250IpAddress.Location = new System.Drawing.Point(15, 85);
- this.lblPSW250IpAddress.Text = "IP地址:";
- this.lblPSW250IpAddress.Visible = false;
- // txtPSW250IpAddress
- this.txtPSW250IpAddress.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.txtPSW250IpAddress.Location = new System.Drawing.Point(70, 82);
- this.txtPSW250IpAddress.Size = new System.Drawing.Size(130, 23);
- this.txtPSW250IpAddress.Text = "192.168.1.101";
- this.txtPSW250IpAddress.Visible = false;
- // lblPSW250Port
- this.lblPSW250Port.AutoSize = true;
- this.lblPSW250Port.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblPSW250Port.ForeColor = System.Drawing.Color.Black;
- this.lblPSW250Port.Location = new System.Drawing.Point(210, 85);
- this.lblPSW250Port.Text = "端口:";
- this.lblPSW250Port.Visible = false;
- // numPSW250Port
- this.numPSW250Port.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.numPSW250Port.Location = new System.Drawing.Point(255, 82);
- this.numPSW250Port.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
- this.numPSW250Port.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
- this.numPSW250Port.Size = new System.Drawing.Size(90, 23);
- this.numPSW250Port.Value = new decimal(new int[] { 2268, 0, 0, 0 });
- this.numPSW250Port.Visible = false;
- //
- // grpModbus
- //
- this.grpModbus.Controls.Add(this.chkAutoStartModbus);
- this.grpModbus.Controls.Add(this.lblModbusBindIp);
- this.grpModbus.Controls.Add(this.cmbModbusBindIp);
- this.grpModbus.Controls.Add(this.lblModbusPort);
- this.grpModbus.Controls.Add(this.numModbusPort);
- this.grpModbus.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.grpModbus.ForeColor = System.Drawing.Color.FromArgb(128, 0, 128);
- this.grpModbus.Location = new System.Drawing.Point(12, 332);
- this.grpModbus.Name = "grpModbus";
- this.grpModbus.Size = new System.Drawing.Size(360, 100);
- this.grpModbus.TabIndex = 2;
- this.grpModbus.TabStop = false;
- this.grpModbus.Text = "Modbus TCP 服务";
- // chkAutoStartModbus
- this.chkAutoStartModbus.AutoSize = true;
- this.chkAutoStartModbus.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.chkAutoStartModbus.ForeColor = System.Drawing.Color.Black;
- this.chkAutoStartModbus.Location = new System.Drawing.Point(15, 25);
- this.chkAutoStartModbus.Text = "启动时自动启动服务";
- // lblModbusBindIp
- this.lblModbusBindIp.AutoSize = true;
- this.lblModbusBindIp.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblModbusBindIp.ForeColor = System.Drawing.Color.Black;
- this.lblModbusBindIp.Location = new System.Drawing.Point(15, 60);
- this.lblModbusBindIp.Text = "绑定IP:";
- // cmbModbusBindIp
- this.cmbModbusBindIp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbModbusBindIp.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.cmbModbusBindIp.Location = new System.Drawing.Point(75, 56);
- this.cmbModbusBindIp.Size = new System.Drawing.Size(160, 25);
- // lblModbusPort
- this.lblModbusPort.AutoSize = true;
- this.lblModbusPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.lblModbusPort.ForeColor = System.Drawing.Color.Black;
- this.lblModbusPort.Location = new System.Drawing.Point(250, 60);
- this.lblModbusPort.Text = "端口:";
- // numModbusPort
- this.numModbusPort.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.numModbusPort.Location = new System.Drawing.Point(295, 56);
- this.numModbusPort.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
- this.numModbusPort.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
- this.numModbusPort.Size = new System.Drawing.Size(50, 23);
- this.numModbusPort.Value = new decimal(new int[] { 502, 0, 0, 0 });
- //
- // grpStartup
- //
- this.grpStartup.Controls.Add(this.chkStartMinimized);
- this.grpStartup.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.grpStartup.ForeColor = System.Drawing.Color.FromArgb(0, 128, 64);
- this.grpStartup.Location = new System.Drawing.Point(12, 440);
- this.grpStartup.Name = "grpStartup";
- this.grpStartup.Size = new System.Drawing.Size(360, 55);
- this.grpStartup.TabIndex = 3;
- this.grpStartup.TabStop = false;
- this.grpStartup.Text = "启动行为";
- // chkStartMinimized
- this.chkStartMinimized.AutoSize = true;
- this.chkStartMinimized.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
- this.chkStartMinimized.ForeColor = System.Drawing.Color.Black;
- this.chkStartMinimized.Location = new System.Drawing.Point(15, 25);
- this.chkStartMinimized.Text = "启动时最小化到系统托盘(适用于开机自启动)";
- //
- // btnRefreshPorts
- //
- this.btnRefreshPorts.Location = new System.Drawing.Point(12, 508);
- this.btnRefreshPorts.Name = "btnRefreshPorts";
- this.btnRefreshPorts.Size = new System.Drawing.Size(100, 35);
- this.btnRefreshPorts.Text = "刷新串口";
- this.btnRefreshPorts.UseVisualStyleBackColor = true;
- this.btnRefreshPorts.Click += new System.EventHandler(this.btnRefreshPorts_Click);
- //
- // btnSave
- //
- this.btnSave.BackColor = System.Drawing.Color.FromArgb(0, 120, 215);
- this.btnSave.ForeColor = System.Drawing.Color.White;
- this.btnSave.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Bold);
- this.btnSave.Location = new System.Drawing.Point(147, 508);
- this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(100, 35);
- this.btnSave.Text = "保存";
- this.btnSave.UseVisualStyleBackColor = false;
- this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
- //
- // btnCancel
- //
- this.btnCancel.Location = new System.Drawing.Point(272, 508);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(100, 35);
- this.btnCancel.Text = "取消";
- this.btnCancel.UseVisualStyleBackColor = true;
- this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
- //
- // SettingsForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(384, 558);
- this.Controls.Add(this.grpAPS7100);
- this.Controls.Add(this.grpPSW250);
- this.Controls.Add(this.grpModbus);
- this.Controls.Add(this.grpStartup);
- this.Controls.Add(this.btnRefreshPorts);
- this.Controls.Add(this.btnSave);
- this.Controls.Add(this.btnCancel);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "SettingsForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "连接设置";
- this.grpAPS7100.ResumeLayout(false);
- this.grpAPS7100.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numAPS7100Port)).EndInit();
- this.grpPSW250.ResumeLayout(false);
- this.grpPSW250.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numPSW250Port)).EndInit();
- this.grpModbus.ResumeLayout(false);
- this.grpModbus.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numModbusPort)).EndInit();
- this.grpStartup.ResumeLayout(false);
- this.grpStartup.PerformLayout();
- this.ResumeLayout(false);
- }
- }
- }
|