239 lines
11 KiB
C#
239 lines
11 KiB
C#
namespace WindowsFormsApp1
|
|
{
|
|
partial class MaterialScanForm
|
|
{
|
|
/// <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.panelTop = new System.Windows.Forms.Panel();
|
|
this.lblScan = new System.Windows.Forms.Label();
|
|
this.lblPosition = new System.Windows.Forms.Label();
|
|
this.lblDescription = new System.Windows.Forms.Label();
|
|
this.txtScan = new System.Windows.Forms.TextBox();
|
|
this.rbPosition1 = new System.Windows.Forms.RadioButton();
|
|
this.rbPosition2 = new System.Windows.Forms.RadioButton();
|
|
this.txtDescription = new System.Windows.Forms.TextBox();
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.dgvMaterials = new System.Windows.Forms.DataGridView();
|
|
this.colOffline = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.colScanCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colPosition = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.colTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.panelTop.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvMaterials)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// panelTop
|
|
//
|
|
this.panelTop.Controls.Add(this.lblScan);
|
|
this.panelTop.Controls.Add(this.lblPosition);
|
|
this.panelTop.Controls.Add(this.lblDescription);
|
|
this.panelTop.Controls.Add(this.txtScan);
|
|
this.panelTop.Controls.Add(this.rbPosition1);
|
|
this.panelTop.Controls.Add(this.rbPosition2);
|
|
this.panelTop.Controls.Add(this.txtDescription);
|
|
this.panelTop.Controls.Add(this.btnAdd);
|
|
this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panelTop.Location = new System.Drawing.Point(0, 0);
|
|
this.panelTop.Margin = new System.Windows.Forms.Padding(6);
|
|
this.panelTop.Name = "panelTop";
|
|
this.panelTop.Size = new System.Drawing.Size(2148, 300);
|
|
this.panelTop.TabIndex = 6;
|
|
//
|
|
// lblScan
|
|
//
|
|
this.lblScan.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.lblScan.Location = new System.Drawing.Point(24, 50);
|
|
this.lblScan.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.lblScan.Name = "lblScan";
|
|
this.lblScan.Size = new System.Drawing.Size(200, 50);
|
|
this.lblScan.TabIndex = 0;
|
|
this.lblScan.Text = "扫描条码";
|
|
//
|
|
// lblPosition
|
|
//
|
|
this.lblPosition.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.lblPosition.Location = new System.Drawing.Point(700, 50);
|
|
this.lblPosition.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.lblPosition.Name = "lblPosition";
|
|
this.lblPosition.Size = new System.Drawing.Size(200, 50);
|
|
this.lblPosition.TabIndex = 1;
|
|
this.lblPosition.Text = "位置";
|
|
//
|
|
// lblDescription
|
|
//
|
|
this.lblDescription.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.lblDescription.Location = new System.Drawing.Point(1200, 50);
|
|
this.lblDescription.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.lblDescription.Name = "lblDescription";
|
|
this.lblDescription.Size = new System.Drawing.Size(200, 50);
|
|
this.lblDescription.TabIndex = 2;
|
|
this.lblDescription.Text = "说明";
|
|
//
|
|
// txtScan
|
|
//
|
|
this.txtScan.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.txtScan.Location = new System.Drawing.Point(24, 110);
|
|
this.txtScan.Margin = new System.Windows.Forms.Padding(6);
|
|
this.txtScan.Name = "txtScan";
|
|
this.txtScan.Size = new System.Drawing.Size(596, 57);
|
|
this.txtScan.TabIndex = 3;
|
|
//
|
|
// rbPosition1
|
|
//
|
|
this.rbPosition1.Checked = true;
|
|
this.rbPosition1.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.rbPosition1.Location = new System.Drawing.Point(700, 110);
|
|
this.rbPosition1.Margin = new System.Windows.Forms.Padding(6);
|
|
this.rbPosition1.Name = "rbPosition1";
|
|
this.rbPosition1.Size = new System.Drawing.Size(180, 64);
|
|
this.rbPosition1.TabIndex = 4;
|
|
this.rbPosition1.TabStop = true;
|
|
this.rbPosition1.Text = "位置1";
|
|
//
|
|
// rbPosition2
|
|
//
|
|
this.rbPosition2.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.rbPosition2.Location = new System.Drawing.Point(900, 110);
|
|
this.rbPosition2.Margin = new System.Windows.Forms.Padding(6);
|
|
this.rbPosition2.Name = "rbPosition2";
|
|
this.rbPosition2.Size = new System.Drawing.Size(180, 64);
|
|
this.rbPosition2.TabIndex = 5;
|
|
this.rbPosition2.Text = "位置2";
|
|
//
|
|
// txtDescription
|
|
//
|
|
this.txtDescription.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.txtDescription.Location = new System.Drawing.Point(1200, 110);
|
|
this.txtDescription.Margin = new System.Windows.Forms.Padding(6);
|
|
this.txtDescription.Name = "txtDescription";
|
|
this.txtDescription.Size = new System.Drawing.Size(596, 57);
|
|
this.txtDescription.TabIndex = 6;
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.btnAdd.Location = new System.Drawing.Point(1840, 104);
|
|
this.btnAdd.Margin = new System.Windows.Forms.Padding(6);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(200, 76);
|
|
this.btnAdd.TabIndex = 7;
|
|
this.btnAdd.Text = "上线";
|
|
//
|
|
// dgvMaterials
|
|
//
|
|
this.dgvMaterials.AllowUserToAddRows = false;
|
|
this.dgvMaterials.AllowUserToDeleteRows = false;
|
|
this.dgvMaterials.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dgvMaterials.ColumnHeadersHeight = 40;
|
|
this.dgvMaterials.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dgvMaterials.Font = new System.Drawing.Font("微软雅黑", 14F);
|
|
this.dgvMaterials.Location = new System.Drawing.Point(0, 300);
|
|
this.dgvMaterials.Margin = new System.Windows.Forms.Padding(6);
|
|
this.dgvMaterials.Name = "dgvMaterials";
|
|
this.dgvMaterials.ReadOnly = true;
|
|
this.dgvMaterials.RowHeadersWidth = 82;
|
|
this.dgvMaterials.RowTemplate.Height = 35;
|
|
this.dgvMaterials.Size = new System.Drawing.Size(2148, 1134);
|
|
this.dgvMaterials.TabIndex = 5;
|
|
//
|
|
// colOffline
|
|
//
|
|
this.colOffline.HeaderText = "";
|
|
this.colOffline.MinimumWidth = 10;
|
|
this.colOffline.Name = "colOffline";
|
|
this.colOffline.Text = "下线";
|
|
this.colOffline.UseColumnTextForButtonValue = true;
|
|
this.colOffline.Width = 80;
|
|
//
|
|
// colScanCode
|
|
//
|
|
this.colScanCode.HeaderText = "扫描码";
|
|
this.colScanCode.MinimumWidth = 10;
|
|
this.colScanCode.Name = "colScanCode";
|
|
this.colScanCode.Width = 200;
|
|
//
|
|
// colPosition
|
|
//
|
|
this.colPosition.HeaderText = "位置";
|
|
this.colPosition.MinimumWidth = 10;
|
|
this.colPosition.Name = "colPosition";
|
|
this.colPosition.Width = 200;
|
|
//
|
|
// colDescription
|
|
//
|
|
this.colDescription.HeaderText = "说明";
|
|
this.colDescription.MinimumWidth = 10;
|
|
this.colDescription.Name = "colDescription";
|
|
this.colDescription.Width = 200;
|
|
//
|
|
// colTime
|
|
//
|
|
this.colTime.HeaderText = "时间";
|
|
this.colTime.MinimumWidth = 10;
|
|
this.colTime.Name = "colTime";
|
|
this.colTime.ReadOnly = true;
|
|
this.colTime.Width = 200;
|
|
//
|
|
// MaterialScanForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(2148, 1434);
|
|
this.Controls.Add(this.dgvMaterials);
|
|
this.Controls.Add(this.panelTop);
|
|
this.Margin = new System.Windows.Forms.Padding(6);
|
|
this.Name = "MaterialScanForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "材料扫码管理";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.panelTop.ResumeLayout(false);
|
|
this.panelTop.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvMaterials)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel panelTop;
|
|
private System.Windows.Forms.TextBox txtScan;
|
|
private System.Windows.Forms.RadioButton rbPosition1;
|
|
private System.Windows.Forms.RadioButton rbPosition2;
|
|
private System.Windows.Forms.TextBox txtDescription;
|
|
private System.Windows.Forms.Button btnAdd;
|
|
private System.Windows.Forms.DataGridView dgvMaterials;
|
|
private System.Windows.Forms.Label lblScan;
|
|
private System.Windows.Forms.Label lblPosition;
|
|
private System.Windows.Forms.Label lblDescription;
|
|
private System.Windows.Forms.DataGridViewButtonColumn colOffline;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colScanCode;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colPosition;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colDescription;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colTime;
|
|
}
|
|
} |