diff --git a/ButcherFactory.Form/ButcherFactory.Form.csproj b/ButcherFactory.Form/ButcherFactory.Form.csproj index 7dc96c1..f313d65 100644 --- a/ButcherFactory.Form/ButcherFactory.Form.csproj +++ b/ButcherFactory.Form/ButcherFactory.Form.csproj @@ -286,6 +286,7 @@ WeightCountForm.cs + @@ -432,6 +433,7 @@ + diff --git a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.Designer.cs b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.Designer.cs index f188131..1dfe020 100644 --- a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.Designer.cs +++ b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.Designer.cs @@ -28,243 +28,253 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscontWeightSetDialog)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); - this.uLabel2 = new WinFormControl.ULabel(); - this.nameBox = new System.Windows.Forms.TextBox(); - this.discontBox = new System.Windows.Forms.TextBox(); - this.uLabel1 = new WinFormControl.ULabel(); - this.addBtn = new WinFormControl.UButton(); - this.mGrid = new WinFormControl.UDataGridView(); - this.uLabel3 = new WinFormControl.ULabel(); - this.totalLbl = new WinFormControl.ULabel(); - this.okBtn = new WinFormControl.UButton(); - this.U_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.U_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.U_Standard = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.U_NumberEdit = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); - ((System.ComponentModel.ISupportInitialize)(this.mGrid)).BeginInit(); - this.SuspendLayout(); - // - // 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(35, 29); - this.uLabel2.Name = "uLabel2"; - this.uLabel2.Size = new System.Drawing.Size(89, 20); - this.uLabel2.TabIndex = 17; - this.uLabel2.Text = "扣重项:"; - // - // nameBox - // - this.nameBox.Font = new System.Drawing.Font("宋体", 15F); - this.nameBox.Location = new System.Drawing.Point(119, 26); - this.nameBox.Name = "nameBox"; - this.nameBox.Size = new System.Drawing.Size(144, 30); - this.nameBox.TabIndex = 18; - // - // discontBox - // - this.discontBox.Font = new System.Drawing.Font("宋体", 15F); - this.discontBox.Location = new System.Drawing.Point(378, 26); - this.discontBox.Name = "discontBox"; - this.discontBox.Size = new System.Drawing.Size(144, 30); - this.discontBox.TabIndex = 20; - // - // 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(294, 29); - this.uLabel1.Name = "uLabel1"; - this.uLabel1.Size = new System.Drawing.Size(89, 20); - this.uLabel1.TabIndex = 19; - this.uLabel1.Text = "标准重:"; - // - // addBtn - // - this.addBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.addBtn.AsClicked = false; - this.addBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("addBtn.BackgroundImage"))); - this.addBtn.EnableGroup = false; - this.addBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); - this.addBtn.FlatAppearance.BorderSize = 0; - this.addBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.addBtn.Font = new System.Drawing.Font("宋体", 15F); - this.addBtn.ForeColor = System.Drawing.Color.Black; - this.addBtn.Location = new System.Drawing.Point(550, 22); - this.addBtn.Name = "addBtn"; - this.addBtn.PlaySound = false; - this.addBtn.SelfControlEnable = false; - this.addBtn.Size = new System.Drawing.Size(111, 34); - this.addBtn.SoundType = WinFormControl.SoundType.Click; - this.addBtn.TabIndex = 26; - this.addBtn.Text = "添加"; - this.addBtn.UseVisualStyleBackColor = true; - this.addBtn.WithStataHode = false; - this.addBtn.Click += new System.EventHandler(this.addBtn_Click); - // - // mGrid - // - this.mGrid.AllowUserToAddRows = false; - this.mGrid.AllowUserToDeleteRows = false; - this.mGrid.AllowUserToResizeColumns = false; - this.mGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.mGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle26; - this.mGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DiscontWeightSetDialog)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + this.uLabel2 = new WinFormControl.ULabel(); + this.nameBox = new System.Windows.Forms.TextBox(); + this.discontBox = new System.Windows.Forms.TextBox(); + this.addBtn = new WinFormControl.UButton(); + this.mGrid = new WinFormControl.UDataGridView(); + this.uLabel3 = new WinFormControl.ULabel(); + this.totalLbl = new WinFormControl.ULabel(); + this.okBtn = new WinFormControl.UButton(); + this.U_Number = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.U_Name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.U_Standard = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.U_NumberEdit = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.U_Weight = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DelCol = new System.Windows.Forms.DataGridViewButtonColumn(); + this.uLabel1 = new WinFormControl.ULabel(); + ((System.ComponentModel.ISupportInitialize)(this.mGrid)).BeginInit(); + this.SuspendLayout(); + // + // 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(151, 29); + this.uLabel2.Name = "uLabel2"; + this.uLabel2.Size = new System.Drawing.Size(89, 20); + this.uLabel2.TabIndex = 17; + this.uLabel2.Text = "扣重项:"; + // + // nameBox + // + this.nameBox.Font = new System.Drawing.Font("宋体", 15F); + this.nameBox.Location = new System.Drawing.Point(232, 26); + this.nameBox.Name = "nameBox"; + this.nameBox.Size = new System.Drawing.Size(144, 30); + this.nameBox.TabIndex = 18; + // + // discontBox + // + this.discontBox.Font = new System.Drawing.Font("宋体", 15F); + this.discontBox.Location = new System.Drawing.Point(471, 26); + this.discontBox.Name = "discontBox"; + this.discontBox.Size = new System.Drawing.Size(144, 30); + this.discontBox.TabIndex = 20; + // + // addBtn + // + this.addBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.addBtn.AsClicked = false; + this.addBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("addBtn.BackgroundImage"))); + this.addBtn.EnableGroup = false; + this.addBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); + this.addBtn.FlatAppearance.BorderSize = 0; + this.addBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.addBtn.Font = new System.Drawing.Font("宋体", 15F); + this.addBtn.ForeColor = System.Drawing.Color.Black; + this.addBtn.Location = new System.Drawing.Point(643, 22); + this.addBtn.Name = "addBtn"; + this.addBtn.PlaySound = false; + this.addBtn.SelfControlEnable = false; + this.addBtn.Size = new System.Drawing.Size(111, 34); + this.addBtn.SoundType = WinFormControl.SoundType.Click; + this.addBtn.TabIndex = 26; + this.addBtn.Text = "添加"; + this.addBtn.UseVisualStyleBackColor = true; + this.addBtn.WithStataHode = false; + this.addBtn.Click += new System.EventHandler(this.addBtn_Click); + // + // mGrid + // + this.mGrid.AllowUserToAddRows = false; + this.mGrid.AllowUserToDeleteRows = false; + this.mGrid.AllowUserToResizeColumns = false; + this.mGrid.AllowUserToResizeRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.mGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.mGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.mGrid.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle27.ForeColor = System.Drawing.Color.White; - dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.mGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27; - this.mGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.mGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.mGrid.BackgroundColor = System.Drawing.Color.White; + this.mGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.mGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.mGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.mGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.U_Number, this.U_Name, this.U_Standard, this.U_NumberEdit, - this.U_Weight}); - this.mGrid.Location = new System.Drawing.Point(36, 87); - this.mGrid.MultiSelect = false; - this.mGrid.Name = "mGrid"; - this.mGrid.ReadOnly = true; - this.mGrid.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.mGrid.RowsDefaultCellStyle = dataGridViewCellStyle30; - this.mGrid.RowTemplate.Height = 60; - this.mGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.mGrid.Size = new System.Drawing.Size(631, 358); - this.mGrid.TabIndex = 27; - this.mGrid.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.mGrid_CellMouseClick); - this.mGrid.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.mGrid_CellPainting); - // - // uLabel3 - // - this.uLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.uLabel3.AutoSize = true; - this.uLabel3.BackColor = System.Drawing.Color.Transparent; - this.uLabel3.Font = new System.Drawing.Font("宋体", 15F); - this.uLabel3.Location = new System.Drawing.Point(127, 482); - this.uLabel3.Name = "uLabel3"; - this.uLabel3.Size = new System.Drawing.Size(89, 20); - this.uLabel3.TabIndex = 28; - this.uLabel3.Text = "总扣重:"; - // - // totalLbl - // - this.totalLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.totalLbl.AutoSize = true; - this.totalLbl.BackColor = System.Drawing.Color.Transparent; - this.totalLbl.Font = new System.Drawing.Font("宋体", 15F); - this.totalLbl.ForeColor = System.Drawing.Color.Red; - this.totalLbl.Location = new System.Drawing.Point(222, 482); - this.totalLbl.Name = "totalLbl"; - this.totalLbl.Size = new System.Drawing.Size(19, 20); - this.totalLbl.TabIndex = 29; - this.totalLbl.Text = "0"; - // - // okBtn - // - this.okBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.okBtn.AsClicked = false; - this.okBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("okBtn.BackgroundImage"))); - this.okBtn.EnableGroup = false; - this.okBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); - this.okBtn.FlatAppearance.BorderSize = 0; - this.okBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.okBtn.Font = new System.Drawing.Font("宋体", 15F); - this.okBtn.ForeColor = System.Drawing.Color.Black; - this.okBtn.Location = new System.Drawing.Point(378, 475); - this.okBtn.Name = "okBtn"; - this.okBtn.PlaySound = false; - this.okBtn.SelfControlEnable = false; - this.okBtn.Size = new System.Drawing.Size(111, 34); - this.okBtn.SoundType = WinFormControl.SoundType.Click; - this.okBtn.TabIndex = 30; - this.okBtn.Text = "确定"; - this.okBtn.UseVisualStyleBackColor = true; - this.okBtn.WithStataHode = false; - this.okBtn.Click += new System.EventHandler(this.okBtn_Click); - // - // U_Number - // - this.U_Number.HeaderText = "Number"; - this.U_Number.Name = "U_Number"; - this.U_Number.ReadOnly = true; - this.U_Number.Visible = false; - // - // U_Name - // - this.U_Name.DataPropertyName = "Name"; - this.U_Name.HeaderText = "扣重项"; - this.U_Name.Name = "U_Name"; - this.U_Name.ReadOnly = true; - this.U_Name.Width = 180; - // - // U_Standard - // - this.U_Standard.DataPropertyName = "Standard"; - dataGridViewCellStyle28.Format = "#0.##"; - this.U_Standard.DefaultCellStyle = dataGridViewCellStyle28; - this.U_Standard.HeaderText = "标准重"; - this.U_Standard.Name = "U_Standard"; - this.U_Standard.ReadOnly = true; - this.U_Standard.Width = 120; - // - // U_NumberEdit - // - this.U_NumberEdit.HeaderText = "数量"; - this.U_NumberEdit.Name = "U_NumberEdit"; - this.U_NumberEdit.ReadOnly = true; - this.U_NumberEdit.Width = 200; - // - // U_Weight - // - this.U_Weight.DataPropertyName = "Weight"; - dataGridViewCellStyle29.Format = "#0.######"; - this.U_Weight.DefaultCellStyle = dataGridViewCellStyle29; - this.U_Weight.HeaderText = "扣重"; - this.U_Weight.Name = "U_Weight"; - this.U_Weight.ReadOnly = true; - this.U_Weight.Width = 120; - // - // DiscontWeightSetDialog - // - 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(695, 537); - this.Controls.Add(this.okBtn); - this.Controls.Add(this.totalLbl); - this.Controls.Add(this.uLabel3); - this.Controls.Add(this.mGrid); - this.Controls.Add(this.addBtn); - this.Controls.Add(this.discontBox); - this.Controls.Add(this.uLabel1); - this.Controls.Add(this.nameBox); - this.Controls.Add(this.uLabel2); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "DiscontWeightSetDialog"; - this.Text = "扣重设置"; - ((System.ComponentModel.ISupportInitialize)(this.mGrid)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.U_Weight, + this.DelCol}); + this.mGrid.Location = new System.Drawing.Point(36, 87); + this.mGrid.MultiSelect = false; + this.mGrid.Name = "mGrid"; + this.mGrid.ReadOnly = true; + this.mGrid.RowHeadersVisible = false; + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + this.mGrid.RowsDefaultCellStyle = dataGridViewCellStyle5; + this.mGrid.RowTemplate.Height = 60; + this.mGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.mGrid.Size = new System.Drawing.Size(724, 358); + this.mGrid.TabIndex = 27; + this.mGrid.CellMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.mGrid_CellMouseClick); + this.mGrid.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.mGrid_CellPainting); + // + // uLabel3 + // + this.uLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.uLabel3.AutoSize = true; + this.uLabel3.BackColor = System.Drawing.Color.Transparent; + this.uLabel3.Font = new System.Drawing.Font("宋体", 15F); + this.uLabel3.Location = new System.Drawing.Point(220, 482); + this.uLabel3.Name = "uLabel3"; + this.uLabel3.Size = new System.Drawing.Size(89, 20); + this.uLabel3.TabIndex = 28; + this.uLabel3.Text = "总扣重:"; + // + // totalLbl + // + this.totalLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.totalLbl.AutoSize = true; + this.totalLbl.BackColor = System.Drawing.Color.Transparent; + this.totalLbl.Font = new System.Drawing.Font("宋体", 15F); + this.totalLbl.ForeColor = System.Drawing.Color.Red; + this.totalLbl.Location = new System.Drawing.Point(315, 482); + this.totalLbl.Name = "totalLbl"; + this.totalLbl.Size = new System.Drawing.Size(19, 20); + this.totalLbl.TabIndex = 29; + this.totalLbl.Text = "0"; + // + // okBtn + // + this.okBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.okBtn.AsClicked = false; + this.okBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("okBtn.BackgroundImage"))); + this.okBtn.EnableGroup = false; + this.okBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); + this.okBtn.FlatAppearance.BorderSize = 0; + this.okBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.okBtn.Font = new System.Drawing.Font("宋体", 15F); + this.okBtn.ForeColor = System.Drawing.Color.Black; + this.okBtn.Location = new System.Drawing.Point(471, 475); + this.okBtn.Name = "okBtn"; + this.okBtn.PlaySound = false; + this.okBtn.SelfControlEnable = false; + this.okBtn.Size = new System.Drawing.Size(111, 34); + this.okBtn.SoundType = WinFormControl.SoundType.Click; + this.okBtn.TabIndex = 30; + this.okBtn.Text = "确定"; + this.okBtn.UseVisualStyleBackColor = true; + this.okBtn.WithStataHode = false; + this.okBtn.Click += new System.EventHandler(this.okBtn_Click); + // + // U_Number + // + this.U_Number.HeaderText = "Number"; + this.U_Number.Name = "U_Number"; + this.U_Number.ReadOnly = true; + this.U_Number.Visible = false; + // + // U_Name + // + this.U_Name.DataPropertyName = "Name"; + this.U_Name.HeaderText = "扣重项"; + this.U_Name.Name = "U_Name"; + this.U_Name.ReadOnly = true; + this.U_Name.Width = 180; + // + // U_Standard + // + this.U_Standard.DataPropertyName = "Standard"; + dataGridViewCellStyle3.Format = "#0.##"; + this.U_Standard.DefaultCellStyle = dataGridViewCellStyle3; + this.U_Standard.HeaderText = "标准重"; + this.U_Standard.Name = "U_Standard"; + this.U_Standard.ReadOnly = true; + this.U_Standard.Width = 120; + // + // U_NumberEdit + // + this.U_NumberEdit.HeaderText = "数量"; + this.U_NumberEdit.Name = "U_NumberEdit"; + this.U_NumberEdit.ReadOnly = true; + this.U_NumberEdit.Width = 200; + // + // U_Weight + // + this.U_Weight.DataPropertyName = "Weight"; + dataGridViewCellStyle4.Format = "#0.######"; + this.U_Weight.DefaultCellStyle = dataGridViewCellStyle4; + this.U_Weight.HeaderText = "扣重"; + this.U_Weight.Name = "U_Weight"; + this.U_Weight.ReadOnly = true; + this.U_Weight.Width = 120; + // + // DelCol + // + this.DelCol.HeaderText = "删除"; + this.DelCol.Name = "DelCol"; + this.DelCol.ReadOnly = true; + this.DelCol.Text = "删除"; + // + // 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(394, 29); + this.uLabel1.Name = "uLabel1"; + this.uLabel1.Size = new System.Drawing.Size(89, 20); + this.uLabel1.TabIndex = 19; + this.uLabel1.Text = "标准重:"; + // + // DiscontWeightSetDialog + // + 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(788, 537); + this.Controls.Add(this.okBtn); + this.Controls.Add(this.totalLbl); + this.Controls.Add(this.uLabel3); + this.Controls.Add(this.mGrid); + this.Controls.Add(this.addBtn); + this.Controls.Add(this.discontBox); + this.Controls.Add(this.uLabel1); + this.Controls.Add(this.nameBox); + this.Controls.Add(this.uLabel2); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "DiscontWeightSetDialog"; + this.Text = "扣重设置"; + ((System.ComponentModel.ISupportInitialize)(this.mGrid)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -273,7 +283,6 @@ private WinFormControl.ULabel uLabel2; private System.Windows.Forms.TextBox nameBox; private System.Windows.Forms.TextBox discontBox; - private WinFormControl.ULabel uLabel1; private WinFormControl.UButton addBtn; private WinFormControl.UDataGridView mGrid; private WinFormControl.ULabel uLabel3; @@ -284,5 +293,7 @@ private System.Windows.Forms.DataGridViewTextBoxColumn U_Standard; private System.Windows.Forms.DataGridViewTextBoxColumn U_NumberEdit; private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight; + private System.Windows.Forms.DataGridViewButtonColumn DelCol; + private WinFormControl.ULabel uLabel1; } } \ No newline at end of file diff --git a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs index 1091b2a..3750774 100644 --- a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs +++ b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.cs @@ -97,6 +97,15 @@ namespace ButcherFactory.WeightCount_ { if (e.ColumnIndex >= 0 && e.RowIndex >= 0) { + if (this.mGrid.Columns[e.ColumnIndex].HeaderText == "删除") + { + var itemName = mGrid.CurrentRow.Cells[1].Value.ToString(); + var tag = list.First(x => x.Name == itemName); + list.Remove(tag); + mGrid.Refresh(); + BindTotalLbl(); + return; + } Point curPosition = e.Location;//当前鼠标在当前单元格中的坐标 if (this.mGrid.Columns[e.ColumnIndex].HeaderText == "数量") { diff --git a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.resx b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.resx index 38efc1b..438909c 100644 --- a/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.resx +++ b/ButcherFactory.Form/WeightCount_/DiscontWeightSetDialog.resx @@ -138,6 +138,9 @@ True + + True + iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwCAIAAABhdOiYAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO diff --git a/ButcherFactory.Form/WeightCount_/WeightCountForm.Designer.cs b/ButcherFactory.Form/WeightCount_/WeightCountForm.Designer.cs index bd32571..537b11b 100644 --- a/ButcherFactory.Form/WeightCount_/WeightCountForm.Designer.cs +++ b/ButcherFactory.Form/WeightCount_/WeightCountForm.Designer.cs @@ -28,19 +28,19 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WeightCountForm)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); - 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 dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle(); this.historyDataGrid = new WinFormControl.UDataGridView(); this.H_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.H_RowIndex = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -55,10 +55,6 @@ this.storeSelect = new System.Windows.Forms.ComboBox(); this.uLabel5 = new WinFormControl.ULabel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.discontBtn = new WinFormControl.UButton(); - this.typeBtn = new WinFormControl.UButton(); - this.uLabel7 = new WinFormControl.ULabel(); - this.uLabel6 = new WinFormControl.ULabel(); this.numSetBtn = new WinFormControl.UButton(); this.productBatchSelect = new System.Windows.Forms.ComboBox(); this.uLabel2 = new WinFormControl.ULabel(); @@ -68,6 +64,10 @@ this.netStateWatch1 = new WinFormControl.NetStateWatch(); this.uWeightControl1 = new WinFormControl.UWeightControl(); this.uLabel1 = new WinFormControl.ULabel(); + this.discontBtn = new WinFormControl.UButton(); + this.typeBtn = new WinFormControl.UButton(); + this.uLabel7 = new WinFormControl.ULabel(); + this.uLabel6 = new WinFormControl.ULabel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.needSubmitGrid = new WinFormControl.UDataGridView(); this.U_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -80,6 +80,8 @@ this.numFlowPanel = new System.Windows.Forms.FlowLayoutPanel(); this.submitBtn = new WinFormControl.UButton(); this.uLabel3 = new WinFormControl.ULabel(); + this.barPrintCheck = new System.Windows.Forms.CheckBox(); + this.rePrint = new WinFormControl.UButton(); ((System.ComponentModel.ISupportInitialize)(this.historyDataGrid)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); @@ -96,15 +98,15 @@ this.historyDataGrid.AllowUserToDeleteRows = false; this.historyDataGrid.AllowUserToResizeColumns = false; this.historyDataGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13; + dataGridViewCellStyle37.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.historyDataGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle37; this.historyDataGrid.BackgroundColor = System.Drawing.Color.White; this.historyDataGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle14.ForeColor = System.Drawing.Color.White; - dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; + dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle38.ForeColor = System.Drawing.Color.White; + dataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.historyDataGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle38; this.historyDataGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.historyDataGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.H_ID, @@ -120,9 +122,9 @@ this.historyDataGrid.Name = "historyDataGrid"; this.historyDataGrid.ReadOnly = true; this.historyDataGrid.RowHeadersVisible = false; - dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle18.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle18; + dataGridViewCellStyle42.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + this.historyDataGrid.RowsDefaultCellStyle = dataGridViewCellStyle42; this.historyDataGrid.RowTemplate.Height = 23; this.historyDataGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.historyDataGrid.Size = new System.Drawing.Size(683, 158); @@ -161,8 +163,8 @@ // H_GrossWeight // this.H_GrossWeight.DataPropertyName = "GrossWeight"; - dataGridViewCellStyle15.Format = "#0.######"; - this.H_GrossWeight.DefaultCellStyle = dataGridViewCellStyle15; + dataGridViewCellStyle39.Format = "#0.######"; + this.H_GrossWeight.DefaultCellStyle = dataGridViewCellStyle39; this.H_GrossWeight.HeaderText = "毛重"; this.H_GrossWeight.Name = "H_GrossWeight"; this.H_GrossWeight.ReadOnly = true; @@ -170,8 +172,8 @@ // H_Discont // this.H_Discont.DataPropertyName = "Discont"; - dataGridViewCellStyle16.Format = "#0.######"; - this.H_Discont.DefaultCellStyle = dataGridViewCellStyle16; + dataGridViewCellStyle40.Format = "#0.######"; + this.H_Discont.DefaultCellStyle = dataGridViewCellStyle40; this.H_Discont.HeaderText = "扣重"; this.H_Discont.Name = "H_Discont"; this.H_Discont.ReadOnly = true; @@ -179,8 +181,8 @@ // H_Weight // this.H_Weight.DataPropertyName = "Weight"; - dataGridViewCellStyle17.Format = "#0.######"; - this.H_Weight.DefaultCellStyle = dataGridViewCellStyle17; + dataGridViewCellStyle41.Format = "#0.######"; + this.H_Weight.DefaultCellStyle = dataGridViewCellStyle41; this.H_Weight.HeaderText = "重量"; this.H_Weight.Name = "H_Weight"; this.H_Weight.ReadOnly = true; @@ -257,6 +259,7 @@ // splitContainer1.Panel1 // this.splitContainer1.Panel1.BackColor = System.Drawing.Color.Transparent; + this.splitContainer1.Panel1.Controls.Add(this.barPrintCheck); this.splitContainer1.Panel1.Controls.Add(this.storeSelect); this.splitContainer1.Panel1.Controls.Add(this.uLabel5); this.splitContainer1.Panel1.Controls.Add(this.numSetBtn); @@ -282,75 +285,6 @@ this.splitContainer1.SplitterDistance = 86; this.splitContainer1.TabIndex = 3; // - // discontBtn - // - this.discontBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.discontBtn.AsClicked = false; - this.discontBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("discontBtn.BackgroundImage"))); - this.discontBtn.EnableGroup = false; - this.discontBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); - this.discontBtn.FlatAppearance.BorderSize = 0; - this.discontBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.discontBtn.Font = new System.Drawing.Font("宋体", 15F); - this.discontBtn.ForeColor = System.Drawing.Color.Black; - this.discontBtn.Location = new System.Drawing.Point(783, 23); - this.discontBtn.Name = "discontBtn"; - this.discontBtn.PlaySound = false; - this.discontBtn.SelfControlEnable = false; - this.discontBtn.Size = new System.Drawing.Size(111, 34); - this.discontBtn.SoundType = WinFormControl.SoundType.Click; - this.discontBtn.TabIndex = 25; - this.discontBtn.Text = "0"; - this.discontBtn.UseVisualStyleBackColor = true; - this.discontBtn.WithStataHode = false; - this.discontBtn.Click += new System.EventHandler(this.discontBtn_Click); - // - // typeBtn - // - this.typeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.typeBtn.AsClicked = false; - this.typeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("typeBtn.BackgroundImage"))); - this.typeBtn.EnableGroup = false; - this.typeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); - this.typeBtn.FlatAppearance.BorderSize = 0; - this.typeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.typeBtn.Font = new System.Drawing.Font("宋体", 15F); - this.typeBtn.ForeColor = System.Drawing.Color.Black; - this.typeBtn.Location = new System.Drawing.Point(1001, 23); - this.typeBtn.Name = "typeBtn"; - this.typeBtn.PlaySound = false; - this.typeBtn.SelfControlEnable = false; - this.typeBtn.Size = new System.Drawing.Size(111, 34); - this.typeBtn.SoundType = WinFormControl.SoundType.Click; - this.typeBtn.TabIndex = 25; - this.typeBtn.UseVisualStyleBackColor = true; - this.typeBtn.WithStataHode = false; - this.typeBtn.Click += new System.EventHandler(this.typeBtn_Click); - // - // uLabel7 - // - this.uLabel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.uLabel7.AutoSize = true; - this.uLabel7.BackColor = System.Drawing.Color.Transparent; - this.uLabel7.Font = new System.Drawing.Font("宋体", 15F); - this.uLabel7.Location = new System.Drawing.Point(718, 30); - this.uLabel7.Name = "uLabel7"; - this.uLabel7.Size = new System.Drawing.Size(69, 20); - this.uLabel7.TabIndex = 24; - this.uLabel7.Text = "扣重:"; - // - // uLabel6 - // - this.uLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.uLabel6.AutoSize = true; - this.uLabel6.BackColor = System.Drawing.Color.Transparent; - this.uLabel6.Font = new System.Drawing.Font("宋体", 15F); - this.uLabel6.Location = new System.Drawing.Point(900, 30); - this.uLabel6.Name = "uLabel6"; - this.uLabel6.Size = new System.Drawing.Size(109, 20); - this.uLabel6.TabIndex = 24; - this.uLabel6.Text = "当前操作:"; - // // numSetBtn // this.numSetBtn.AsClicked = false; @@ -470,10 +404,80 @@ this.uLabel1.TabIndex = 5; this.uLabel1.Text = "工作单元:"; // + // discontBtn + // + this.discontBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.discontBtn.AsClicked = false; + this.discontBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("discontBtn.BackgroundImage"))); + this.discontBtn.EnableGroup = false; + this.discontBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); + this.discontBtn.FlatAppearance.BorderSize = 0; + this.discontBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.discontBtn.Font = new System.Drawing.Font("宋体", 15F); + this.discontBtn.ForeColor = System.Drawing.Color.Black; + this.discontBtn.Location = new System.Drawing.Point(783, 23); + this.discontBtn.Name = "discontBtn"; + this.discontBtn.PlaySound = false; + this.discontBtn.SelfControlEnable = false; + this.discontBtn.Size = new System.Drawing.Size(111, 34); + this.discontBtn.SoundType = WinFormControl.SoundType.Click; + this.discontBtn.TabIndex = 25; + this.discontBtn.Text = "0"; + this.discontBtn.UseVisualStyleBackColor = true; + this.discontBtn.WithStataHode = false; + this.discontBtn.Click += new System.EventHandler(this.discontBtn_Click); + // + // typeBtn + // + this.typeBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.typeBtn.AsClicked = false; + this.typeBtn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("typeBtn.BackgroundImage"))); + this.typeBtn.EnableGroup = false; + this.typeBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); + this.typeBtn.FlatAppearance.BorderSize = 0; + this.typeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.typeBtn.Font = new System.Drawing.Font("宋体", 15F); + this.typeBtn.ForeColor = System.Drawing.Color.Black; + this.typeBtn.Location = new System.Drawing.Point(1001, 23); + this.typeBtn.Name = "typeBtn"; + this.typeBtn.PlaySound = false; + this.typeBtn.SelfControlEnable = false; + this.typeBtn.Size = new System.Drawing.Size(111, 34); + this.typeBtn.SoundType = WinFormControl.SoundType.Click; + this.typeBtn.TabIndex = 25; + this.typeBtn.UseVisualStyleBackColor = true; + this.typeBtn.WithStataHode = false; + this.typeBtn.Click += new System.EventHandler(this.typeBtn_Click); + // + // uLabel7 + // + this.uLabel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.uLabel7.AutoSize = true; + this.uLabel7.BackColor = System.Drawing.Color.Transparent; + this.uLabel7.Font = new System.Drawing.Font("宋体", 15F); + this.uLabel7.Location = new System.Drawing.Point(718, 30); + this.uLabel7.Name = "uLabel7"; + this.uLabel7.Size = new System.Drawing.Size(69, 20); + this.uLabel7.TabIndex = 24; + this.uLabel7.Text = "扣重:"; + // + // uLabel6 + // + this.uLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.uLabel6.AutoSize = true; + this.uLabel6.BackColor = System.Drawing.Color.Transparent; + this.uLabel6.Font = new System.Drawing.Font("宋体", 15F); + this.uLabel6.Location = new System.Drawing.Point(900, 30); + this.uLabel6.Name = "uLabel6"; + this.uLabel6.Size = new System.Drawing.Size(109, 20); + this.uLabel6.TabIndex = 24; + this.uLabel6.Text = "当前操作:"; + // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); + this.groupBox1.Controls.Add(this.rePrint); this.groupBox1.Controls.Add(this.needSubmitGrid); this.groupBox1.Controls.Add(this.numFlowPanel); this.groupBox1.Controls.Add(this.submitBtn); @@ -491,17 +495,17 @@ this.needSubmitGrid.AllowUserToDeleteRows = false; this.needSubmitGrid.AllowUserToResizeColumns = false; this.needSubmitGrid.AllowUserToResizeRows = false; - dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); - this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19; + dataGridViewCellStyle43.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))); + this.needSubmitGrid.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle43; this.needSubmitGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.needSubmitGrid.BackgroundColor = System.Drawing.Color.White; this.needSubmitGrid.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 12F); - dataGridViewCellStyle20.ForeColor = System.Drawing.Color.White; - dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20; + dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle44.Font = new System.Drawing.Font("宋体", 12F); + dataGridViewCellStyle44.ForeColor = System.Drawing.Color.White; + dataGridViewCellStyle44.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.needSubmitGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle44; this.needSubmitGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.needSubmitGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.U_ID, @@ -516,9 +520,9 @@ this.needSubmitGrid.Name = "needSubmitGrid"; this.needSubmitGrid.ReadOnly = true; this.needSubmitGrid.RowHeadersVisible = false; - dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle24.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); - this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle24; + dataGridViewCellStyle48.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle48.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(163)))), ((int)(((byte)(218))))); + this.needSubmitGrid.RowsDefaultCellStyle = dataGridViewCellStyle48; this.needSubmitGrid.RowTemplate.Height = 30; this.needSubmitGrid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.needSubmitGrid.Size = new System.Drawing.Size(683, 240); @@ -557,8 +561,8 @@ // U_GrossWeight // this.U_GrossWeight.DataPropertyName = "GrossWeight"; - dataGridViewCellStyle21.Format = "#0.######"; - this.U_GrossWeight.DefaultCellStyle = dataGridViewCellStyle21; + dataGridViewCellStyle45.Format = "#0.######"; + this.U_GrossWeight.DefaultCellStyle = dataGridViewCellStyle45; this.U_GrossWeight.HeaderText = "毛重"; this.U_GrossWeight.Name = "U_GrossWeight"; this.U_GrossWeight.ReadOnly = true; @@ -566,8 +570,8 @@ // U_Discont // this.U_Discont.DataPropertyName = "Discont"; - dataGridViewCellStyle22.Format = "#0.######"; - this.U_Discont.DefaultCellStyle = dataGridViewCellStyle22; + dataGridViewCellStyle46.Format = "#0.######"; + this.U_Discont.DefaultCellStyle = dataGridViewCellStyle46; this.U_Discont.HeaderText = "扣重"; this.U_Discont.Name = "U_Discont"; this.U_Discont.ReadOnly = true; @@ -575,8 +579,8 @@ // U_Weight // this.U_Weight.DataPropertyName = "Weight"; - dataGridViewCellStyle23.Format = "#0.######"; - this.U_Weight.DefaultCellStyle = dataGridViewCellStyle23; + dataGridViewCellStyle47.Format = "#0.######"; + this.U_Weight.DefaultCellStyle = dataGridViewCellStyle47; this.U_Weight.HeaderText = "净重"; this.U_Weight.Name = "U_Weight"; this.U_Weight.ReadOnly = true; @@ -585,9 +589,9 @@ // this.numFlowPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.numFlowPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; - this.numFlowPanel.Location = new System.Drawing.Point(143, 13); + this.numFlowPanel.Location = new System.Drawing.Point(211, 13); this.numFlowPanel.Name = "numFlowPanel"; - this.numFlowPanel.Size = new System.Drawing.Size(545, 41); + this.numFlowPanel.Size = new System.Drawing.Size(477, 41); this.numFlowPanel.TabIndex = 15; // // submitBtn @@ -600,11 +604,11 @@ 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(11, 20); + this.submitBtn.Location = new System.Drawing.Point(6, 19); this.submitBtn.Name = "submitBtn"; this.submitBtn.PlaySound = false; this.submitBtn.SelfControlEnable = false; - this.submitBtn.Size = new System.Drawing.Size(111, 34); + this.submitBtn.Size = new System.Drawing.Size(94, 34); this.submitBtn.SoundType = WinFormControl.SoundType.Click; this.submitBtn.TabIndex = 11; this.submitBtn.Text = "提 交"; @@ -623,6 +627,39 @@ this.uLabel3.TabIndex = 0; this.uLabel3.Text = "称重明细"; // + // barPrintCheck + // + this.barPrintCheck.AutoSize = true; + this.barPrintCheck.Font = new System.Drawing.Font("宋体", 15F); + this.barPrintCheck.Location = new System.Drawing.Point(498, 53); + this.barPrintCheck.Name = "barPrintCheck"; + this.barPrintCheck.Size = new System.Drawing.Size(108, 24); + this.barPrintCheck.TabIndex = 24; + this.barPrintCheck.Text = "启用打码"; + this.barPrintCheck.UseVisualStyleBackColor = true; + // + // rePrint + // + this.rePrint.AsClicked = false; + this.rePrint.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("rePrint.BackgroundImage"))); + this.rePrint.EnableGroup = false; + this.rePrint.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(155)))), ((int)(((byte)(214))))); + this.rePrint.FlatAppearance.BorderSize = 0; + this.rePrint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.rePrint.Font = new System.Drawing.Font("宋体", 15F); + this.rePrint.ForeColor = System.Drawing.Color.Black; + this.rePrint.Location = new System.Drawing.Point(111, 19); + this.rePrint.Name = "rePrint"; + this.rePrint.PlaySound = false; + this.rePrint.SelfControlEnable = false; + this.rePrint.Size = new System.Drawing.Size(94, 34); + this.rePrint.SoundType = WinFormControl.SoundType.Click; + this.rePrint.TabIndex = 17; + this.rePrint.Text = "补 打"; + this.rePrint.UseVisualStyleBackColor = true; + this.rePrint.WithStataHode = false; + this.rePrint.Click += new System.EventHandler(this.rePrint_Click); + // // WeightCountForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -691,5 +728,7 @@ private System.Windows.Forms.DataGridViewTextBoxColumn U_GrossWeight; private System.Windows.Forms.DataGridViewTextBoxColumn U_Discont; private System.Windows.Forms.DataGridViewTextBoxColumn U_Weight; + private System.Windows.Forms.CheckBox barPrintCheck; + private WinFormControl.UButton rePrint; } } \ No newline at end of file diff --git a/ButcherFactory.Form/WeightCount_/WeightCountForm.cs b/ButcherFactory.Form/WeightCount_/WeightCountForm.cs index 5f6d0d6..eb79f56 100644 --- a/ButcherFactory.Form/WeightCount_/WeightCountForm.cs +++ b/ButcherFactory.Form/WeightCount_/WeightCountForm.cs @@ -141,6 +141,8 @@ namespace ButcherFactory.WeightCount_ entity.ProduceOut = config.ProduceOut; WeightCountEntityBL.InsertEntityByWeight(entity); needSubmitedList.Insert(0, entity); + if (barPrintCheck.Checked) + WeightCountPrint.Print(entity); AfterInsert(); } @@ -294,5 +296,14 @@ namespace ButcherFactory.WeightCount_ discontWeight = DiscontSetting.Load().Sum(x => x.Weight); discontBtn.Text = string.Format("{0:#0.##}", discontWeight); } + + private void rePrint_Click(object sender, EventArgs e) + { + if (!barPrintCheck.Checked) + return; + if (needSubmitGrid.CurrentRow == null) + return; + WeightCountPrint.Print(needSubmitGrid.CurrentRow.DataBoundItem as WeightCountEntity); + } } } diff --git a/ButcherFactory.Form/WeightCount_/WeightCountForm.resx b/ButcherFactory.Form/WeightCount_/WeightCountForm.resx index c4603cf..32fb8a5 100644 --- a/ButcherFactory.Form/WeightCount_/WeightCountForm.resx +++ b/ButcherFactory.Form/WeightCount_/WeightCountForm.resx @@ -160,6 +160,14 @@ wwAADsMBx2+oZAAAAHNJREFUaEPt0AENACAMwDAkowVB14aDz0CTKui5b1gICoKCoCAoCAqCgqAgKAgK goKgICgICoKCoCAoCAqCgqAgKAgKgoKgICgICoKCoCAoCAqCgqAgKAgKgoKgICgICoKCoCAoCAqCgqAg KAgKgoKg1ZsPvpCB0hBohjQAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAAGAAAAAwCAIAAABhdOiYAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAHNJREFUaEPt0AENACAMwDAkowVB14aDz0CTKui5b1gICoKCoCAoCAqCgqAgKAgK + goKgICgICoKCoCAoCAqCgqAgKAgKgoKgICgICoKCoCAoCAqCgqAgKAgKgoKgICgICoKCoCAoCAqCgqAg + KAgKgoKg1ZsPvpCB0hBohjQAAAAASUVORK5CYII= diff --git a/ButcherFactory.Form/WeightCount_/WeightCountPrint.cs b/ButcherFactory.Form/WeightCount_/WeightCountPrint.cs new file mode 100644 index 0000000..74d3de5 --- /dev/null +++ b/ButcherFactory.Form/WeightCount_/WeightCountPrint.cs @@ -0,0 +1,22 @@ +using ButcherFactory.BO.Bill; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ButcherFactory.WeightCount_ +{ + public static class WeightCountPrint + { + const string TEMPLATE = @"PrintTemplate\WeightCountPrint.html"; + public static void Print(WeightCountEntity entity) + { + var dic = new Dictionary(); + dic.Add("$Goods_Name", entity.Goods_Name); + dic.Add("$Weight", string.Format("#0.##",entity.Weight)); + dic.Add("$Date", DateTime.Today.ToString("yyyy/MM/dd")); + BwpClientPrint.BwpClientWebPrint.Print(TEMPLATE, dic); + } + } +} diff --git a/ButcherFactory.Form/WeightCount_/WeightCountPrint.html b/ButcherFactory.Form/WeightCount_/WeightCountPrint.html new file mode 100644 index 0000000..c34089c --- /dev/null +++ b/ButcherFactory.Form/WeightCount_/WeightCountPrint.html @@ -0,0 +1,24 @@ + + + + + + +
+
+ + + + +
$Goods_Name
重量:$Weight KG
日期:$Date
+ + \ No newline at end of file diff --git a/ButcherFactorySolution/ButcherFactorySolution.vdproj b/ButcherFactorySolution/ButcherFactorySolution.vdproj index 11dcedf..0141c34 100644 --- a/ButcherFactorySolution/ButcherFactorySolution.vdproj +++ b/ButcherFactorySolution/ButcherFactorySolution.vdproj @@ -94,13 +94,13 @@ "Entry" { "MsmKey" = "8:_29A7BCED9730DF662BA9E1B84EBEF1D2" - "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" + "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_29A7BCED9730DF662BA9E1B84EBEF1D2" - "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" + "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -118,13 +118,13 @@ "Entry" { "MsmKey" = "8:_3F51D931AD6558AA7A5FB9204129F744" - "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" + "OwnerKey" = "8:_21F2D52705991885D22177B58657B522" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_3F51D931AD6558AA7A5FB9204129F744" - "OwnerKey" = "8:_21F2D52705991885D22177B58657B522" + "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -142,13 +142,13 @@ "Entry" { "MsmKey" = "8:_49E7F42838B252F8C6ADDB3154D2A54A" - "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" + "OwnerKey" = "8:_00C008229C2663F85F139C1A5F09A414" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_49E7F42838B252F8C6ADDB3154D2A54A" - "OwnerKey" = "8:_00C008229C2663F85F139C1A5F09A414" + "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -183,6 +183,12 @@ } "Entry" { + "MsmKey" = "8:_67337150D50C4245B69882922A443C68" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_6923FE8A43A54F0BAC6E32BB3B9A808F" "OwnerKey" = "8:_UNDEFINED" "MsmSig" = "8:_UNDEFINED" @@ -232,13 +238,13 @@ "Entry" { "MsmKey" = "8:_8253DEAFE75FA6B4FA25FA93E24080EA" - "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" + "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_8253DEAFE75FA6B4FA25FA93E24080EA" - "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" + "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -250,13 +256,13 @@ "Entry" { "MsmKey" = "8:_91EC8A1FB652175AFC310102B4B44957" - "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" + "OwnerKey" = "8:_8253DEAFE75FA6B4FA25FA93E24080EA" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_91EC8A1FB652175AFC310102B4B44957" - "OwnerKey" = "8:_8253DEAFE75FA6B4FA25FA93E24080EA" + "OwnerKey" = "8:_7BC73039AAAE423AB1ADC71EDB603430" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -370,43 +376,43 @@ "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" + "OwnerKey" = "8:_49E7F42838B252F8C6ADDB3154D2A54A" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_7642AB9EA1C4B3D968232F77B71746E6" + "OwnerKey" = "8:_91EC8A1FB652175AFC310102B4B44957" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_5716A69C7C7321AB7A3D94DCB728E68B" + "OwnerKey" = "8:_3F51D931AD6558AA7A5FB9204129F744" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_01D3B88E2FBD41E090D7E497F5F924F2" + "OwnerKey" = "8:_21F2D52705991885D22177B58657B522" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" + "OwnerKey" = "8:_E696495863F7CC9536EF6700B560C235" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_20C23BB0E3E14EA68811FF464E0B76D2" + "OwnerKey" = "8:_00C008229C2663F85F139C1A5F09A414" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_29A7BCED9730DF662BA9E1B84EBEF1D2" + "OwnerKey" = "8:_237609B625964B0484D7A17D5FD9471F" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -418,43 +424,43 @@ "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_237609B625964B0484D7A17D5FD9471F" + "OwnerKey" = "8:_29A7BCED9730DF662BA9E1B84EBEF1D2" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_00C008229C2663F85F139C1A5F09A414" + "OwnerKey" = "8:_20C23BB0E3E14EA68811FF464E0B76D2" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E696495863F7CC9536EF6700B560C235" + "OwnerKey" = "8:_60407C93181F42DFB15499FA85D78DE3" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_21F2D52705991885D22177B58657B522" + "OwnerKey" = "8:_01D3B88E2FBD41E090D7E497F5F924F2" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_3F51D931AD6558AA7A5FB9204129F744" + "OwnerKey" = "8:_5716A69C7C7321AB7A3D94DCB728E68B" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_91EC8A1FB652175AFC310102B4B44957" + "OwnerKey" = "8:_7642AB9EA1C4B3D968232F77B71746E6" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_49E7F42838B252F8C6ADDB3154D2A54A" + "OwnerKey" = "8:_CDEF0D7FE4F14E5E84A3902D05B165EC" "MsmSig" = "8:_UNDEFINED" } } @@ -559,11 +565,6 @@ "AssemblyAsmDisplayName" = "8:Forks.JsonRpc.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7254430f49d10aae, processorArchitecture=MSIL" "ScatterAssemblies" { - "_00C008229C2663F85F139C1A5F09A414" - { - "Name" = "8:Forks.JsonRpc.Client.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:Forks.JsonRpc.Client.dll" "TargetName" = "8:" @@ -610,11 +611,6 @@ "AssemblyAsmDisplayName" = "8:zxing, Version=0.11.0.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL" "ScatterAssemblies" { - "_01D3B88E2FBD41E090D7E497F5F924F2" - { - "Name" = "8:zxing.DLL" - "Attributes" = "3:512" - } } "SourcePath" = "8:zxing.DLL" "TargetName" = "8:" @@ -692,11 +688,6 @@ "AssemblyAsmDisplayName" = "8:MongoDB.Driver, Version=1.4.0.4468, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL" "ScatterAssemblies" { - "_21F2D52705991885D22177B58657B522" - { - "Name" = "8:MongoDB.Driver.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:MongoDB.Driver.dll" "TargetName" = "8:" @@ -763,11 +754,6 @@ "AssemblyAsmDisplayName" = "8:Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" "ScatterAssemblies" { - "_237609B625964B0484D7A17D5FD9471F" - { - "Name" = "8:Newtonsoft.Json.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:Newtonsoft.Json.dll" "TargetName" = "8:" @@ -794,11 +780,6 @@ "AssemblyAsmDisplayName" = "8:WinFormControl, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_29A7BCED9730DF662BA9E1B84EBEF1D2" - { - "Name" = "8:WinFormControl.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:WinFormControl.dll" "TargetName" = "8:" @@ -845,11 +826,6 @@ "AssemblyAsmDisplayName" = "8:MongoDB.Bson, Version=1.4.0.4468, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL" "ScatterAssemblies" { - "_3F51D931AD6558AA7A5FB9204129F744" - { - "Name" = "8:MongoDB.Bson.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:MongoDB.Bson.dll" "TargetName" = "8:" @@ -896,11 +872,6 @@ "AssemblyAsmDisplayName" = "8:Forks.Json, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7254430f49d10aae, processorArchitecture=MSIL" "ScatterAssemblies" { - "_49E7F42838B252F8C6ADDB3154D2A54A" - { - "Name" = "8:Forks.Json.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:Forks.Json.dll" "TargetName" = "8:" @@ -927,11 +898,6 @@ "AssemblyAsmDisplayName" = "8:BwpClientPrint, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_5716A69C7C7321AB7A3D94DCB728E68B" - { - "Name" = "8:BwpClientPrint.DLL" - "Attributes" = "3:512" - } } "SourcePath" = "8:BwpClientPrint.DLL" "TargetName" = "8:" @@ -1042,6 +1008,26 @@ "IsDependency" = "11:FALSE" "IsolateTo" = "8:" } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_67337150D50C4245B69882922A443C68" + { + "SourcePath" = "8:..\\ButcherFactory.Form\\WeightCount_\\WeightCountPrint.html" + "TargetName" = "8:WeightCountPrint.html" + "Tag" = "8:" + "Folder" = "8:_3F4A4FA4686E48BC8111A3DABADB7686" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6923FE8A43A54F0BAC6E32BB3B9A808F" { "SourcePath" = "8:..\\ButcherFactory.Form\\Files\\l68.wav" @@ -1149,11 +1135,6 @@ "AssemblyAsmDisplayName" = "8:HidLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_7642AB9EA1C4B3D968232F77B71746E6" - { - "Name" = "8:HidLibrary.DLL" - "Attributes" = "3:512" - } } "SourcePath" = "8:HidLibrary.DLL" "TargetName" = "8:" @@ -1180,11 +1161,6 @@ "AssemblyAsmDisplayName" = "8:ButcherFactory.BO, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" "ScatterAssemblies" { - "_8253DEAFE75FA6B4FA25FA93E24080EA" - { - "Name" = "8:ButcherFactory.BO.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:ButcherFactory.BO.dll" "TargetName" = "8:" @@ -1211,11 +1187,6 @@ "AssemblyAsmDisplayName" = "8:Forks.Utils, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7254430f49d10aae, processorArchitecture=MSIL" "ScatterAssemblies" { - "_91EC8A1FB652175AFC310102B4B44957" - { - "Name" = "8:Forks.Utils.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:Forks.Utils.dll" "TargetName" = "8:" @@ -1533,11 +1504,6 @@ "AssemblyAsmDisplayName" = "8:Forks.EnterpriseServices, Version=3.1.0.0, Culture=neutral, PublicKeyToken=7254430f49d10aae, processorArchitecture=MSIL" "ScatterAssemblies" { - "_E696495863F7CC9536EF6700B560C235" - { - "Name" = "8:Forks.EnterpriseServices.dll" - "Attributes" = "3:512" - } } "SourcePath" = "8:Forks.EnterpriseServices.dll" "TargetName" = "8:"