From d28d3665fe2e77fd7d8ac02eac5c8a154fa2a55b Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Wed, 30 Oct 2024 15:55:10 +0800 Subject: [PATCH] 222 --- RfidWeb/Frm/FormAccount.cs | 7 +- RfidWeb/Frm/FormPar.Designer.cs | 1346 +++++++++++++++---------------- Tool/PagedList.cs | 14 +- 3 files changed, 679 insertions(+), 688 deletions(-) diff --git a/RfidWeb/Frm/FormAccount.cs b/RfidWeb/Frm/FormAccount.cs index f931d45..fecc9e1 100644 --- a/RfidWeb/Frm/FormAccount.cs +++ b/RfidWeb/Frm/FormAccount.cs @@ -116,11 +116,10 @@ namespace RfidWeb.Frm List ls = new List(); foreach (var dr in dataGridViewRows) { - var dto = dr.DataSource as UserDto; - if (dto != null) - { + if (dr.DataSource is UserDto dto) + { ls.Add(dto.Id); - } + } } if (ls.Any()) diff --git a/RfidWeb/Frm/FormPar.Designer.cs b/RfidWeb/Frm/FormPar.Designer.cs index 5184fb9..7f8f3ac 100644 --- a/RfidWeb/Frm/FormPar.Designer.cs +++ b/RfidWeb/Frm/FormPar.Designer.cs @@ -29,67 +29,67 @@ private void InitializeComponent() { this.panel2 = new System.Windows.Forms.Panel(); + this.textBoxEx1 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx2 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx3 = new HZH_Controls.Controls.TextBoxEx(); this.label15 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); + this.textBoxEx6 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx5 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx4 = new HZH_Controls.Controls.TextBoxEx(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); - this.textBoxEx3 = new HZH_Controls.Controls.TextBoxEx(); this.panel3 = new System.Windows.Forms.Panel(); - this.label5 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.label5 = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); - this.panel5 = new System.Windows.Forms.Panel(); - this.panel6 = new System.Windows.Forms.Panel(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.panel7 = new System.Windows.Forms.Panel(); + this.button6 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.label7 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.textBoxEx18 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx2 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx1 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx4 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx5 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx6 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx8 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx9 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx10 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx13 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx14 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx15 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx19 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx20 = new HZH_Controls.Controls.TextBoxEx(); - this.label9 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); - this.textBoxEx11 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx16 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx21 = new HZH_Controls.Controls.TextBoxEx(); - this.panel7 = new System.Windows.Forms.Panel(); - this.textBoxEx23 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx24 = new HZH_Controls.Controls.TextBoxEx(); - this.textBoxEx25 = new HZH_Controls.Controls.TextBoxEx(); + this.label14 = new System.Windows.Forms.Label(); this.textBoxEx26 = new HZH_Controls.Controls.TextBoxEx(); - this.label17 = new System.Windows.Forms.Label(); - this.button5 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); + this.textBoxEx25 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx24 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx23 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx21 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx20 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx19 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx16 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx15 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx14 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx13 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx11 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx10 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx9 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx8 = new HZH_Controls.Controls.TextBoxEx(); + this.textBoxEx18 = new HZH_Controls.Controls.TextBoxEx(); + this.label9 = new System.Windows.Forms.Label(); + this.panel6 = new System.Windows.Forms.Panel(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.label13 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.panel5 = new System.Windows.Forms.Panel(); this.panel2.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel4.SuspendLayout(); + this.panel7.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); this.panel6.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.panel7.SuspendLayout(); this.SuspendLayout(); // // panel2 @@ -109,6 +109,93 @@ this.panel2.Size = new System.Drawing.Size(910, 136); this.panel2.TabIndex = 6; // + // textBoxEx1 + // + this.textBoxEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx1.DecLength = 2; + this.textBoxEx1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx1.Location = new System.Drawing.Point(69, 68); + this.textBoxEx1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx1.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx1.Name = "textBoxEx1"; + this.textBoxEx1.OldText = null; + this.textBoxEx1.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx1.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx1.PromptText = ""; + this.textBoxEx1.RegexPattern = ""; + this.textBoxEx1.Size = new System.Drawing.Size(124, 53); + this.textBoxEx1.TabIndex = 26; + this.textBoxEx1.Text = "0"; + this.textBoxEx1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBoxEx2 + // + this.textBoxEx2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx2.DecLength = 2; + this.textBoxEx2.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx2.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx2.Location = new System.Drawing.Point(343, 68); + this.textBoxEx2.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx2.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx2.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx2.Name = "textBoxEx2"; + this.textBoxEx2.OldText = null; + this.textBoxEx2.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx2.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx2.PromptText = ""; + this.textBoxEx2.RegexPattern = ""; + this.textBoxEx2.Size = new System.Drawing.Size(124, 53); + this.textBoxEx2.TabIndex = 25; + this.textBoxEx2.Text = "0"; + this.textBoxEx2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBoxEx3 + // + this.textBoxEx3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx3.DecLength = 2; + this.textBoxEx3.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx3.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx3.Location = new System.Drawing.Point(646, 68); + this.textBoxEx3.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx3.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx3.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx3.Name = "textBoxEx3"; + this.textBoxEx3.OldText = null; + this.textBoxEx3.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx3.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx3.PromptText = ""; + this.textBoxEx3.RegexPattern = ""; + this.textBoxEx3.Size = new System.Drawing.Size(124, 53); + this.textBoxEx3.TabIndex = 24; + this.textBoxEx3.Text = "0"; + this.textBoxEx3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // label15 // this.label15.AutoSize = true; @@ -170,6 +257,93 @@ this.panel1.Size = new System.Drawing.Size(910, 136); this.panel1.TabIndex = 7; // + // textBoxEx6 + // + this.textBoxEx6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx6.DecLength = 2; + this.textBoxEx6.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx6.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx6.Location = new System.Drawing.Point(646, 77); + this.textBoxEx6.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx6.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx6.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx6.Name = "textBoxEx6"; + this.textBoxEx6.OldText = null; + this.textBoxEx6.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx6.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx6.PromptText = ""; + this.textBoxEx6.RegexPattern = ""; + this.textBoxEx6.Size = new System.Drawing.Size(124, 53); + this.textBoxEx6.TabIndex = 29; + this.textBoxEx6.Text = "0"; + this.textBoxEx6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBoxEx5 + // + this.textBoxEx5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx5.DecLength = 2; + this.textBoxEx5.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx5.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx5.Location = new System.Drawing.Point(343, 77); + this.textBoxEx5.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx5.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx5.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx5.Name = "textBoxEx5"; + this.textBoxEx5.OldText = null; + this.textBoxEx5.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx5.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx5.PromptText = ""; + this.textBoxEx5.RegexPattern = ""; + this.textBoxEx5.Size = new System.Drawing.Size(124, 53); + this.textBoxEx5.TabIndex = 28; + this.textBoxEx5.Text = "0"; + this.textBoxEx5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBoxEx4 + // + this.textBoxEx4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx4.DecLength = 2; + this.textBoxEx4.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx4.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx4.Location = new System.Drawing.Point(69, 77); + this.textBoxEx4.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBoxEx4.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBoxEx4.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx4.Name = "textBoxEx4"; + this.textBoxEx4.OldText = null; + this.textBoxEx4.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx4.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx4.PromptText = ""; + this.textBoxEx4.RegexPattern = ""; + this.textBoxEx4.Size = new System.Drawing.Size(124, 53); + this.textBoxEx4.TabIndex = 27; + this.textBoxEx4.Text = "0"; + this.textBoxEx4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // label1 // this.label1.AutoSize = true; @@ -214,36 +388,7 @@ this.label4.Text = "毛毡带电机速度(mm/s)"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // textBoxEx3 - // - this.textBoxEx3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx3.DecLength = 2; - this.textBoxEx3.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx3.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx3.Location = new System.Drawing.Point(646, 68); - this.textBoxEx3.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx3.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx3.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx3.Name = "textBoxEx3"; - this.textBoxEx3.OldText = null; - this.textBoxEx3.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx3.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx3.PromptText = ""; - this.textBoxEx3.RegexPattern = ""; - this.textBoxEx3.Size = new System.Drawing.Size(124, 53); - this.textBoxEx3.TabIndex = 24; - this.textBoxEx3.Text = "0"; - this.textBoxEx3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // panel3 + // panel3 // this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(243)))), ((int)(((byte)(248))))); this.panel3.Controls.Add(this.button4); @@ -258,26 +403,25 @@ this.panel3.Size = new System.Drawing.Size(910, 116); this.panel3.TabIndex = 8; // - // label5 + // button4 // - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label5.Location = new System.Drawing.Point(974, 108); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(31, 33); - this.label5.TabIndex = 11; - this.label5.Text = "0"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); + this.button4.Location = new System.Drawing.Point(624, 28); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(165, 60); + this.button4.TabIndex = 15; + this.button4.Text = "裁刀2屏蔽门"; + this.button4.UseVisualStyleBackColor = false; // - // button1 + // button3 // - this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); - this.button1.Location = new System.Drawing.Point(28, 28); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(165, 60); - this.button1.TabIndex = 12; - this.button1.Text = "料盘启动"; - this.button1.UseVisualStyleBackColor = false; + this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); + this.button3.Location = new System.Drawing.Point(436, 28); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(165, 60); + this.button3.TabIndex = 14; + this.button3.Text = "裁刀1屏蔽门"; + this.button3.UseVisualStyleBackColor = false; // // button2 // @@ -289,25 +433,26 @@ this.button2.Text = "安全门启动"; this.button2.UseVisualStyleBackColor = false; // - // button3 + // button1 // - this.button3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); - this.button3.Location = new System.Drawing.Point(436, 28); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(165, 60); - this.button3.TabIndex = 14; - this.button3.Text = "裁刀1屏蔽门"; - this.button3.UseVisualStyleBackColor = false; + this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); + this.button1.Location = new System.Drawing.Point(28, 28); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(165, 60); + this.button1.TabIndex = 12; + this.button1.Text = "料盘启动"; + this.button1.UseVisualStyleBackColor = false; // - // button4 + // label5 // - this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); - this.button4.Location = new System.Drawing.Point(624, 28); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(165, 60); - this.button4.TabIndex = 15; - this.button4.Text = "裁刀2屏蔽门"; - this.button4.UseVisualStyleBackColor = false; + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(974, 108); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(31, 33); + this.label5.TabIndex = 11; + this.label5.Text = "0"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel4 // @@ -321,43 +466,35 @@ this.panel4.Size = new System.Drawing.Size(910, 547); this.panel4.TabIndex = 9; // - // panel5 + // panel7 // - this.panel5.Dock = System.Windows.Forms.DockStyle.Top; - this.panel5.Location = new System.Drawing.Point(0, 0); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(910, 2); - this.panel5.TabIndex = 0; + this.panel7.Controls.Add(this.button6); + this.panel7.Controls.Add(this.button5); + this.panel7.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel7.Location = new System.Drawing.Point(0, 408); + this.panel7.Name = "panel7"; + this.panel7.Size = new System.Drawing.Size(910, 139); + this.panel7.TabIndex = 3; // - // panel6 + // button6 // - this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(136)))), ((int)(((byte)(49))))); - this.panel6.Controls.Add(this.tableLayoutPanel1); - this.panel6.Dock = System.Windows.Forms.DockStyle.Top; - this.panel6.Location = new System.Drawing.Point(0, 2); - this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(910, 60); - this.panel6.TabIndex = 1; + this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); + this.button6.Location = new System.Drawing.Point(683, 0); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(165, 60); + this.button6.TabIndex = 16; + this.button6.Text = "清除"; + this.button6.UseVisualStyleBackColor = false; // - // tableLayoutPanel1 + // button5 // - this.tableLayoutPanel1.ColumnCount = 5; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.58621F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 62.41379F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 219F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 177F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 223F)); - this.tableLayoutPanel1.Controls.Add(this.label13, 4, 0); - this.tableLayoutPanel1.Controls.Add(this.label12, 3, 0); - this.tableLayoutPanel1.Controls.Add(this.label11, 2, 0); - this.tableLayoutPanel1.Controls.Add(this.label7, 1, 0); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 1; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(910, 60); - this.tableLayoutPanel1.TabIndex = 0; + this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); + this.button5.Location = new System.Drawing.Point(436, 3); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(165, 60); + this.button5.TabIndex = 15; + this.button5.Text = "清除"; + this.button5.UseVisualStyleBackColor = false; // // tableLayoutPanel2 // @@ -399,378 +536,281 @@ this.tableLayoutPanel2.Size = new System.Drawing.Size(910, 485); this.tableLayoutPanel2.TabIndex = 2; // - // label7 - // - this.label7.AutoSize = true; - this.label7.Dock = System.Windows.Forms.DockStyle.Fill; - this.label7.Font = new System.Drawing.Font("宋体", 9F); - this.label7.Location = new System.Drawing.Point(112, 0); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(175, 60); - this.label7.TabIndex = 1; - this.label7.Text = "裁刀1温度设定(°C)"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label11 + // label17 // - this.label11.AutoSize = true; - this.label11.Dock = System.Windows.Forms.DockStyle.Fill; - this.label11.Font = new System.Drawing.Font("宋体", 9F); - this.label11.Location = new System.Drawing.Point(293, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(213, 60); - this.label11.TabIndex = 4; - this.label11.Text = "裁刀1裁切时长设定(°C)"; - this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label17.AutoSize = true; + this.label17.Dock = System.Windows.Forms.DockStyle.Fill; + this.label17.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label17.Location = new System.Drawing.Point(3, 159); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(106, 53); + this.label17.TabIndex = 57; + this.label17.Text = "No.4"; + this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // label12 + // label16 // - this.label12.AutoSize = true; - this.label12.Dock = System.Windows.Forms.DockStyle.Fill; - this.label12.Font = new System.Drawing.Font("宋体", 9F); - this.label12.Location = new System.Drawing.Point(512, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(171, 60); - this.label12.TabIndex = 5; - this.label12.Text = "裁刀2温度设定(°C)"; - this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label16.AutoSize = true; + this.label16.Dock = System.Windows.Forms.DockStyle.Fill; + this.label16.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label16.Location = new System.Drawing.Point(3, 106); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(106, 53); + this.label16.TabIndex = 56; + this.label16.Text = "No.3"; + this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // label13 + // label14 // - this.label13.AutoSize = true; - this.label13.Dock = System.Windows.Forms.DockStyle.Fill; - this.label13.Font = new System.Drawing.Font("宋体", 9F); - this.label13.Location = new System.Drawing.Point(689, 0); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(218, 60); - this.label13.TabIndex = 6; - this.label13.Text = "裁刀2裁切时长设定(°C)"; - this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label14.AutoSize = true; + this.label14.Dock = System.Windows.Forms.DockStyle.Fill; + this.label14.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label14.Location = new System.Drawing.Point(3, 53); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(106, 53); + this.label14.TabIndex = 55; + this.label14.Text = "No.2"; + this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // textBoxEx18 + // textBoxEx26 // - this.textBoxEx18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx18.DecLength = 2; - this.textBoxEx18.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx18.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx18.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx18.Location = new System.Drawing.Point(115, 109); - this.textBoxEx18.MaxValue = new decimal(new int[] { + this.textBoxEx26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx26.DecLength = 2; + this.textBoxEx26.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx26.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx26.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx26.Location = new System.Drawing.Point(695, 162); + this.textBoxEx26.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx18.MinValue = new decimal(new int[] { + this.textBoxEx26.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx18.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx18.Name = "textBoxEx18"; - this.textBoxEx18.OldText = null; - this.textBoxEx18.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx18.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx18.PromptText = ""; - this.textBoxEx18.RegexPattern = ""; - this.textBoxEx18.Size = new System.Drawing.Size(177, 53); - this.textBoxEx18.TabIndex = 34; - this.textBoxEx18.Text = "0"; - this.textBoxEx18.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBoxEx2 - // - this.textBoxEx2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx2.DecLength = 2; - this.textBoxEx2.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx2.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx2.Location = new System.Drawing.Point(343, 68); - this.textBoxEx2.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx2.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx2.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx2.Name = "textBoxEx2"; - this.textBoxEx2.OldText = null; - this.textBoxEx2.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx2.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx2.PromptText = ""; - this.textBoxEx2.RegexPattern = ""; - this.textBoxEx2.Size = new System.Drawing.Size(124, 53); - this.textBoxEx2.TabIndex = 25; - this.textBoxEx2.Text = "0"; - this.textBoxEx2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx26.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx26.Name = "textBoxEx26"; + this.textBoxEx26.OldText = null; + this.textBoxEx26.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx26.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx26.PromptText = ""; + this.textBoxEx26.RegexPattern = ""; + this.textBoxEx26.Size = new System.Drawing.Size(212, 53); + this.textBoxEx26.TabIndex = 53; + this.textBoxEx26.Text = "0"; + this.textBoxEx26.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx1 + // textBoxEx25 // - this.textBoxEx1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx1.DecLength = 2; - this.textBoxEx1.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx1.Location = new System.Drawing.Point(69, 68); - this.textBoxEx1.MaxValue = new decimal(new int[] { + this.textBoxEx25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx25.DecLength = 2; + this.textBoxEx25.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx25.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx25.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx25.Location = new System.Drawing.Point(515, 162); + this.textBoxEx25.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx1.MinValue = new decimal(new int[] { + this.textBoxEx25.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx1.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx1.Name = "textBoxEx1"; - this.textBoxEx1.OldText = null; - this.textBoxEx1.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx1.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx1.PromptText = ""; - this.textBoxEx1.RegexPattern = ""; - this.textBoxEx1.Size = new System.Drawing.Size(124, 53); - this.textBoxEx1.TabIndex = 26; - this.textBoxEx1.Text = "0"; - this.textBoxEx1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx25.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx25.Name = "textBoxEx25"; + this.textBoxEx25.OldText = null; + this.textBoxEx25.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx25.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx25.PromptText = ""; + this.textBoxEx25.RegexPattern = ""; + this.textBoxEx25.Size = new System.Drawing.Size(174, 53); + this.textBoxEx25.TabIndex = 52; + this.textBoxEx25.Text = "0"; + this.textBoxEx25.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx4 + // textBoxEx24 // - this.textBoxEx4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx4.DecLength = 2; - this.textBoxEx4.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx4.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx4.Location = new System.Drawing.Point(69, 77); - this.textBoxEx4.MaxValue = new decimal(new int[] { + this.textBoxEx24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx24.DecLength = 2; + this.textBoxEx24.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx24.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx24.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx24.Location = new System.Drawing.Point(298, 162); + this.textBoxEx24.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx4.MinValue = new decimal(new int[] { + this.textBoxEx24.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx4.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx4.Name = "textBoxEx4"; - this.textBoxEx4.OldText = null; - this.textBoxEx4.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx4.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx4.PromptText = ""; - this.textBoxEx4.RegexPattern = ""; - this.textBoxEx4.Size = new System.Drawing.Size(124, 53); - this.textBoxEx4.TabIndex = 27; - this.textBoxEx4.Text = "0"; - this.textBoxEx4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx24.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx24.Name = "textBoxEx24"; + this.textBoxEx24.OldText = null; + this.textBoxEx24.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx24.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx24.PromptText = ""; + this.textBoxEx24.RegexPattern = ""; + this.textBoxEx24.Size = new System.Drawing.Size(211, 53); + this.textBoxEx24.TabIndex = 51; + this.textBoxEx24.Text = "0"; + this.textBoxEx24.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx5 + // textBoxEx23 // - this.textBoxEx5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx5.DecLength = 2; - this.textBoxEx5.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx5.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx5.Location = new System.Drawing.Point(343, 77); - this.textBoxEx5.MaxValue = new decimal(new int[] { + this.textBoxEx23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx23.DecLength = 2; + this.textBoxEx23.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx23.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx23.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx23.Location = new System.Drawing.Point(115, 162); + this.textBoxEx23.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx5.MinValue = new decimal(new int[] { + this.textBoxEx23.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx5.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx5.Name = "textBoxEx5"; - this.textBoxEx5.OldText = null; - this.textBoxEx5.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx5.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx5.PromptText = ""; - this.textBoxEx5.RegexPattern = ""; - this.textBoxEx5.Size = new System.Drawing.Size(124, 53); - this.textBoxEx5.TabIndex = 28; - this.textBoxEx5.Text = "0"; - this.textBoxEx5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx23.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx23.Name = "textBoxEx23"; + this.textBoxEx23.OldText = null; + this.textBoxEx23.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx23.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx23.PromptText = ""; + this.textBoxEx23.RegexPattern = ""; + this.textBoxEx23.Size = new System.Drawing.Size(177, 53); + this.textBoxEx23.TabIndex = 50; + this.textBoxEx23.Text = "0"; + this.textBoxEx23.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx6 + // textBoxEx21 // - this.textBoxEx6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx6.DecLength = 2; - this.textBoxEx6.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx6.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx6.Location = new System.Drawing.Point(646, 77); - this.textBoxEx6.MaxValue = new decimal(new int[] { + this.textBoxEx21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx21.DecLength = 2; + this.textBoxEx21.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx21.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx21.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx21.Location = new System.Drawing.Point(695, 109); + this.textBoxEx21.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx6.MinValue = new decimal(new int[] { + this.textBoxEx21.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx6.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx6.Name = "textBoxEx6"; - this.textBoxEx6.OldText = null; - this.textBoxEx6.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx6.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx6.PromptText = ""; - this.textBoxEx6.RegexPattern = ""; - this.textBoxEx6.Size = new System.Drawing.Size(124, 53); - this.textBoxEx6.TabIndex = 29; - this.textBoxEx6.Text = "0"; - this.textBoxEx6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx21.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx21.Name = "textBoxEx21"; + this.textBoxEx21.OldText = null; + this.textBoxEx21.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx21.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx21.PromptText = ""; + this.textBoxEx21.RegexPattern = ""; + this.textBoxEx21.Size = new System.Drawing.Size(212, 53); + this.textBoxEx21.TabIndex = 48; + this.textBoxEx21.Text = "0"; + this.textBoxEx21.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx8 + // textBoxEx20 // - this.textBoxEx8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx8.DecLength = 2; - this.textBoxEx8.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx8.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx8.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx8.Location = new System.Drawing.Point(115, 3); - this.textBoxEx8.MaxValue = new decimal(new int[] { + this.textBoxEx20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx20.DecLength = 2; + this.textBoxEx20.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx20.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx20.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx20.Location = new System.Drawing.Point(515, 109); + this.textBoxEx20.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx8.MinValue = new decimal(new int[] { + this.textBoxEx20.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx8.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx8.Name = "textBoxEx8"; - this.textBoxEx8.OldText = null; - this.textBoxEx8.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx8.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx8.PromptText = ""; - this.textBoxEx8.RegexPattern = ""; - this.textBoxEx8.Size = new System.Drawing.Size(177, 53); - this.textBoxEx8.TabIndex = 36; - this.textBoxEx8.Text = "0"; - this.textBoxEx8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx20.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx20.Name = "textBoxEx20"; + this.textBoxEx20.OldText = null; + this.textBoxEx20.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx20.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx20.PromptText = ""; + this.textBoxEx20.RegexPattern = ""; + this.textBoxEx20.Size = new System.Drawing.Size(174, 53); + this.textBoxEx20.TabIndex = 47; + this.textBoxEx20.Text = "0"; + this.textBoxEx20.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx9 + // textBoxEx19 // - this.textBoxEx9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx9.DecLength = 2; - this.textBoxEx9.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx9.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx9.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx9.Location = new System.Drawing.Point(298, 3); - this.textBoxEx9.MaxValue = new decimal(new int[] { + this.textBoxEx19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx19.DecLength = 2; + this.textBoxEx19.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx19.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx19.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx19.Location = new System.Drawing.Point(298, 109); + this.textBoxEx19.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx9.MinValue = new decimal(new int[] { + this.textBoxEx19.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx9.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx9.Name = "textBoxEx9"; - this.textBoxEx9.OldText = null; - this.textBoxEx9.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx9.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx9.PromptText = ""; - this.textBoxEx9.RegexPattern = ""; - this.textBoxEx9.Size = new System.Drawing.Size(211, 53); - this.textBoxEx9.TabIndex = 37; - this.textBoxEx9.Text = "0"; - this.textBoxEx9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBoxEx10 - // - this.textBoxEx10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx10.DecLength = 2; - this.textBoxEx10.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx10.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx10.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx10.Location = new System.Drawing.Point(515, 3); - this.textBoxEx10.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx10.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx10.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx10.Name = "textBoxEx10"; - this.textBoxEx10.OldText = null; - this.textBoxEx10.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx10.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx10.PromptText = ""; - this.textBoxEx10.RegexPattern = ""; - this.textBoxEx10.Size = new System.Drawing.Size(174, 53); - this.textBoxEx10.TabIndex = 38; - this.textBoxEx10.Text = "0"; - this.textBoxEx10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // textBoxEx13 - // - this.textBoxEx13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx13.DecLength = 2; - this.textBoxEx13.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx13.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx13.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx13.Location = new System.Drawing.Point(115, 56); - this.textBoxEx13.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx13.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx13.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx13.Name = "textBoxEx13"; - this.textBoxEx13.OldText = null; - this.textBoxEx13.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx13.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx13.PromptText = ""; - this.textBoxEx13.RegexPattern = ""; - this.textBoxEx13.Size = new System.Drawing.Size(177, 53); - this.textBoxEx13.TabIndex = 41; - this.textBoxEx13.Text = "0"; - this.textBoxEx13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx19.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx19.Name = "textBoxEx19"; + this.textBoxEx19.OldText = null; + this.textBoxEx19.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx19.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx19.PromptText = ""; + this.textBoxEx19.RegexPattern = ""; + this.textBoxEx19.Size = new System.Drawing.Size(211, 53); + this.textBoxEx19.TabIndex = 46; + this.textBoxEx19.Text = "0"; + this.textBoxEx19.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx14 + // textBoxEx16 // - this.textBoxEx14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx14.DecLength = 2; - this.textBoxEx14.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx14.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx14.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx14.Location = new System.Drawing.Point(298, 56); - this.textBoxEx14.MaxValue = new decimal(new int[] { + this.textBoxEx16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx16.DecLength = 2; + this.textBoxEx16.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx16.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx16.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx16.Location = new System.Drawing.Point(695, 56); + this.textBoxEx16.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx14.MinValue = new decimal(new int[] { + this.textBoxEx16.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx14.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx14.Name = "textBoxEx14"; - this.textBoxEx14.OldText = null; - this.textBoxEx14.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx14.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx14.PromptText = ""; - this.textBoxEx14.RegexPattern = ""; - this.textBoxEx14.Size = new System.Drawing.Size(211, 53); - this.textBoxEx14.TabIndex = 42; - this.textBoxEx14.Text = "0"; - this.textBoxEx14.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx16.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx16.Name = "textBoxEx16"; + this.textBoxEx16.OldText = null; + this.textBoxEx16.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx16.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx16.PromptText = ""; + this.textBoxEx16.RegexPattern = ""; + this.textBoxEx16.Size = new System.Drawing.Size(212, 53); + this.textBoxEx16.TabIndex = 44; + this.textBoxEx16.Text = "0"; + this.textBoxEx16.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBoxEx15 // @@ -802,101 +842,65 @@ this.textBoxEx15.Text = "0"; this.textBoxEx15.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx19 + // textBoxEx14 // - this.textBoxEx19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx19.DecLength = 2; - this.textBoxEx19.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx19.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx19.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx19.Location = new System.Drawing.Point(298, 109); - this.textBoxEx19.MaxValue = new decimal(new int[] { + this.textBoxEx14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx14.DecLength = 2; + this.textBoxEx14.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx14.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx14.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx14.Location = new System.Drawing.Point(298, 56); + this.textBoxEx14.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx19.MinValue = new decimal(new int[] { + this.textBoxEx14.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx19.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx19.Name = "textBoxEx19"; - this.textBoxEx19.OldText = null; - this.textBoxEx19.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx19.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx19.PromptText = ""; - this.textBoxEx19.RegexPattern = ""; - this.textBoxEx19.Size = new System.Drawing.Size(211, 53); - this.textBoxEx19.TabIndex = 46; - this.textBoxEx19.Text = "0"; - this.textBoxEx19.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx14.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx14.Name = "textBoxEx14"; + this.textBoxEx14.OldText = null; + this.textBoxEx14.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx14.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx14.PromptText = ""; + this.textBoxEx14.RegexPattern = ""; + this.textBoxEx14.Size = new System.Drawing.Size(211, 53); + this.textBoxEx14.TabIndex = 42; + this.textBoxEx14.Text = "0"; + this.textBoxEx14.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx20 + // textBoxEx13 // - this.textBoxEx20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx20.DecLength = 2; - this.textBoxEx20.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx20.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx20.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx20.Location = new System.Drawing.Point(515, 109); - this.textBoxEx20.MaxValue = new decimal(new int[] { + this.textBoxEx13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx13.DecLength = 2; + this.textBoxEx13.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx13.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx13.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx13.Location = new System.Drawing.Point(115, 56); + this.textBoxEx13.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx20.MinValue = new decimal(new int[] { + this.textBoxEx13.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx20.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx20.Name = "textBoxEx20"; - this.textBoxEx20.OldText = null; - this.textBoxEx20.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx20.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx20.PromptText = ""; - this.textBoxEx20.RegexPattern = ""; - this.textBoxEx20.Size = new System.Drawing.Size(174, 53); - this.textBoxEx20.TabIndex = 47; - this.textBoxEx20.Text = "0"; - this.textBoxEx20.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Dock = System.Windows.Forms.DockStyle.Fill; - this.label9.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label9.Location = new System.Drawing.Point(3, 0); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(106, 53); - this.label9.TabIndex = 54; - this.label9.Text = "No.1"; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Dock = System.Windows.Forms.DockStyle.Fill; - this.label14.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label14.Location = new System.Drawing.Point(3, 53); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(106, 53); - this.label14.TabIndex = 55; - this.label14.Text = "No.2"; - this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Dock = System.Windows.Forms.DockStyle.Fill; - this.label16.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label16.Location = new System.Drawing.Point(3, 106); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(106, 53); - this.label16.TabIndex = 56; - this.label16.Text = "No.3"; - this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.textBoxEx13.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx13.Name = "textBoxEx13"; + this.textBoxEx13.OldText = null; + this.textBoxEx13.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx13.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx13.PromptText = ""; + this.textBoxEx13.RegexPattern = ""; + this.textBoxEx13.Size = new System.Drawing.Size(177, 53); + this.textBoxEx13.TabIndex = 41; + this.textBoxEx13.Text = "0"; + this.textBoxEx13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBoxEx11 // @@ -928,227 +932,223 @@ this.textBoxEx11.Text = "0"; this.textBoxEx11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx16 + // textBoxEx10 // - this.textBoxEx16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx16.DecLength = 2; - this.textBoxEx16.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx16.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx16.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx16.Location = new System.Drawing.Point(695, 56); - this.textBoxEx16.MaxValue = new decimal(new int[] { + this.textBoxEx10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx10.DecLength = 2; + this.textBoxEx10.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx10.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx10.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx10.Location = new System.Drawing.Point(515, 3); + this.textBoxEx10.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx16.MinValue = new decimal(new int[] { + this.textBoxEx10.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx16.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx16.Name = "textBoxEx16"; - this.textBoxEx16.OldText = null; - this.textBoxEx16.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx16.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx16.PromptText = ""; - this.textBoxEx16.RegexPattern = ""; - this.textBoxEx16.Size = new System.Drawing.Size(212, 53); - this.textBoxEx16.TabIndex = 44; - this.textBoxEx16.Text = "0"; - this.textBoxEx16.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx10.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx10.Name = "textBoxEx10"; + this.textBoxEx10.OldText = null; + this.textBoxEx10.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx10.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx10.PromptText = ""; + this.textBoxEx10.RegexPattern = ""; + this.textBoxEx10.Size = new System.Drawing.Size(174, 53); + this.textBoxEx10.TabIndex = 38; + this.textBoxEx10.Text = "0"; + this.textBoxEx10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx21 + // textBoxEx9 // - this.textBoxEx21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx21.DecLength = 2; - this.textBoxEx21.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx21.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx21.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx21.Location = new System.Drawing.Point(695, 109); - this.textBoxEx21.MaxValue = new decimal(new int[] { + this.textBoxEx9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx9.DecLength = 2; + this.textBoxEx9.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx9.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx9.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx9.Location = new System.Drawing.Point(298, 3); + this.textBoxEx9.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx21.MinValue = new decimal(new int[] { + this.textBoxEx9.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx21.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx21.Name = "textBoxEx21"; - this.textBoxEx21.OldText = null; - this.textBoxEx21.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx21.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx21.PromptText = ""; - this.textBoxEx21.RegexPattern = ""; - this.textBoxEx21.Size = new System.Drawing.Size(212, 53); - this.textBoxEx21.TabIndex = 48; - this.textBoxEx21.Text = "0"; - this.textBoxEx21.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // panel7 - // - this.panel7.Controls.Add(this.button6); - this.panel7.Controls.Add(this.button5); - this.panel7.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel7.Location = new System.Drawing.Point(0, 408); - this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(910, 139); - this.panel7.TabIndex = 3; + this.textBoxEx9.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx9.Name = "textBoxEx9"; + this.textBoxEx9.OldText = null; + this.textBoxEx9.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx9.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx9.PromptText = ""; + this.textBoxEx9.RegexPattern = ""; + this.textBoxEx9.Size = new System.Drawing.Size(211, 53); + this.textBoxEx9.TabIndex = 37; + this.textBoxEx9.Text = "0"; + this.textBoxEx9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx23 + // textBoxEx8 // - this.textBoxEx23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx23.DecLength = 2; - this.textBoxEx23.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx23.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx23.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx23.Location = new System.Drawing.Point(115, 162); - this.textBoxEx23.MaxValue = new decimal(new int[] { + this.textBoxEx8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx8.DecLength = 2; + this.textBoxEx8.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx8.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx8.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx8.Location = new System.Drawing.Point(115, 3); + this.textBoxEx8.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx23.MinValue = new decimal(new int[] { + this.textBoxEx8.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx23.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx23.Name = "textBoxEx23"; - this.textBoxEx23.OldText = null; - this.textBoxEx23.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx23.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx23.PromptText = ""; - this.textBoxEx23.RegexPattern = ""; - this.textBoxEx23.Size = new System.Drawing.Size(177, 53); - this.textBoxEx23.TabIndex = 50; - this.textBoxEx23.Text = "0"; - this.textBoxEx23.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx8.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx8.Name = "textBoxEx8"; + this.textBoxEx8.OldText = null; + this.textBoxEx8.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx8.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx8.PromptText = ""; + this.textBoxEx8.RegexPattern = ""; + this.textBoxEx8.Size = new System.Drawing.Size(177, 53); + this.textBoxEx8.TabIndex = 36; + this.textBoxEx8.Text = "0"; + this.textBoxEx8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx24 + // textBoxEx18 // - this.textBoxEx24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx24.DecLength = 2; - this.textBoxEx24.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx24.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx24.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx24.Location = new System.Drawing.Point(298, 162); - this.textBoxEx24.MaxValue = new decimal(new int[] { + this.textBoxEx18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); + this.textBoxEx18.DecLength = 2; + this.textBoxEx18.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxEx18.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBoxEx18.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx18.Location = new System.Drawing.Point(115, 109); + this.textBoxEx18.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); - this.textBoxEx24.MinValue = new decimal(new int[] { + this.textBoxEx18.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); - this.textBoxEx24.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx24.Name = "textBoxEx24"; - this.textBoxEx24.OldText = null; - this.textBoxEx24.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx24.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx24.PromptText = ""; - this.textBoxEx24.RegexPattern = ""; - this.textBoxEx24.Size = new System.Drawing.Size(211, 53); - this.textBoxEx24.TabIndex = 51; - this.textBoxEx24.Text = "0"; - this.textBoxEx24.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.textBoxEx18.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); + this.textBoxEx18.Name = "textBoxEx18"; + this.textBoxEx18.OldText = null; + this.textBoxEx18.PromptColor = System.Drawing.Color.Gray; + this.textBoxEx18.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBoxEx18.PromptText = ""; + this.textBoxEx18.RegexPattern = ""; + this.textBoxEx18.Size = new System.Drawing.Size(177, 53); + this.textBoxEx18.TabIndex = 34; + this.textBoxEx18.Text = "0"; + this.textBoxEx18.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // - // textBoxEx25 + // label9 // - this.textBoxEx25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx25.DecLength = 2; - this.textBoxEx25.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx25.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx25.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx25.Location = new System.Drawing.Point(515, 162); - this.textBoxEx25.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx25.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx25.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx25.Name = "textBoxEx25"; - this.textBoxEx25.OldText = null; - this.textBoxEx25.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx25.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx25.PromptText = ""; - this.textBoxEx25.RegexPattern = ""; - this.textBoxEx25.Size = new System.Drawing.Size(174, 53); - this.textBoxEx25.TabIndex = 52; - this.textBoxEx25.Text = "0"; - this.textBoxEx25.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.label9.AutoSize = true; + this.label9.Dock = System.Windows.Forms.DockStyle.Fill; + this.label9.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label9.Location = new System.Drawing.Point(3, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(106, 53); + this.label9.TabIndex = 54; + this.label9.Text = "No.1"; + this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // textBoxEx26 + // panel6 // - this.textBoxEx26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); - this.textBoxEx26.DecLength = 2; - this.textBoxEx26.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxEx26.Font = new System.Drawing.Font("宋体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBoxEx26.InputType = HZH_Controls.TextInputType.NotControl; - this.textBoxEx26.Location = new System.Drawing.Point(695, 162); - this.textBoxEx26.MaxValue = new decimal(new int[] { - 1000000, - 0, - 0, - 0}); - this.textBoxEx26.MinValue = new decimal(new int[] { - 1000000, - 0, - 0, - -2147483648}); - this.textBoxEx26.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); - this.textBoxEx26.Name = "textBoxEx26"; - this.textBoxEx26.OldText = null; - this.textBoxEx26.PromptColor = System.Drawing.Color.Gray; - this.textBoxEx26.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.textBoxEx26.PromptText = ""; - this.textBoxEx26.RegexPattern = ""; - this.textBoxEx26.Size = new System.Drawing.Size(212, 53); - this.textBoxEx26.TabIndex = 53; - this.textBoxEx26.Text = "0"; - this.textBoxEx26.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(136)))), ((int)(((byte)(49))))); + this.panel6.Controls.Add(this.tableLayoutPanel1); + this.panel6.Dock = System.Windows.Forms.DockStyle.Top; + this.panel6.Location = new System.Drawing.Point(0, 2); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(910, 60); + this.panel6.TabIndex = 1; // - // label17 + // tableLayoutPanel1 // - this.label17.AutoSize = true; - this.label17.Dock = System.Windows.Forms.DockStyle.Fill; - this.label17.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(3, 159); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(106, 53); - this.label17.TabIndex = 57; - this.label17.Text = "No.4"; - this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.tableLayoutPanel1.ColumnCount = 5; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.58621F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 62.41379F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 219F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 177F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 223F)); + this.tableLayoutPanel1.Controls.Add(this.label13, 4, 0); + this.tableLayoutPanel1.Controls.Add(this.label12, 3, 0); + this.tableLayoutPanel1.Controls.Add(this.label11, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.label7, 1, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(910, 60); + this.tableLayoutPanel1.TabIndex = 0; // - // button5 + // label13 // - this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); - this.button5.Location = new System.Drawing.Point(436, 3); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(165, 60); - this.button5.TabIndex = 15; - this.button5.Text = "清除"; - this.button5.UseVisualStyleBackColor = false; + this.label13.AutoSize = true; + this.label13.Dock = System.Windows.Forms.DockStyle.Fill; + this.label13.Font = new System.Drawing.Font("宋体", 9F); + this.label13.Location = new System.Drawing.Point(689, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(218, 60); + this.label13.TabIndex = 6; + this.label13.Text = "裁刀2裁切时长设定(°C)"; + this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // - // button6 + // label12 // - this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(202)))), ((int)(((byte)(188))))); - this.button6.Location = new System.Drawing.Point(683, 0); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(165, 60); - this.button6.TabIndex = 16; - this.button6.Text = "清除"; - this.button6.UseVisualStyleBackColor = false; + this.label12.AutoSize = true; + this.label12.Dock = System.Windows.Forms.DockStyle.Fill; + this.label12.Font = new System.Drawing.Font("宋体", 9F); + this.label12.Location = new System.Drawing.Point(512, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(171, 60); + this.label12.TabIndex = 5; + this.label12.Text = "裁刀2温度设定(°C)"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Dock = System.Windows.Forms.DockStyle.Fill; + this.label11.Font = new System.Drawing.Font("宋体", 9F); + this.label11.Location = new System.Drawing.Point(293, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(213, 60); + this.label11.TabIndex = 4; + this.label11.Text = "裁刀1裁切时长设定(°C)"; + this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Dock = System.Windows.Forms.DockStyle.Fill; + this.label7.Font = new System.Drawing.Font("宋体", 9F); + this.label7.Location = new System.Drawing.Point(112, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(175, 60); + this.label7.TabIndex = 1; + this.label7.Text = "裁刀1温度设定(°C)"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel5 + // + this.panel5.Dock = System.Windows.Forms.DockStyle.Top; + this.panel5.Location = new System.Drawing.Point(0, 0); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(910, 2); + this.panel5.TabIndex = 0; // // FormPar // @@ -1167,12 +1167,12 @@ this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel4.ResumeLayout(false); + this.panel7.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); this.panel6.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); - this.tableLayoutPanel2.ResumeLayout(false); - this.tableLayoutPanel2.PerformLayout(); - this.panel7.ResumeLayout(false); this.ResumeLayout(false); } diff --git a/Tool/PagedList.cs b/Tool/PagedList.cs index cdca610..2656215 100644 --- a/Tool/PagedList.cs +++ b/Tool/PagedList.cs @@ -10,13 +10,13 @@ namespace Tool public class PagedList { public List Items { get; private set; } // 存储当前页的元素 - public int PageIndex { get; private set; } // 当前页码(从0开始) + public int PageIndex { get; private set; } // 当前页码(从1开始) public int PageSize { get; private set; } // 每页的元素数 public int TotalCount { get; private set; } // 总记录数 public int TotalPages => (int)Math.Ceiling((double)TotalCount / PageSize); // 总页数 - public bool HasPreviousPage => PageIndex > 0; - public bool HasNextPage => PageIndex + 1 < TotalPages; + + public bool HasNextPage => PageIndex < TotalPages; public PagedList(List items, int count, int pageIndex, int pageSize) { @@ -25,13 +25,5 @@ namespace Tool PageIndex = pageIndex; PageSize = pageSize; } - - // 工厂方法,用于创建分页列表 - public static PagedList Create(IList source, int pageIndex, int pageSize) - { - var count = source.Count; // 总记录数 - var items = source.Skip(pageIndex * pageSize).Take(pageSize).ToList(); // 获取当前页的元素 - return new PagedList(items, count, pageIndex, pageSize); - } } }