|
|
|
@ -0,0 +1,622 @@ |
|
|
|
namespace ButcherFactory.SegmentProductionAuto_ |
|
|
|
{ |
|
|
|
partial class SegmentProductionAutoForm |
|
|
|
{ |
|
|
|
/// <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 dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SegmentProductionAutoForm)); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); |
|
|
|
this.H_BarCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.H_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.uLabel3 = new WinFormControl.ULabel(); |
|
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.taskDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.T_Item = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.T_Need = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.T_Done = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.T_Last = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.GoodsLabel = new WinFormControl.ULabel(); |
|
|
|
this.H_Goods_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.goodsSetBtn = new WinFormControl.UButton(); |
|
|
|
this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.barPrintCheck = new System.Windows.Forms.CheckBox(); |
|
|
|
this.closeBtn = new WinFormControl.UButton(); |
|
|
|
this.uTimerLabel1 = new WinFormControl.UTimerLabel(); |
|
|
|
this.productBatchSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.workUnitSelect = new System.Windows.Forms.ComboBox(); |
|
|
|
this.uLabel1 = new WinFormControl.ULabel(); |
|
|
|
this.uLabel2 = new WinFormControl.ULabel(); |
|
|
|
this.netStateWatch1 = new WinFormControl.NetStateWatch(); |
|
|
|
this.uWeightControl1 = new WinFormControl.UWeightControl(); |
|
|
|
this.splitContainer2 = new System.Windows.Forms.SplitContainer(); |
|
|
|
this.submitBtn = new WinFormControl.UButton(); |
|
|
|
this.deleteBtn = new WinFormControl.UButton(); |
|
|
|
this.rePrintBtn = new WinFormControl.UButton(); |
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|
|
|
this.historyDataGrid = new WinFormControl.UDataGridView(); |
|
|
|
this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
|
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |
|
|
|
this.groupBox2.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskDataGrid)).BeginInit(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
|
|
|
this.splitContainer1.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer1.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); |
|
|
|
this.splitContainer2.Panel1.SuspendLayout(); |
|
|
|
this.splitContainer2.Panel2.SuspendLayout(); |
|
|
|
this.splitContainer2.SuspendLayout(); |
|
|
|
this.groupBox1.SuspendLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyDataGrid)).BeginInit(); |
|
|
|
this.SuspendLayout(); |
|
|
|
//
|
|
|
|
// H_BarCode
|
|
|
|
//
|
|
|
|
this.H_BarCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_BarCode.DataPropertyName = "BarCode"; |
|
|
|
this.H_BarCode.HeaderText = "条码"; |
|
|
|
this.H_BarCode.Name = "H_BarCode"; |
|
|
|
this.H_BarCode.ReadOnly = true; |
|
|
|
//
|
|
|
|
// H_Weight
|
|
|
|
//
|
|
|
|
this.H_Weight.DataPropertyName = "Weight"; |
|
|
|
dataGridViewCellStyle21.Format = "#0.######"; |
|
|
|
this.H_Weight.DefaultCellStyle = dataGridViewCellStyle21; |
|
|
|
this.H_Weight.HeaderText = "重量"; |
|
|
|
this.H_Weight.Name = "H_Weight"; |
|
|
|
this.H_Weight.ReadOnly = true; |
|
|
|
//
|
|
|
|
// uLabel3
|
|
|
|
//
|
|
|
|
this.uLabel3.AutoSize = true; |
|
|
|
this.uLabel3.BackColor = System.Drawing.Color.White; |
|
|
|
this.uLabel3.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.uLabel3.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.uLabel3.Name = "uLabel3"; |
|
|
|
this.uLabel3.Size = new System.Drawing.Size(72, 16); |
|
|
|
this.uLabel3.TabIndex = 1; |
|
|
|
this.uLabel3.Text = "生产历史"; |
|
|
|
//
|
|
|
|
// groupBox2
|
|
|
|
//
|
|
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
|
|
|
| System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.groupBox2.Controls.Add(this.taskDataGrid); |
|
|
|
this.groupBox2.Controls.Add(this.GoodsLabel); |
|
|
|
this.groupBox2.Location = new System.Drawing.Point(9, 8); |
|
|
|
this.groupBox2.Name = "groupBox2"; |
|
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox2.Size = new System.Drawing.Size(531, 120); |
|
|
|
this.groupBox2.TabIndex = 4; |
|
|
|
this.groupBox2.TabStop = false; |
|
|
|
//
|
|
|
|
// taskDataGrid
|
|
|
|
//
|
|
|
|
this.taskDataGrid.AllowUserToAddRows = false; |
|
|
|
this.taskDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.taskDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.taskDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; |
|
|
|
this.taskDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.taskDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle23.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.taskDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; |
|
|
|
this.taskDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.taskDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.T_Item, |
|
|
|
this.T_Need, |
|
|
|
this.T_Done, |
|
|
|
this.T_Last}); |
|
|
|
this.taskDataGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.taskDataGrid.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.taskDataGrid.MultiSelect = false; |
|
|
|
this.taskDataGrid.Name = "taskDataGrid"; |
|
|
|
this.taskDataGrid.ReadOnly = true; |
|
|
|
this.taskDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.taskDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle27; |
|
|
|
this.taskDataGrid.RowTemplate.Height = 23; |
|
|
|
this.taskDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.taskDataGrid.Size = new System.Drawing.Size(521, 96); |
|
|
|
this.taskDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// T_Item
|
|
|
|
//
|
|
|
|
this.T_Item.DataPropertyName = "Item"; |
|
|
|
this.T_Item.HeaderText = "项目"; |
|
|
|
this.T_Item.Name = "T_Item"; |
|
|
|
this.T_Item.ReadOnly = true; |
|
|
|
//
|
|
|
|
// T_Need
|
|
|
|
//
|
|
|
|
this.T_Need.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Need.DataPropertyName = "Need"; |
|
|
|
dataGridViewCellStyle24.Format = "#0.######"; |
|
|
|
this.T_Need.DefaultCellStyle = dataGridViewCellStyle24; |
|
|
|
this.T_Need.HeaderText = "订货"; |
|
|
|
this.T_Need.Name = "T_Need"; |
|
|
|
this.T_Need.ReadOnly = true; |
|
|
|
//
|
|
|
|
// T_Done
|
|
|
|
//
|
|
|
|
this.T_Done.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Done.DataPropertyName = "Done"; |
|
|
|
dataGridViewCellStyle25.Format = "#0.######"; |
|
|
|
this.T_Done.DefaultCellStyle = dataGridViewCellStyle25; |
|
|
|
this.T_Done.HeaderText = "完工"; |
|
|
|
this.T_Done.Name = "T_Done"; |
|
|
|
this.T_Done.ReadOnly = true; |
|
|
|
//
|
|
|
|
// T_Last
|
|
|
|
//
|
|
|
|
this.T_Last.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.T_Last.DataPropertyName = "Last"; |
|
|
|
dataGridViewCellStyle26.Format = "#0.######"; |
|
|
|
this.T_Last.DefaultCellStyle = dataGridViewCellStyle26; |
|
|
|
this.T_Last.HeaderText = "剩余"; |
|
|
|
this.T_Last.Name = "T_Last"; |
|
|
|
this.T_Last.ReadOnly = true; |
|
|
|
//
|
|
|
|
// GoodsLabel
|
|
|
|
//
|
|
|
|
this.GoodsLabel.AutoSize = true; |
|
|
|
this.GoodsLabel.BackColor = System.Drawing.Color.White; |
|
|
|
this.GoodsLabel.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
this.GoodsLabel.ForeColor = System.Drawing.Color.Red; |
|
|
|
this.GoodsLabel.Location = new System.Drawing.Point(8, 0); |
|
|
|
this.GoodsLabel.Name = "GoodsLabel"; |
|
|
|
this.GoodsLabel.Size = new System.Drawing.Size(72, 16); |
|
|
|
this.GoodsLabel.TabIndex = 1; |
|
|
|
this.GoodsLabel.Text = "存货名称"; |
|
|
|
//
|
|
|
|
// H_Goods_Name
|
|
|
|
//
|
|
|
|
this.H_Goods_Name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |
|
|
|
this.H_Goods_Name.DataPropertyName = "Goods_Name"; |
|
|
|
this.H_Goods_Name.HeaderText = "产品"; |
|
|
|
this.H_Goods_Name.Name = "H_Goods_Name"; |
|
|
|
this.H_Goods_Name.ReadOnly = true; |
|
|
|
//
|
|
|
|
// flowLayoutPanel2
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel2.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))); |
|
|
|
this.flowLayoutPanel2.AutoScroll = true; |
|
|
|
this.flowLayoutPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.flowLayoutPanel2.Location = new System.Drawing.Point(-3, 75); |
|
|
|
this.flowLayoutPanel2.Name = "flowLayoutPanel2"; |
|
|
|
this.flowLayoutPanel2.Size = new System.Drawing.Size(670, 432); |
|
|
|
this.flowLayoutPanel2.TabIndex = 21; |
|
|
|
//
|
|
|
|
// goodsSetBtn
|
|
|
|
//
|
|
|
|
this.goodsSetBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.goodsSetBtn.AsClicked = false; |
|
|
|
this.goodsSetBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("goodsSetBtn.BackgroundImage"))); |
|
|
|
this.goodsSetBtn.EnableGroup = false; |
|
|
|
this.goodsSetBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.goodsSetBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.goodsSetBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.goodsSetBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.goodsSetBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.goodsSetBtn.Location = new System.Drawing.Point(551, 2); |
|
|
|
this.goodsSetBtn.Name = "goodsSetBtn"; |
|
|
|
this.goodsSetBtn.PlaySound = false; |
|
|
|
this.goodsSetBtn.SelfControlEnable = false; |
|
|
|
this.goodsSetBtn.Size = new System.Drawing.Size(111, 62); |
|
|
|
this.goodsSetBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.goodsSetBtn.TabIndex = 18; |
|
|
|
this.goodsSetBtn.Text = "产品设置"; |
|
|
|
this.goodsSetBtn.UseVisualStyleBackColor = true; |
|
|
|
this.goodsSetBtn.WithStataHode = false; |
|
|
|
this.goodsSetBtn.Click += new System.EventHandler(this.goodsSetBtn_Click); |
|
|
|
//
|
|
|
|
// H_RowIndex
|
|
|
|
//
|
|
|
|
this.H_RowIndex.DataPropertyName = "RowIndex"; |
|
|
|
this.H_RowIndex.HeaderText = "序号"; |
|
|
|
this.H_RowIndex.Name = "H_RowIndex"; |
|
|
|
this.H_RowIndex.ReadOnly = true; |
|
|
|
this.H_RowIndex.Width = 80; |
|
|
|
//
|
|
|
|
// splitContainer1
|
|
|
|
//
|
|
|
|
this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; |
|
|
|
this.splitContainer1.IsSplitterFixed = true; |
|
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.splitContainer1.Name = "splitContainer1"; |
|
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; |
|
|
|
//
|
|
|
|
// splitContainer1.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.barPrintCheck); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.closeBtn); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uTimerLabel1); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.productBatchSelect); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.workUnitSelect); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel1); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uLabel2); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.netStateWatch1); |
|
|
|
this.splitContainer1.Panel1.Controls.Add(this.uWeightControl1); |
|
|
|
//
|
|
|
|
// splitContainer1.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); |
|
|
|
this.splitContainer1.Size = new System.Drawing.Size(1226, 602); |
|
|
|
this.splitContainer1.SplitterDistance = 87; |
|
|
|
this.splitContainer1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// barPrintCheck
|
|
|
|
//
|
|
|
|
this.barPrintCheck.AutoSize = true; |
|
|
|
this.barPrintCheck.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.barPrintCheck.Location = new System.Drawing.Point(359, 50); |
|
|
|
this.barPrintCheck.Name = "barPrintCheck"; |
|
|
|
this.barPrintCheck.Size = new System.Drawing.Size(108, 24); |
|
|
|
this.barPrintCheck.TabIndex = 16; |
|
|
|
this.barPrintCheck.Text = "启用打码"; |
|
|
|
this.barPrintCheck.UseVisualStyleBackColor = true; |
|
|
|
//
|
|
|
|
// closeBtn
|
|
|
|
//
|
|
|
|
this.closeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.closeBtn.AsClicked = false; |
|
|
|
this.closeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("closeBtn.BackgroundImage"))); |
|
|
|
this.closeBtn.EnableGroup = false; |
|
|
|
this.closeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.closeBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.closeBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.closeBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.closeBtn.Location = new System.Drawing.Point(1106, 7); |
|
|
|
this.closeBtn.Name = "closeBtn"; |
|
|
|
this.closeBtn.PlaySound = false; |
|
|
|
this.closeBtn.SelfControlEnable = false; |
|
|
|
this.closeBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.closeBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.closeBtn.TabIndex = 15; |
|
|
|
this.closeBtn.Text = "关 闭"; |
|
|
|
this.closeBtn.UseVisualStyleBackColor = true; |
|
|
|
this.closeBtn.WithStataHode = false; |
|
|
|
this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); |
|
|
|
//
|
|
|
|
// uTimerLabel1
|
|
|
|
//
|
|
|
|
this.uTimerLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uTimerLabel1.AutoSize = true; |
|
|
|
this.uTimerLabel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uTimerLabel1.Font = new System.Drawing.Font("黑体", 12F); |
|
|
|
this.uTimerLabel1.Format = "M月d日 H:mm:ss"; |
|
|
|
this.uTimerLabel1.Location = new System.Drawing.Point(1084, 53); |
|
|
|
this.uTimerLabel1.Name = "uTimerLabel1"; |
|
|
|
this.uTimerLabel1.Size = new System.Drawing.Size(136, 16); |
|
|
|
this.uTimerLabel1.TabIndex = 14; |
|
|
|
this.uTimerLabel1.Text = "4月21日 16:32:19"; |
|
|
|
//
|
|
|
|
// productBatchSelect
|
|
|
|
//
|
|
|
|
this.productBatchSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.productBatchSelect.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.productBatchSelect.FormattingEnabled = true; |
|
|
|
this.productBatchSelect.Location = new System.Drawing.Point(903, 47); |
|
|
|
this.productBatchSelect.Name = "productBatchSelect"; |
|
|
|
this.productBatchSelect.Size = new System.Drawing.Size(170, 28); |
|
|
|
this.productBatchSelect.TabIndex = 11; |
|
|
|
//
|
|
|
|
// workUnitSelect
|
|
|
|
//
|
|
|
|
this.workUnitSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.workUnitSelect.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.workUnitSelect.FormattingEnabled = true; |
|
|
|
this.workUnitSelect.Location = new System.Drawing.Point(903, 11); |
|
|
|
this.workUnitSelect.Name = "workUnitSelect"; |
|
|
|
this.workUnitSelect.Size = new System.Drawing.Size(170, 28); |
|
|
|
this.workUnitSelect.TabIndex = 10; |
|
|
|
//
|
|
|
|
// uLabel1
|
|
|
|
//
|
|
|
|
this.uLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uLabel1.AutoSize = true; |
|
|
|
this.uLabel1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel1.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel1.Location = new System.Drawing.Point(802, 14); |
|
|
|
this.uLabel1.Name = "uLabel1"; |
|
|
|
this.uLabel1.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.uLabel1.TabIndex = 12; |
|
|
|
this.uLabel1.Text = "工作单元:"; |
|
|
|
//
|
|
|
|
// uLabel2
|
|
|
|
//
|
|
|
|
this.uLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
|
|
|
this.uLabel2.AutoSize = true; |
|
|
|
this.uLabel2.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uLabel2.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.uLabel2.Location = new System.Drawing.Point(802, 50); |
|
|
|
this.uLabel2.Name = "uLabel2"; |
|
|
|
this.uLabel2.Size = new System.Drawing.Size(109, 20); |
|
|
|
this.uLabel2.TabIndex = 13; |
|
|
|
this.uLabel2.Text = "生产批次:"; |
|
|
|
//
|
|
|
|
// netStateWatch1
|
|
|
|
//
|
|
|
|
this.netStateWatch1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.netStateWatch1.Location = new System.Drawing.Point(359, 2); |
|
|
|
this.netStateWatch1.Name = "netStateWatch1"; |
|
|
|
this.netStateWatch1.Size = new System.Drawing.Size(90, 39); |
|
|
|
this.netStateWatch1.TabIndex = 1; |
|
|
|
//
|
|
|
|
// uWeightControl1
|
|
|
|
//
|
|
|
|
this.uWeightControl1.BackColor = System.Drawing.Color.Transparent; |
|
|
|
this.uWeightControl1.Location = new System.Drawing.Point(3, 3); |
|
|
|
this.uWeightControl1.Name = "uWeightControl1"; |
|
|
|
this.uWeightControl1.Size = new System.Drawing.Size(349, 78); |
|
|
|
this.uWeightControl1.TabIndex = 0; |
|
|
|
this.uWeightControl1.WeightFalg = null; |
|
|
|
//
|
|
|
|
// splitContainer2
|
|
|
|
//
|
|
|
|
this.splitContainer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; |
|
|
|
this.splitContainer2.Location = new System.Drawing.Point(0, 0); |
|
|
|
this.splitContainer2.Name = "splitContainer2"; |
|
|
|
//
|
|
|
|
// splitContainer2.Panel1
|
|
|
|
//
|
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.submitBtn); |
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.deleteBtn); |
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.rePrintBtn); |
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.groupBox1); |
|
|
|
this.splitContainer2.Panel1.Controls.Add(this.groupBox2); |
|
|
|
//
|
|
|
|
// splitContainer2.Panel2
|
|
|
|
//
|
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.flowLayoutPanel2); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.goodsSetBtn); |
|
|
|
this.splitContainer2.Panel2.Controls.Add(this.flowLayoutPanel1); |
|
|
|
this.splitContainer2.Size = new System.Drawing.Size(1224, 509); |
|
|
|
this.splitContainer2.SplitterDistance = 552; |
|
|
|
this.splitContainer2.TabIndex = 0; |
|
|
|
//
|
|
|
|
// submitBtn
|
|
|
|
//
|
|
|
|
this.submitBtn.AsClicked = false; |
|
|
|
this.submitBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("submitBtn.BackgroundImage"))); |
|
|
|
this.submitBtn.EnableGroup = false; |
|
|
|
this.submitBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.submitBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.submitBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.submitBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.submitBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.submitBtn.Location = new System.Drawing.Point(249, 134); |
|
|
|
this.submitBtn.Name = "submitBtn"; |
|
|
|
this.submitBtn.PlaySound = false; |
|
|
|
this.submitBtn.SelfControlEnable = false; |
|
|
|
this.submitBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.submitBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.submitBtn.TabIndex = 23; |
|
|
|
this.submitBtn.Text = "提交"; |
|
|
|
this.submitBtn.UseVisualStyleBackColor = true; |
|
|
|
this.submitBtn.WithStataHode = false; |
|
|
|
this.submitBtn.Click += new System.EventHandler(this.submitBtn_Click); |
|
|
|
//
|
|
|
|
// deleteBtn
|
|
|
|
//
|
|
|
|
this.deleteBtn.AsClicked = false; |
|
|
|
this.deleteBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("deleteBtn.BackgroundImage"))); |
|
|
|
this.deleteBtn.EnableGroup = false; |
|
|
|
this.deleteBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.deleteBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.deleteBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.deleteBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.deleteBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.deleteBtn.Location = new System.Drawing.Point(129, 134); |
|
|
|
this.deleteBtn.Name = "deleteBtn"; |
|
|
|
this.deleteBtn.PlaySound = false; |
|
|
|
this.deleteBtn.SelfControlEnable = false; |
|
|
|
this.deleteBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.deleteBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.deleteBtn.TabIndex = 22; |
|
|
|
this.deleteBtn.Text = "删除"; |
|
|
|
this.deleteBtn.UseVisualStyleBackColor = true; |
|
|
|
this.deleteBtn.WithStataHode = false; |
|
|
|
this.deleteBtn.Click += new System.EventHandler(this.deleteBtn_Click); |
|
|
|
//
|
|
|
|
// rePrintBtn
|
|
|
|
//
|
|
|
|
this.rePrintBtn.AsClicked = false; |
|
|
|
this.rePrintBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("rePrintBtn.BackgroundImage"))); |
|
|
|
this.rePrintBtn.EnableGroup = false; |
|
|
|
this.rePrintBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); |
|
|
|
this.rePrintBtn.FlatAppearance.BorderSize = 0; |
|
|
|
this.rePrintBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
|
|
|
this.rePrintBtn.Font = new System.Drawing.Font("宋体", 15F); |
|
|
|
this.rePrintBtn.ForeColor = System.Drawing.Color.Black; |
|
|
|
this.rePrintBtn.Location = new System.Drawing.Point(9, 134); |
|
|
|
this.rePrintBtn.Name = "rePrintBtn"; |
|
|
|
this.rePrintBtn.PlaySound = false; |
|
|
|
this.rePrintBtn.SelfControlEnable = false; |
|
|
|
this.rePrintBtn.Size = new System.Drawing.Size(111, 34); |
|
|
|
this.rePrintBtn.SoundType = WinFormControl.SoundType.Click; |
|
|
|
this.rePrintBtn.TabIndex = 21; |
|
|
|
this.rePrintBtn.Text = "补打"; |
|
|
|
this.rePrintBtn.UseVisualStyleBackColor = true; |
|
|
|
this.rePrintBtn.WithStataHode = false; |
|
|
|
this.rePrintBtn.Click += new System.EventHandler(this.rePrintBtn_Click); |
|
|
|
//
|
|
|
|
// groupBox1
|
|
|
|
//
|
|
|
|
this.groupBox1.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))); |
|
|
|
this.groupBox1.Controls.Add(this.historyDataGrid); |
|
|
|
this.groupBox1.Controls.Add(this.uLabel3); |
|
|
|
this.groupBox1.Location = new System.Drawing.Point(10, 174); |
|
|
|
this.groupBox1.Name = "groupBox1"; |
|
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(5); |
|
|
|
this.groupBox1.Size = new System.Drawing.Size(531, 330); |
|
|
|
this.groupBox1.TabIndex = 5; |
|
|
|
this.groupBox1.TabStop = false; |
|
|
|
//
|
|
|
|
// historyDataGrid
|
|
|
|
//
|
|
|
|
this.historyDataGrid.AllowUserToAddRows = false; |
|
|
|
this.historyDataGrid.AllowUserToDeleteRows = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeColumns = false; |
|
|
|
this.historyDataGrid.AllowUserToResizeRows = false; |
|
|
|
dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); |
|
|
|
this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle28; |
|
|
|
this.historyDataGrid.BackgroundColor = System.Drawing.Color.White; |
|
|
|
this.historyDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; |
|
|
|
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
|
|
|
dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 12F); |
|
|
|
dataGridViewCellStyle29.ForeColor = System.Drawing.Color.White; |
|
|
|
dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
|
|
|
this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle29; |
|
|
|
this.historyDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
|
|
|
this.historyDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
|
|
|
this.H_ID, |
|
|
|
this.H_RowIndex, |
|
|
|
this.H_BarCode, |
|
|
|
this.H_Goods_Name, |
|
|
|
this.H_Weight}); |
|
|
|
this.historyDataGrid.Dock = System.Windows.Forms.DockStyle.Fill; |
|
|
|
this.historyDataGrid.Location = new System.Drawing.Point(5, 19); |
|
|
|
this.historyDataGrid.MultiSelect = false; |
|
|
|
this.historyDataGrid.Name = "historyDataGrid"; |
|
|
|
this.historyDataGrid.ReadOnly = true; |
|
|
|
this.historyDataGrid.RowHeadersVisible = false; |
|
|
|
dataGridViewCellStyle30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
|
|
|
dataGridViewCellStyle30.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); |
|
|
|
this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle30; |
|
|
|
this.historyDataGrid.RowTemplate.Height = 23; |
|
|
|
this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
|
|
|
this.historyDataGrid.Size = new System.Drawing.Size(521, 306); |
|
|
|
this.historyDataGrid.TabIndex = 2; |
|
|
|
//
|
|
|
|
// H_ID
|
|
|
|
//
|
|
|
|
this.H_ID.DataPropertyName = "ID"; |
|
|
|
this.H_ID.HeaderText = "ID"; |
|
|
|
this.H_ID.Name = "H_ID"; |
|
|
|
this.H_ID.ReadOnly = true; |
|
|
|
this.H_ID.Visible = false; |
|
|
|
//
|
|
|
|
// flowLayoutPanel1
|
|
|
|
//
|
|
|
|
this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
|
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(-3, -1); |
|
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; |
|
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(547, 70); |
|
|
|
this.flowLayoutPanel1.TabIndex = 0; |
|
|
|
//
|
|
|
|
// SegmentProductionAutoForm
|
|
|
|
//
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
|
|
this.BackColor = System.Drawing.Color.White; |
|
|
|
this.ClientSize = new System.Drawing.Size(1226, 602); |
|
|
|
this.Controls.Add(this.splitContainer1); |
|
|
|
this.Name = "SegmentProductionAutoForm"; |
|
|
|
this.Text = "分割品车间称重计数"; |
|
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
|
|
|
this.groupBox2.ResumeLayout(false); |
|
|
|
this.groupBox2.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.taskDataGrid)).EndInit(); |
|
|
|
this.splitContainer1.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer1.Panel1.PerformLayout(); |
|
|
|
this.splitContainer1.Panel2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
|
|
|
this.splitContainer1.ResumeLayout(false); |
|
|
|
this.splitContainer2.Panel1.ResumeLayout(false); |
|
|
|
this.splitContainer2.Panel2.ResumeLayout(false); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); |
|
|
|
this.splitContainer2.ResumeLayout(false); |
|
|
|
this.groupBox1.ResumeLayout(false); |
|
|
|
this.groupBox1.PerformLayout(); |
|
|
|
((System.ComponentModel.ISupportInitialize)(this.historyDataGrid)).EndInit(); |
|
|
|
this.ResumeLayout(false); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_BarCode; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Weight; |
|
|
|
private WinFormControl.ULabel uLabel3; |
|
|
|
private System.Windows.Forms.GroupBox groupBox2; |
|
|
|
private WinFormControl.UDataGridView taskDataGrid; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn T_Item; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn T_Need; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn T_Done; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn T_Last; |
|
|
|
private WinFormControl.ULabel GoodsLabel; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_Goods_Name; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2; |
|
|
|
private WinFormControl.UButton goodsSetBtn; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_RowIndex; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer1; |
|
|
|
private System.Windows.Forms.CheckBox barPrintCheck; |
|
|
|
private WinFormControl.UButton closeBtn; |
|
|
|
private WinFormControl.UTimerLabel uTimerLabel1; |
|
|
|
private System.Windows.Forms.ComboBox productBatchSelect; |
|
|
|
private System.Windows.Forms.ComboBox workUnitSelect; |
|
|
|
private WinFormControl.ULabel uLabel1; |
|
|
|
private WinFormControl.ULabel uLabel2; |
|
|
|
private WinFormControl.NetStateWatch netStateWatch1; |
|
|
|
private WinFormControl.UWeightControl uWeightControl1; |
|
|
|
private System.Windows.Forms.SplitContainer splitContainer2; |
|
|
|
private WinFormControl.UButton submitBtn; |
|
|
|
private WinFormControl.UButton deleteBtn; |
|
|
|
private WinFormControl.UButton rePrintBtn; |
|
|
|
private System.Windows.Forms.GroupBox groupBox1; |
|
|
|
private WinFormControl.UDataGridView historyDataGrid; |
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn H_ID; |
|
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; |
|
|
|
} |
|
|
|
} |