From 715746486281876dcad7f40e618f1bc82c4baef1 Mon Sep 17 00:00:00 2001 From: jingh <jingh@LAPTOP-I53VDLOO> Date: 星期三, 31 三月 2021 16:56:06 +0800 Subject: [PATCH] 报表增加合计 --- SCM/单据资料/Gy_BarCodeDetailList.Designer.cs | 37 ++++++++++++++++++++++++++++++------- 1 files changed, 30 insertions(+), 7 deletions(-) diff --git "a/SCM/\345\215\225\346\215\256\350\265\204\346\226\231/Gy_BarCodeDetailList.Designer.cs" "b/SCM/\345\215\225\346\215\256\350\265\204\346\226\231/Gy_BarCodeDetailList.Designer.cs" index 9e36f80..3dd22a1 100644 --- "a/SCM/\345\215\225\346\215\256\350\265\204\346\226\231/Gy_BarCodeDetailList.Designer.cs" +++ "b/SCM/\345\215\225\346\215\256\350\265\204\346\226\231/Gy_BarCodeDetailList.Designer.cs" @@ -70,11 +70,13 @@ this.txtHBillNo = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.grdMain = new System.Windows.Forms.DataGridView(); + this.grdSum = new System.Windows.Forms.DataGridView(); this.Tool.SuspendLayout(); this.pPic.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit(); this.SuspendLayout(); // // Tool @@ -93,7 +95,7 @@ this.Tool.Location = new System.Drawing.Point(0, 0); this.Tool.Name = "Tool"; this.Tool.Padding = new System.Windows.Forms.Padding(0); - this.Tool.Size = new System.Drawing.Size(1176, 62); + this.Tool.Size = new System.Drawing.Size(1276, 62); this.Tool.Stretch = true; this.Tool.TabIndex = 17; this.Tool.Text = "toolStrip1"; @@ -167,7 +169,7 @@ this.pPic.Location = new System.Drawing.Point(0, 62); this.pPic.Margin = new System.Windows.Forms.Padding(4); this.pPic.Name = "pPic"; - this.pPic.Size = new System.Drawing.Size(1176, 41); + this.pPic.Size = new System.Drawing.Size(1276, 41); this.pPic.TabIndex = 18; // // panel1 @@ -175,7 +177,7 @@ this.panel1.Controls.Add(this.lbljl); this.panel1.Controls.Add(this.lbldj); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; - this.panel1.Location = new System.Drawing.Point(995, 0); + this.panel1.Location = new System.Drawing.Point(1095, 0); this.panel1.Margin = new System.Windows.Forms.Padding(4); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(181, 41); @@ -217,6 +219,7 @@ // groupBox1 // this.groupBox1.BackColor = System.Drawing.Color.Lavender; + this.groupBox1.Controls.Add(this.grdSum); this.groupBox1.Controls.Add(this.textBox8); this.groupBox1.Controls.Add(this.label13); this.groupBox1.Controls.Add(this.textBox7); @@ -248,7 +251,7 @@ this.groupBox1.Margin = new System.Windows.Forms.Padding(4); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(4); - this.groupBox1.Size = new System.Drawing.Size(1176, 215); + this.groupBox1.Size = new System.Drawing.Size(1276, 237); this.groupBox1.TabIndex = 52; this.groupBox1.TabStop = false; this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter); @@ -510,22 +513,39 @@ this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; - this.grdMain.Location = new System.Drawing.Point(0, 318); + this.grdMain.Location = new System.Drawing.Point(0, 340); this.grdMain.Margin = new System.Windows.Forms.Padding(4); this.grdMain.Name = "grdMain"; this.grdMain.ReadOnly = true; this.grdMain.RowHeadersWidth = 51; this.grdMain.RowTemplate.Height = 23; - this.grdMain.Size = new System.Drawing.Size(1176, 367); + this.grdMain.Size = new System.Drawing.Size(1276, 345); this.grdMain.TabIndex = 53; this.grdMain.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.grdMain_CellValueChanged); this.grdMain.RowStateChanged += new System.Windows.Forms.DataGridViewRowStateChangedEventHandler(this.grdMain_RowStateChanged); + // + // grdSum + // + this.grdSum.AllowUserToAddRows = false; + this.grdSum.AllowUserToDeleteRows = false; + this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control; + this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; + this.grdSum.Location = new System.Drawing.Point(4, 209); + this.grdSum.Margin = new System.Windows.Forms.Padding(4); + this.grdSum.Name = "grdSum"; + this.grdSum.ReadOnly = true; + this.grdSum.RowHeadersWidth = 51; + this.grdSum.RowTemplate.Height = 23; + this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; + this.grdSum.Size = new System.Drawing.Size(1268, 24); + this.grdSum.TabIndex = 48; // // Gy_BarCodeDetailList // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1176, 685); + this.ClientSize = new System.Drawing.Size(1276, 685); this.Controls.Add(this.grdMain); this.Controls.Add(this.groupBox1); this.Controls.Add(this.pPic); @@ -533,6 +553,7 @@ this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Name = "Gy_BarCodeDetailList"; this.Text = "鎴愬搧鍒嗗垏妫�楠屾槑缁嗚〃"; + this.Load += new System.EventHandler(this.Gy_BarCodeDetailList_Load); this.Tool.ResumeLayout(false); this.Tool.PerformLayout(); this.pPic.ResumeLayout(false); @@ -542,6 +563,7 @@ this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit(); this.ResumeLayout(false); } @@ -588,5 +610,6 @@ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.TextBox textBox8; private System.Windows.Forms.Label label13; + private System.Windows.Forms.DataGridView grdSum; } } \ No newline at end of file -- Gitblit v1.9.1