226 lines
13 KiB
C#
226 lines
13 KiB
C#
|
|||
|
|
namespace JY.Inspection.Frm
|
||
|
|
{
|
||
|
|
partial class FrmConfigBaseSet
|
||
|
|
{
|
||
|
|
/// <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()
|
||
|
|
{
|
||
|
|
this.components = new System.ComponentModel.Container();
|
||
|
|
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();
|
||
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmConfigBaseSet));
|
||
|
|
this.dgvPara = new MetroFramework.Controls.MetroGrid();
|
||
|
|
this.PLCAddress = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
|
this.PLCRemark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
|
this.OrderNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||
|
|
this.tsmiAdd = new System.Windows.Forms.ToolStripMenuItem();
|
||
|
|
this.tsmiDelete = new System.Windows.Forms.ToolStripMenuItem();
|
||
|
|
this.btnOk = new MetroFramework.Controls.MetroButton();
|
||
|
|
this.btnCancel = new MetroFramework.Controls.MetroButton();
|
||
|
|
this.btnExcelToDgv = new MetroFramework.Controls.MetroButton();
|
||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPara)).BeginInit();
|
||
|
|
this.contextMenuStrip1.SuspendLayout();
|
||
|
|
this.SuspendLayout();
|
||
|
|
//
|
||
|
|
// dgvPara
|
||
|
|
//
|
||
|
|
this.dgvPara.AllowUserToAddRows = false;
|
||
|
|
this.dgvPara.AllowUserToDeleteRows = false;
|
||
|
|
this.dgvPara.AllowUserToResizeRows = false;
|
||
|
|
this.dgvPara.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
|
|
this.dgvPara.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||
|
|
this.dgvPara.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
||
|
|
this.dgvPara.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
|
||
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
||
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
||
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
|
|
this.dgvPara.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||
|
|
this.dgvPara.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
|
|
this.dgvPara.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||
|
|
this.PLCAddress,
|
||
|
|
this.PLCRemark,
|
||
|
|
this.OrderNum});
|
||
|
|
this.dgvPara.ContextMenuStrip = this.contextMenuStrip1;
|
||
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
|
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136)))));
|
||
|
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
||
|
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
||
|
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||
|
|
this.dgvPara.DefaultCellStyle = dataGridViewCellStyle2;
|
||
|
|
this.dgvPara.Dock = System.Windows.Forms.DockStyle.Top;
|
||
|
|
this.dgvPara.EnableHeadersVisualStyles = false;
|
||
|
|
this.dgvPara.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
this.dgvPara.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
|
|
this.dgvPara.Location = new System.Drawing.Point(27, 75);
|
||
|
|
this.dgvPara.Margin = new System.Windows.Forms.Padding(4);
|
||
|
|
this.dgvPara.Name = "dgvPara";
|
||
|
|
this.dgvPara.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
||
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||
|
|
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219)))));
|
||
|
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
|
||
|
|
dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||
|
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(198)))), ((int)(((byte)(247)))));
|
||
|
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
|
||
|
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||
|
|
this.dgvPara.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||
|
|
this.dgvPara.RowHeadersVisible = false;
|
||
|
|
this.dgvPara.RowHeadersWidth = 51;
|
||
|
|
this.dgvPara.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
||
|
|
this.dgvPara.RowTemplate.Height = 23;
|
||
|
|
this.dgvPara.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||
|
|
this.dgvPara.Size = new System.Drawing.Size(737, 680);
|
||
|
|
this.dgvPara.TabIndex = 0;
|
||
|
|
//
|
||
|
|
// PLCAddress
|
||
|
|
//
|
||
|
|
this.PLCAddress.DataPropertyName = "PLCAddress";
|
||
|
|
this.PLCAddress.HeaderText = "PLC地址";
|
||
|
|
this.PLCAddress.MinimumWidth = 6;
|
||
|
|
this.PLCAddress.Name = "PLCAddress";
|
||
|
|
this.PLCAddress.Width = 125;
|
||
|
|
//
|
||
|
|
// PLCRemark
|
||
|
|
//
|
||
|
|
this.PLCRemark.DataPropertyName = "PLCRemark";
|
||
|
|
this.PLCRemark.HeaderText = "地址说明";
|
||
|
|
this.PLCRemark.MinimumWidth = 6;
|
||
|
|
this.PLCRemark.Name = "PLCRemark";
|
||
|
|
this.PLCRemark.Width = 300;
|
||
|
|
//
|
||
|
|
// OrderNum
|
||
|
|
//
|
||
|
|
this.OrderNum.DataPropertyName = "OrderNum";
|
||
|
|
this.OrderNum.HeaderText = "顺序";
|
||
|
|
this.OrderNum.MinimumWidth = 6;
|
||
|
|
this.OrderNum.Name = "OrderNum";
|
||
|
|
this.OrderNum.Width = 125;
|
||
|
|
//
|
||
|
|
// contextMenuStrip1
|
||
|
|
//
|
||
|
|
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||
|
|
this.tsmiAdd,
|
||
|
|
this.tsmiDelete});
|
||
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(124, 52);
|
||
|
|
//
|
||
|
|
// tsmiAdd
|
||
|
|
//
|
||
|
|
this.tsmiAdd.Name = "tsmiAdd";
|
||
|
|
this.tsmiAdd.Size = new System.Drawing.Size(123, 24);
|
||
|
|
this.tsmiAdd.Text = "添加行";
|
||
|
|
this.tsmiAdd.Click += new System.EventHandler(this.tsmiAdd_Click);
|
||
|
|
//
|
||
|
|
// tsmiDelete
|
||
|
|
//
|
||
|
|
this.tsmiDelete.Name = "tsmiDelete";
|
||
|
|
this.tsmiDelete.Size = new System.Drawing.Size(123, 24);
|
||
|
|
this.tsmiDelete.Text = "删除行";
|
||
|
|
this.tsmiDelete.Click += new System.EventHandler(this.tsmiDelete_Click);
|
||
|
|
//
|
||
|
|
// btnOk
|
||
|
|
//
|
||
|
|
this.btnOk.Location = new System.Drawing.Point(292, 811);
|
||
|
|
this.btnOk.Margin = new System.Windows.Forms.Padding(4);
|
||
|
|
this.btnOk.Name = "btnOk";
|
||
|
|
this.btnOk.Size = new System.Drawing.Size(181, 55);
|
||
|
|
this.btnOk.TabIndex = 1;
|
||
|
|
this.btnOk.Text = "保存";
|
||
|
|
this.btnOk.UseSelectable = true;
|
||
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||
|
|
//
|
||
|
|
// btnCancel
|
||
|
|
//
|
||
|
|
this.btnCancel.Location = new System.Drawing.Point(537, 811);
|
||
|
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(4);
|
||
|
|
this.btnCancel.Name = "btnCancel";
|
||
|
|
this.btnCancel.Size = new System.Drawing.Size(181, 55);
|
||
|
|
this.btnCancel.TabIndex = 2;
|
||
|
|
this.btnCancel.Text = "退出";
|
||
|
|
this.btnCancel.UseSelectable = true;
|
||
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||
|
|
//
|
||
|
|
// btnExcelToDgv
|
||
|
|
//
|
||
|
|
this.btnExcelToDgv.Location = new System.Drawing.Point(64, 811);
|
||
|
|
this.btnExcelToDgv.Margin = new System.Windows.Forms.Padding(4);
|
||
|
|
this.btnExcelToDgv.Name = "btnExcelToDgv";
|
||
|
|
this.btnExcelToDgv.Size = new System.Drawing.Size(181, 55);
|
||
|
|
this.btnExcelToDgv.TabIndex = 3;
|
||
|
|
this.btnExcelToDgv.Text = "导入轴寄存器";
|
||
|
|
this.btnExcelToDgv.UseSelectable = true;
|
||
|
|
this.btnExcelToDgv.Click += new System.EventHandler(this.btnExcelToDgv_Click);
|
||
|
|
//
|
||
|
|
// FrmConfigBaseSet
|
||
|
|
//
|
||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
|
|
this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
|
||
|
|
this.ClientSize = new System.Drawing.Size(791, 877);
|
||
|
|
this.Controls.Add(this.btnExcelToDgv);
|
||
|
|
this.Controls.Add(this.btnCancel);
|
||
|
|
this.Controls.Add(this.btnOk);
|
||
|
|
this.Controls.Add(this.dgvPara);
|
||
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
||
|
|
this.MaximizeBox = false;
|
||
|
|
this.MinimizeBox = false;
|
||
|
|
this.Movable = false;
|
||
|
|
this.Name = "FrmConfigBaseSet";
|
||
|
|
this.Padding = new System.Windows.Forms.Padding(27, 75, 27, 25);
|
||
|
|
this.Text = "PLC轴寄存器维护地址";
|
||
|
|
this.Load += new System.EventHandler(this.FrmConfigBaseSet_Load);
|
||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvPara)).EndInit();
|
||
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
||
|
|
this.ResumeLayout(false);
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
private MetroFramework.Controls.MetroGrid dgvPara;
|
||
|
|
private MetroFramework.Controls.MetroButton btnOk;
|
||
|
|
private MetroFramework.Controls.MetroButton btnCancel;
|
||
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiAdd;
|
||
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiDelete;
|
||
|
|
private MetroFramework.Controls.MetroButton btnExcelToDgv;
|
||
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PLCAddress;
|
||
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn PLCRemark;
|
||
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn OrderNum;
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|