添加项目文件。
This commit is contained in:
251
CowainHmi/PlcDataTable/FrmPlcDataTable.Designer.cs
generated
Normal file
251
CowainHmi/PlcDataTable/FrmPlcDataTable.Designer.cs
generated
Normal file
@@ -0,0 +1,251 @@
|
||||
namespace CowainHmi
|
||||
{
|
||||
partial class FrmPlcDataTable
|
||||
{
|
||||
/// <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();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btnDel = new System.Windows.Forms.Button();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.btnImport = new System.Windows.Forms.Button();
|
||||
this.btnExport = new System.Windows.Forms.Button();
|
||||
this.btnSave = new System.Windows.Forms.Button();
|
||||
this.dgvData = new System.Windows.Forms.DataGridView();
|
||||
this.VarName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.VarDesc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PLC = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Address = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DatType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DecimalPlaces = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.StringLength = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.IsReadOnly = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btnDel);
|
||||
this.panel1.Controls.Add(this.btnAdd);
|
||||
this.panel1.Controls.Add(this.btnImport);
|
||||
this.panel1.Controls.Add(this.btnExport);
|
||||
this.panel1.Controls.Add(this.btnSave);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(972, 55);
|
||||
this.panel1.TabIndex = 4;
|
||||
//
|
||||
// btnDel
|
||||
//
|
||||
this.btnDel.Location = new System.Drawing.Point(102, 11);
|
||||
this.btnDel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnDel.Name = "btnDel";
|
||||
this.btnDel.Size = new System.Drawing.Size(70, 35);
|
||||
this.btnDel.TabIndex = 5;
|
||||
this.btnDel.Text = "删除选中";
|
||||
this.btnDel.UseVisualStyleBackColor = true;
|
||||
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Location = new System.Drawing.Point(11, 11);
|
||||
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(70, 35);
|
||||
this.btnAdd.TabIndex = 4;
|
||||
this.btnAdd.Text = "添加";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// btnImport
|
||||
//
|
||||
this.btnImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnImport.Location = new System.Drawing.Point(699, 11);
|
||||
this.btnImport.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnImport.Name = "btnImport";
|
||||
this.btnImport.Size = new System.Drawing.Size(70, 35);
|
||||
this.btnImport.TabIndex = 3;
|
||||
this.btnImport.Text = "导入";
|
||||
this.btnImport.UseVisualStyleBackColor = true;
|
||||
this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExport.Location = new System.Drawing.Point(791, 11);
|
||||
this.btnExport.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.Size = new System.Drawing.Size(70, 35);
|
||||
this.btnExport.TabIndex = 1;
|
||||
this.btnExport.Text = "导出";
|
||||
this.btnExport.UseVisualStyleBackColor = true;
|
||||
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSave.Location = new System.Drawing.Point(883, 11);
|
||||
this.btnSave.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(70, 35);
|
||||
this.btnSave.TabIndex = 0;
|
||||
this.btnSave.Text = "保存";
|
||||
this.btnSave.UseVisualStyleBackColor = true;
|
||||
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||
//
|
||||
// dgvData
|
||||
//
|
||||
this.dgvData.AllowUserToAddRows = false;
|
||||
this.dgvData.AllowUserToResizeRows = false;
|
||||
this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.VarName,
|
||||
this.VarDesc,
|
||||
this.PLC,
|
||||
this.Address,
|
||||
this.DatType,
|
||||
this.DecimalPlaces,
|
||||
this.StringLength,
|
||||
this.IsReadOnly});
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.GradientInactiveCaption;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Yellow;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvData.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvData.Location = new System.Drawing.Point(0, 55);
|
||||
this.dgvData.Name = "dgvData";
|
||||
this.dgvData.RowHeadersWidth = 51;
|
||||
this.dgvData.RowTemplate.Height = 23;
|
||||
this.dgvData.Size = new System.Drawing.Size(972, 514);
|
||||
this.dgvData.TabIndex = 5;
|
||||
this.dgvData.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvData_CellClick);
|
||||
//
|
||||
// VarName
|
||||
//
|
||||
this.VarName.DataPropertyName = "VarName";
|
||||
this.VarName.FillWeight = 80F;
|
||||
this.VarName.HeaderText = "名称";
|
||||
this.VarName.MinimumWidth = 6;
|
||||
this.VarName.Name = "VarName";
|
||||
this.VarName.Width = 200;
|
||||
//
|
||||
// VarDesc
|
||||
//
|
||||
this.VarDesc.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.VarDesc.DataPropertyName = "VarDesc";
|
||||
this.VarDesc.HeaderText = "注释";
|
||||
this.VarDesc.MinimumWidth = 6;
|
||||
this.VarDesc.Name = "VarDesc";
|
||||
//
|
||||
// PLC
|
||||
//
|
||||
this.PLC.DataPropertyName = "PLC";
|
||||
this.PLC.HeaderText = "PLC";
|
||||
this.PLC.Name = "PLC";
|
||||
this.PLC.ReadOnly = true;
|
||||
this.PLC.Width = 60;
|
||||
//
|
||||
// Address
|
||||
//
|
||||
this.Address.DataPropertyName = "Address";
|
||||
this.Address.HeaderText = "地址";
|
||||
this.Address.MinimumWidth = 6;
|
||||
this.Address.Name = "Address";
|
||||
this.Address.ReadOnly = true;
|
||||
this.Address.Width = 80;
|
||||
//
|
||||
// DatType
|
||||
//
|
||||
this.DatType.DataPropertyName = "DatType";
|
||||
this.DatType.HeaderText = "数据类型";
|
||||
this.DatType.Name = "DatType";
|
||||
this.DatType.ReadOnly = true;
|
||||
//
|
||||
// DecimalPlaces
|
||||
//
|
||||
this.DecimalPlaces.DataPropertyName = "DecimalPlaces";
|
||||
this.DecimalPlaces.HeaderText = "小数位数";
|
||||
this.DecimalPlaces.Name = "DecimalPlaces";
|
||||
this.DecimalPlaces.ReadOnly = true;
|
||||
//
|
||||
// StringLength
|
||||
//
|
||||
this.StringLength.DataPropertyName = "StringLength";
|
||||
this.StringLength.HeaderText = "字符长度";
|
||||
this.StringLength.Name = "StringLength";
|
||||
this.StringLength.ReadOnly = true;
|
||||
//
|
||||
// IsReadOnly
|
||||
//
|
||||
this.IsReadOnly.DataPropertyName = "IsReadOnly";
|
||||
this.IsReadOnly.HeaderText = "只读";
|
||||
this.IsReadOnly.Name = "IsReadOnly";
|
||||
//
|
||||
// FrmPlcDataTable
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(972, 569);
|
||||
this.Controls.Add(this.dgvData);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrmPlcDataTable";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "编辑监控数据地址";
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btnImport;
|
||||
private System.Windows.Forms.Button btnExport;
|
||||
private System.Windows.Forms.Button btnSave;
|
||||
private System.Windows.Forms.DataGridView dgvData;
|
||||
private System.Windows.Forms.Button btnDel;
|
||||
private System.Windows.Forms.Button btnAdd;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn VarName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn VarDesc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PLC;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Address;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DatType;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DecimalPlaces;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn StringLength;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn IsReadOnly;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user