增加修改删除页面,增加COM口的配置等
This commit is contained in:
1 parent
f3110791a7
commit
e96e2d3651
89 files changed
+10692
-727
No files matched your search
+26
-18
@@ -31,36 +31,23 @@
|
||||
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.关闭 = new System.Windows.Forms.Button();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.portName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.baudRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.parity = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataBits = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enable = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.enable = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.reamrk = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((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(1488, 528);
|
||||
this.保存.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
||||
this.保存.Name = "保存";
|
||||
this.保存.Size = new System.Drawing.Size(153, 56);
|
||||
this.保存.TabIndex = 1;
|
||||
this.保存.Text = "保存";
|
||||
this.保存.UseVisualStyleBackColor = true;
|
||||
this.保存.Click += new System.EventHandler(this.保存_Click);
|
||||
//
|
||||
// 查询
|
||||
//
|
||||
this.查询.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
@@ -110,6 +97,7 @@
|
||||
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;
|
||||
@@ -134,10 +122,10 @@
|
||||
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.button1, 1, 2);
|
||||
this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
|
||||
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);
|
||||
@@ -150,6 +138,19 @@
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1647, 795);
|
||||
this.tableLayoutPanel1.TabIndex = 4;
|
||||
//
|
||||
// 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(1488, 528);
|
||||
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 = 5;
|
||||
this.button1.Text = "新增";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// id
|
||||
//
|
||||
this.id.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
@@ -175,6 +176,7 @@
|
||||
this.portName.HeaderText = "COM口";
|
||||
this.portName.MinimumWidth = 9;
|
||||
this.portName.Name = "portName";
|
||||
this.portName.ReadOnly = true;
|
||||
//
|
||||
// baudRate
|
||||
//
|
||||
@@ -183,6 +185,7 @@
|
||||
this.baudRate.HeaderText = "波特率";
|
||||
this.baudRate.MinimumWidth = 9;
|
||||
this.baudRate.Name = "baudRate";
|
||||
this.baudRate.ReadOnly = true;
|
||||
//
|
||||
// parity
|
||||
//
|
||||
@@ -191,6 +194,7 @@
|
||||
this.parity.HeaderText = "奇偶校验位";
|
||||
this.parity.MinimumWidth = 9;
|
||||
this.parity.Name = "parity";
|
||||
this.parity.ReadOnly = true;
|
||||
//
|
||||
// dataBits
|
||||
//
|
||||
@@ -199,6 +203,7 @@
|
||||
this.dataBits.HeaderText = "数据位";
|
||||
this.dataBits.MinimumWidth = 9;
|
||||
this.dataBits.Name = "dataBits";
|
||||
this.dataBits.ReadOnly = true;
|
||||
//
|
||||
// enable
|
||||
//
|
||||
@@ -207,7 +212,9 @@
|
||||
this.enable.HeaderText = "是否启用";
|
||||
this.enable.MinimumWidth = 9;
|
||||
this.enable.Name = "enable";
|
||||
this.enable.ReadOnly = true;
|
||||
this.enable.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.enable.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// reamrk
|
||||
//
|
||||
@@ -229,6 +236,7 @@
|
||||
this.Name = "SerialPort_Manage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SerialPort_Manage";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.MES_URL_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
@@ -237,18 +245,18 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Button 保存;
|
||||
private System.Windows.Forms.Button 查询;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button 关闭;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn portName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn baudRate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn parity;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataBits;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn enable;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn enable;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn reamrk;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user