namespace LB_VisionProcesses.Communicators.SiemensS7 { partial class ConfigForm { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigForm)); txtIpAddress = new TextBox(); nudRack = new NumericUpDown(); nudSlot = new NumericUpDown(); dgvSignals = new DataGridView(); btnAdd = new Button(); btnDelete = new Button(); btnSave = new Button(); btnCancel = new Button(); lblIp = new Label(); lblRack = new Label(); lblSlot = new Label(); ((System.ComponentModel.ISupportInitialize)nudRack).BeginInit(); ((System.ComponentModel.ISupportInitialize)nudSlot).BeginInit(); ((System.ComponentModel.ISupportInitialize)dgvSignals).BeginInit(); SuspendLayout(); // // txtIpAddress // txtIpAddress.BackColor = Color.FromArgb(32, 41, 50); txtIpAddress.ForeColor = Color.White; txtIpAddress.Location = new Point(141, 12); txtIpAddress.Name = "txtIpAddress"; txtIpAddress.Size = new Size(120, 23); txtIpAddress.TabIndex = 1; // // nudRack // nudRack.BackColor = Color.FromArgb(32, 41, 50); nudRack.ForeColor = Color.White; nudRack.Location = new Point(311, 12); nudRack.Maximum = new decimal(new int[] { 10, 0, 0, 0 }); nudRack.Name = "nudRack"; nudRack.Size = new Size(50, 23); nudRack.TabIndex = 3; // // nudSlot // nudSlot.BackColor = Color.FromArgb(32, 41, 50); nudSlot.ForeColor = Color.White; nudSlot.Location = new Point(401, 12); nudSlot.Maximum = new decimal(new int[] { 10, 0, 0, 0 }); nudSlot.Name = "nudSlot"; nudSlot.Size = new Size(50, 23); nudSlot.TabIndex = 5; // // dgvSignals // dgvSignals.AllowUserToAddRows = false; dgvSignals.BackgroundColor = Color.FromArgb(32, 41, 50); dgvSignals.Location = new Point(12, 50); dgvSignals.Name = "dgvSignals"; dgvSignals.Size = new Size(760, 350); dgvSignals.TabIndex = 6; // // btnAdd // btnAdd.Location = new Point(12, 410); btnAdd.Name = "btnAdd"; btnAdd.Size = new Size(75, 30); btnAdd.TabIndex = 7; btnAdd.Text = "添加"; btnAdd.Click += btnAdd_Click; // // btnDelete // btnDelete.Location = new Point(93, 410); btnDelete.Name = "btnDelete"; btnDelete.Size = new Size(75, 30); btnDelete.TabIndex = 8; btnDelete.Text = "删除"; btnDelete.Click += btnDelete_Click; // // btnSave // btnSave.Location = new Point(600, 410); btnSave.Name = "btnSave"; btnSave.Size = new Size(80, 30); btnSave.TabIndex = 9; btnSave.Text = "保存"; btnSave.Click += btnSave_Click; // // btnCancel // btnCancel.Location = new Point(690, 410); btnCancel.Name = "btnCancel"; btnCancel.Size = new Size(80, 30); btnCancel.TabIndex = 10; btnCancel.Text = "取消"; btnCancel.Click += btnCancel_Click; // // lblIp // lblIp.Location = new Point(12, 12); lblIp.Name = "lblIp"; lblIp.Size = new Size(100, 23); lblIp.TabIndex = 0; // // lblRack // lblRack.Location = new Point(0, 0); lblRack.Name = "lblRack"; lblRack.Size = new Size(100, 23); lblRack.TabIndex = 2; // // lblSlot // lblSlot.Location = new Point(0, 0); lblSlot.Name = "lblSlot"; lblSlot.Size = new Size(100, 23); lblSlot.TabIndex = 4; // // ConfigForm // BackColor = Color.FromArgb(32, 41, 50); ClientSize = new Size(784, 451); Controls.Add(lblIp); Controls.Add(txtIpAddress); Controls.Add(lblRack); Controls.Add(nudRack); Controls.Add(lblSlot); Controls.Add(nudSlot); Controls.Add(dgvSignals); Controls.Add(btnAdd); Controls.Add(btnDelete); Controls.Add(btnSave); Controls.Add(btnCancel); ForeColor = Color.White; Icon = (Icon)resources.GetObject("$this.Icon"); MaximizeBox = false; MinimizeBox = false; Name = "ConfigForm"; Text = "配置 PLC 地址"; ((System.ComponentModel.ISupportInitialize)nudRack).EndInit(); ((System.ComponentModel.ISupportInitialize)nudSlot).EndInit(); ((System.ComponentModel.ISupportInitialize)dgvSignals).EndInit(); ResumeLayout(false); PerformLayout(); } private Label lblIp; private Label lblRack; private Label lblSlot; private TextBox txtIpAddress; private NumericUpDown nudRack; private NumericUpDown nudSlot; private DataGridView dgvSignals; private Button btnAdd; private Button btnDelete; private Button btnSave; private Button btnCancel; } }