281 lines
16 KiB
C#
281 lines
16 KiB
C#
namespace WindowsFormsApp1.form
|
|
{
|
|
partial class PlcAddress_Manage
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.关闭 = new System.Windows.Forms.Button();
|
|
this.查询 = new System.Windows.Forms.Button();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.plcname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.type = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.dbaddress = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.addressoffset = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.addresstype = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.addresstypelegth = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// 关闭
|
|
//
|
|
this.关闭.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.关闭.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.关闭.Location = new System.Drawing.Point(1642, 696);
|
|
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.关闭.Name = "关闭";
|
|
this.关闭.Size = new System.Drawing.Size(169, 72);
|
|
this.关闭.TabIndex = 11;
|
|
this.关闭.Text = "关闭";
|
|
this.关闭.UseVisualStyleBackColor = true;
|
|
this.关闭.Click += new System.EventHandler(this.关闭_Click);
|
|
//
|
|
// 查询
|
|
//
|
|
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.查询.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.查询.Location = new System.Drawing.Point(1642, 25);
|
|
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.查询.Name = "查询";
|
|
this.查询.Size = new System.Drawing.Size(169, 72);
|
|
this.查询.TabIndex = 9;
|
|
this.查询.Text = "查询";
|
|
this.查询.UseVisualStyleBackColor = true;
|
|
this.查询.Click += new System.EventHandler(this.查询_Click);
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.id,
|
|
this.plcname,
|
|
this.code,
|
|
this.type,
|
|
this.dbaddress,
|
|
this.addressoffset,
|
|
this.addresstype,
|
|
this.addresstypelegth,
|
|
this.remark});
|
|
this.tableLayoutPanel1.SetColumnSpan(this.dataGridView1, 2);
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.dataGridView1.Location = new System.Drawing.Point(6, 5);
|
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.RowHeadersWidth = 72;
|
|
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
|
|
this.dataGridView1.RowTemplate.Height = 23;
|
|
this.dataGridView1.Size = new System.Drawing.Size(1624, 804);
|
|
this.dataGridView1.TabIndex = 8;
|
|
//
|
|
// id
|
|
//
|
|
this.id.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.id.DataPropertyName = "id";
|
|
this.id.HeaderText = "序号";
|
|
this.id.MinimumWidth = 9;
|
|
this.id.Name = "id";
|
|
this.id.ReadOnly = true;
|
|
//
|
|
// plcname
|
|
//
|
|
this.plcname.DataPropertyName = "plcname";
|
|
this.plcname.HeaderText = "PLC名称";
|
|
this.plcname.MinimumWidth = 9;
|
|
this.plcname.Name = "plcname";
|
|
this.plcname.ReadOnly = true;
|
|
this.plcname.Width = 175;
|
|
//
|
|
// code
|
|
//
|
|
this.code.DataPropertyName = "code";
|
|
this.code.HeaderText = "数据名称";
|
|
this.code.MinimumWidth = 9;
|
|
this.code.Name = "code";
|
|
this.code.ReadOnly = true;
|
|
this.code.Width = 175;
|
|
//
|
|
// type
|
|
//
|
|
this.type.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.type.DataPropertyName = "type";
|
|
this.type.HeaderText = "读写类型";
|
|
this.type.MinimumWidth = 9;
|
|
this.type.Name = "type";
|
|
this.type.ReadOnly = true;
|
|
this.type.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.type.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// dbaddress
|
|
//
|
|
this.dbaddress.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.dbaddress.DataPropertyName = "dbaddress";
|
|
this.dbaddress.HeaderText = "DB块地址";
|
|
this.dbaddress.MinimumWidth = 9;
|
|
this.dbaddress.Name = "dbaddress";
|
|
this.dbaddress.ReadOnly = true;
|
|
//
|
|
// addressoffset
|
|
//
|
|
this.addressoffset.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.addressoffset.DataPropertyName = "addressoffset";
|
|
this.addressoffset.HeaderText = "DB地址";
|
|
this.addressoffset.MinimumWidth = 9;
|
|
this.addressoffset.Name = "addressoffset";
|
|
this.addressoffset.ReadOnly = true;
|
|
//
|
|
// addresstype
|
|
//
|
|
this.addresstype.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.addresstype.DataPropertyName = "addresstype";
|
|
this.addresstype.HeaderText = "数据类型";
|
|
this.addresstype.MinimumWidth = 9;
|
|
this.addresstype.Name = "addresstype";
|
|
this.addresstype.ReadOnly = true;
|
|
this.addresstype.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.addresstype.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// addresstypelegth
|
|
//
|
|
this.addresstypelegth.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.addresstypelegth.DataPropertyName = "addresstypelegth";
|
|
this.addresstypelegth.HeaderText = "字节长度";
|
|
this.addresstypelegth.MinimumWidth = 9;
|
|
this.addresstypelegth.Name = "addresstypelegth";
|
|
this.addresstypelegth.ReadOnly = true;
|
|
//
|
|
// remark
|
|
//
|
|
this.remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.remark.DataPropertyName = "remark";
|
|
this.remark.HeaderText = "注释";
|
|
this.remark.MinimumWidth = 9;
|
|
this.remark.Name = "remark";
|
|
this.remark.ReadOnly = true;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.ColumnCount = 3;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15.07911F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 74.9177F));
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10.00319F));
|
|
this.tableLayoutPanel1.Controls.Add(this.button1, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.关闭, 2, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.查询, 2, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
|
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 4;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 45F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(1818, 814);
|
|
this.tableLayoutPanel1.TabIndex = 14;
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Anchor = System.Windows.Forms.AnchorStyles.None;
|
|
this.button1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.button1.Location = new System.Drawing.Point(1650, 541);
|
|
this.button1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(153, 56);
|
|
this.button1.TabIndex = 15;
|
|
this.button1.Text = "新增";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// PlcAddress_Manage
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1818, 814);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.Name = "PlcAddress_Manage";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "PLCADDRESS_Manage";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.Load += new System.EventHandler(this.PLCADDRESS_Manage_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button 关闭;
|
|
private System.Windows.Forms.Button 查询;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn plcname;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn code;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn type;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dbaddress;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn addressoffset;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn addresstype;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn addresstypelegth;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn remark;
|
|
}
|
|
} |