更改大部分页面,更改各个扫码逻辑
This commit is contained in:
1 parent
2bd24f5316
commit
1670395816
34 files changed
+2420
-1425
No files matched your search
+93
-37
@@ -34,14 +34,18 @@
|
||||
this.关闭 = new System.Windows.Forms.Button();
|
||||
this.查询 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.新增 = new System.Windows.Forms.Button();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linename = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linecode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linetype = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.linemode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lineremark1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lineremark2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.lineremark3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.flowname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.新增 = new System.Windows.Forms.Button();
|
||||
this.plcname = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -96,7 +100,11 @@
|
||||
this.linecode,
|
||||
this.linetype,
|
||||
this.linemode,
|
||||
this.flowname});
|
||||
this.lineremark1,
|
||||
this.lineremark2,
|
||||
this.lineremark3,
|
||||
this.flowname,
|
||||
this.plcname});
|
||||
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)));
|
||||
@@ -115,6 +123,40 @@
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1584, 819);
|
||||
this.dataGridView1.TabIndex = 7;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.新增, 1, 2);
|
||||
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, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
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(1774, 829);
|
||||
this.tableLayoutPanel1.TabIndex = 11;
|
||||
//
|
||||
// 新增
|
||||
//
|
||||
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(1604, 542);
|
||||
this.新增.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.新增.Name = "新增";
|
||||
this.新增.Size = new System.Drawing.Size(162, 72);
|
||||
this.新增.TabIndex = 11;
|
||||
this.新增.Text = "新增";
|
||||
this.新增.UseVisualStyleBackColor = true;
|
||||
this.新增.Click += new System.EventHandler(this.新增_Click);
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
@@ -160,6 +202,39 @@
|
||||
this.linemode.Name = "linemode";
|
||||
this.linemode.ReadOnly = true;
|
||||
//
|
||||
// lineremark1
|
||||
//
|
||||
this.lineremark1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.lineremark1.DataPropertyName = "lineremark1";
|
||||
this.lineremark1.HeaderText = "备用显示1";
|
||||
this.lineremark1.MinimumWidth = 9;
|
||||
this.lineremark1.Name = "lineremark1";
|
||||
this.lineremark1.ReadOnly = true;
|
||||
this.lineremark1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.lineremark1.ToolTipText = "lineremark1";
|
||||
//
|
||||
// lineremark2
|
||||
//
|
||||
this.lineremark2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.lineremark2.DataPropertyName = "lineremark2";
|
||||
this.lineremark2.HeaderText = "备用显示2";
|
||||
this.lineremark2.MinimumWidth = 9;
|
||||
this.lineremark2.Name = "lineremark2";
|
||||
this.lineremark2.ReadOnly = true;
|
||||
this.lineremark2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.lineremark2.ToolTipText = "lineremark2";
|
||||
//
|
||||
// lineremark3
|
||||
//
|
||||
this.lineremark3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.lineremark3.DataPropertyName = "lineremark3";
|
||||
this.lineremark3.HeaderText = "备用显示3";
|
||||
this.lineremark3.MinimumWidth = 9;
|
||||
this.lineremark3.Name = "lineremark3";
|
||||
this.lineremark3.ReadOnly = true;
|
||||
this.lineremark3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.lineremark3.ToolTipText = "lineremark3";
|
||||
//
|
||||
// flowname
|
||||
//
|
||||
this.flowname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
@@ -172,41 +247,18 @@
|
||||
this.flowname.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.flowname.ToolTipText = "flowname";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
// plcname
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.新增, 1, 2);
|
||||
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, 20F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
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(1774, 829);
|
||||
this.tableLayoutPanel1.TabIndex = 11;
|
||||
this.plcname.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.plcname.DataPropertyName = "plcname";
|
||||
this.plcname.HeaderText = "关联PLC";
|
||||
this.plcname.MinimumWidth = 9;
|
||||
this.plcname.Name = "plcname";
|
||||
this.plcname.ReadOnly = true;
|
||||
this.plcname.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.plcname.ToolTipText = "plcname";
|
||||
//
|
||||
// 新增
|
||||
//
|
||||
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(1604, 542);
|
||||
this.新增.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.新增.Name = "新增";
|
||||
this.新增.Size = new System.Drawing.Size(162, 72);
|
||||
this.新增.TabIndex = 11;
|
||||
this.新增.Text = "新增";
|
||||
this.新增.UseVisualStyleBackColor = true;
|
||||
this.新增.Click += new System.EventHandler(this.新增_Click);
|
||||
//
|
||||
// LINE_Manage
|
||||
// Line_Manage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
@@ -214,7 +266,7 @@
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.Name = "LINE_Manage";
|
||||
this.Name = "Line_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "LINE_Mange";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
@@ -237,6 +289,10 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linecode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linetype;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn linemode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lineremark1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lineremark2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn lineremark3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn flowname;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn plcname;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user