增加COM设置及界面

This commit is contained in:
bnala committed 2025-02-19 16:13:49 +08:00
1 parent 16586d67aa
commit f1e0412c01
16 files changed
+1513 -831

No files matched your search

+63 -58
View File
@@ -34,12 +34,12 @@
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.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.url = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.关闭 = new System.Windows.Forms.Button();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
@@ -48,9 +48,10 @@
//
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(1739, 877);
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(91, 32);
this.保存.Size = new System.Drawing.Size(153, 56);
this.保存.TabIndex = 1;
this.保存.Text = "保存";
this.保存.UseVisualStyleBackColor = true;
@@ -60,9 +61,10 @@
//
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(1739, 30);
this.查询.Location = new System.Drawing.Point(1488, 51);
this.查询.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.查询.Name = "查询";
this.查询.Size = new System.Drawing.Size(91, 32);
this.查询.Size = new System.Drawing.Size(153, 56);
this.查询.TabIndex = 3;
this.查询.Text = "查询";
this.查询.UseVisualStyleBackColor = true;
@@ -74,9 +76,6 @@
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)));
@@ -99,56 +98,24 @@
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.Location = new System.Drawing.Point(3, 3);
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
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.RowHeadersWidth = 72;
this.tableLayoutPanel1.SetRowSpan(this.dataGridView1, 4);
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1685, 1010);
this.dataGridView1.Size = new System.Drawing.Size(1470, 785);
this.dataGridView1.TabIndex = 0;
//
// id
//
this.id.DataPropertyName = "id";
this.id.HeaderText = "序号";
this.id.MinimumWidth = 9;
this.id.Name = "id";
this.id.ReadOnly = true;
this.id.Width = 175;
//
// name
//
this.name.DataPropertyName = "name";
this.name.HeaderText = "名称";
this.name.MinimumWidth = 9;
this.name.Name = "name";
this.name.ReadOnly = true;
this.name.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;
//
// url
//
this.url.DataPropertyName = "url";
this.url.HeaderText = "网址";
this.url.MinimumWidth = 9;
this.url.Name = "url";
this.url.Width = 500;
//
// 关闭
//
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(1739, 959);
this.关闭.Location = new System.Drawing.Point(1488, 687);
this.关闭.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.关闭.Name = "关闭";
this.关闭.Size = new System.Drawing.Size(91, 32);
this.关闭.Size = new System.Drawing.Size(153, 56);
this.关闭.TabIndex = 2;
this.关闭.Text = "关闭";
this.关闭.UseVisualStyleBackColor = true;
@@ -163,23 +130,61 @@
this.tableLayoutPanel1.Controls.Add(this.查询, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.关闭, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.保存, 1, 2);
this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 13);
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, 10.91549F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.08451F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 82F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 81F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1879, 1016);
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(1647, 795);
this.tableLayoutPanel1.TabIndex = 4;
//
// 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;
//
// name
//
this.name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.name.DataPropertyName = "name";
this.name.HeaderText = "名称";
this.name.MinimumWidth = 9;
this.name.Name = "name";
this.name.ReadOnly = true;
//
// code
//
this.code.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.code.DataPropertyName = "code";
this.code.HeaderText = "接口";
this.code.MinimumWidth = 9;
this.code.Name = "code";
this.code.ReadOnly = true;
//
// url
//
this.url.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.url.DataPropertyName = "url";
this.url.HeaderText = "网址";
this.url.MinimumWidth = 9;
this.url.Name = "url";
//
// MES_URL
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1904, 1041);
this.ClientSize = new System.Drawing.Size(1647, 795);
this.Controls.Add(this.tableLayoutPanel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
this.Name = "MES_URL";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "MES_URL";
@@ -194,11 +199,11 @@
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.DataGridViewTextBoxColumn id;
private System.Windows.Forms.DataGridViewTextBoxColumn name;
private System.Windows.Forms.DataGridViewTextBoxColumn code;
private System.Windows.Forms.DataGridViewTextBoxColumn url;
private System.Windows.Forms.Button 关闭;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
}
}