From 8af36d49d388e3a27cd44ad2728b78a46b6ad016 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 12 六月 2020 18:34:40 +0800 Subject: [PATCH] '完善' --- WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe | 0 WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.GenerateResource.cache | 0 WindowsFormsApp1/WindowsFormsApp1.csproj | 11 WindowsFormsApp1/Main.Designer.cs | 797 ++++++++++++++++++++++++-------------------- WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe | 0 WindowsFormsApp1/Test.Designer.cs | 90 +++- WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache | 2 WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe.manifest | 6 WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.application | 6 WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe.manifest | 6 WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csprojAssemblyReference.cache | 0 /dev/null | 21 - .vs/BKZ/v16/.suo | 0 WindowsFormsApp1/bin/x86/Debug/app.publish/WindowsFormsApp1.exe | 0 WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.application | 6 WindowsFormsApp1/utils/ApiUtil.cs | 16 WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.pdb | 0 WindowsFormsApp1/Main.resx | 7 WindowsFormsApp1/publish/WindowsFormsApp1.application | 10 WindowsFormsApp1/Main.cs | 74 +++ WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.pdb | 0 21 files changed, 620 insertions(+), 432 deletions(-) diff --git a/.vs/BKZ/v16/.suo b/.vs/BKZ/v16/.suo index 6124a44..94ec285 100644 --- a/.vs/BKZ/v16/.suo +++ b/.vs/BKZ/v16/.suo Binary files differ diff --git a/WindowsFormsApp1/Main.Designer.cs b/WindowsFormsApp1/Main.Designer.cs index 3a9de54..33552b0 100644 --- a/WindowsFormsApp1/Main.Designer.cs +++ b/WindowsFormsApp1/Main.Designer.cs @@ -1,4 +1,6 @@ -锘縰sing System.Drawing; +using HZH_Controls.Controls; +using System.Drawing; +using System.Windows.Forms; namespace WindowsFormsApp1 { @@ -31,6 +33,8 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.button13 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); @@ -46,15 +50,13 @@ this.button9 = new System.Windows.Forms.Button(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label19 = new System.Windows.Forms.Label(); - this.textBox14 = new System.Windows.Forms.TextBox(); + this.textBox14 = new HZH_Controls.Controls.TextBoxEx(); this.button6 = new System.Windows.Forms.Button(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.checkBox4 = new System.Windows.Forms.CheckBox(); - this.label51 = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioButton9 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton8 = new System.Windows.Forms.RadioButton(); @@ -75,18 +77,18 @@ this.label10 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); - this.textBox12 = new System.Windows.Forms.TextBox(); - this.textBox11 = new System.Windows.Forms.TextBox(); - this.textBox10 = new System.Windows.Forms.TextBox(); - this.textBox9 = new System.Windows.Forms.TextBox(); - this.textBox8 = new System.Windows.Forms.TextBox(); - this.textBox7 = new System.Windows.Forms.TextBox(); - this.textBox6 = new System.Windows.Forms.TextBox(); - this.textBox5 = new System.Windows.Forms.TextBox(); - this.textBox4 = new System.Windows.Forms.TextBox(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox12 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox11 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox10 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox9 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox8 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox7 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox6 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox5 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox4 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox3 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox2 = new HZH_Controls.Controls.TextBoxEx(); + this.textBox1 = new HZH_Controls.Controls.TextBoxEx(); this.groupBox7 = new System.Windows.Forms.GroupBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); @@ -97,6 +99,8 @@ this.button15 = new System.Windows.Forms.Button(); this.label39 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.ucHorizontalList1 = new HZH_Controls.Controls.UCHorizontalList(); + this.ucTextBoxEx1 = new HZH_Controls.Controls.UCTextBoxEx(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.搴忓彿 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.鍟嗗搧鏍囬 = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -106,37 +110,22 @@ this.鍒版墜浠� = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.浣i噾 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.浣i噾姣� = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.鎿嶄綔 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.鎿嶄綔1 = new System.Windows.Forms.DataGridViewLinkColumn(); + this.鎿嶄綔2 = new System.Windows.Forms.DataGridViewLinkColumn(); this.button14 = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); - this.textBox15 = new System.Windows.Forms.TextBox(); this.button7 = new System.Windows.Forms.Button(); - this.label34 = new System.Windows.Forms.Label(); - this.label33 = new System.Windows.Forms.Label(); - this.label32 = new System.Windows.Forms.Label(); - this.label31 = new System.Windows.Forms.Label(); - this.label30 = new System.Windows.Forms.Label(); - this.label29 = new System.Windows.Forms.Label(); - this.label28 = new System.Windows.Forms.Label(); - this.label27 = new System.Windows.Forms.Label(); - this.label26 = new System.Windows.Forms.Label(); - this.label25 = new System.Windows.Forms.Label(); - this.label18 = new System.Windows.Forms.Label(); - this.label17 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.button10 = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox4.SuspendLayout(); this.groupBox5.SuspendLayout(); - this.groupBox1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); @@ -271,11 +260,10 @@ // // tabPage1 // + this.tabPage1.Controls.Add(this.button10); this.tabPage1.Controls.Add(this.button9); this.tabPage1.Controls.Add(this.groupBox4); this.tabPage1.Controls.Add(this.groupBox5); - this.tabPage1.Controls.Add(this.label51); - this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.checkBox7); this.tabPage1.Controls.Add(this.groupBox3); this.tabPage1.Controls.Add(this.groupBox7); @@ -294,11 +282,13 @@ // button9 // this.button9.BackColor = System.Drawing.SystemColors.Window; + this.button9.FlatAppearance.BorderSize = 0; + this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button9.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.button9.ForeColor = System.Drawing.Color.Black; - this.button9.Location = new System.Drawing.Point(6, 682); + this.button9.Location = new System.Drawing.Point(6, 65); this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(250, 41); + this.button9.Size = new System.Drawing.Size(250, 40); this.button9.TabIndex = 1; this.button9.Text = "杩涘叆缂栬緫鍣�"; this.button9.UseVisualStyleBackColor = false; @@ -311,7 +301,7 @@ this.groupBox4.Controls.Add(this.button6); this.groupBox4.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.groupBox4.ForeColor = System.Drawing.Color.Black; - this.groupBox4.Location = new System.Drawing.Point(6, 594); + this.groupBox4.Location = new System.Drawing.Point(6, 672); this.groupBox4.Name = "groupBox4"; this.groupBox4.RightToLeft = System.Windows.Forms.RightToLeft.No; this.groupBox4.Size = new System.Drawing.Size(250, 84); @@ -333,15 +323,35 @@ // // textBox14 // + this.textBox14.DecLength = 2; this.textBox14.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.textBox14.InputType = HZH_Controls.TextInputType.NotControl; this.textBox14.Location = new System.Drawing.Point(11, 24); + this.textBox14.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox14.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox14.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox14.Name = "textBox14"; + this.textBox14.OldText = null; + this.textBox14.PromptColor = System.Drawing.Color.Gray; + this.textBox14.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox14.PromptText = ""; + this.textBox14.RegexPattern = ""; this.textBox14.Size = new System.Drawing.Size(174, 25); this.textBox14.TabIndex = 43; // // button6 // this.button6.BackColor = System.Drawing.SystemColors.Window; + this.button6.FlatAppearance.BorderSize = 0; + this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button6.ForeColor = System.Drawing.Color.Black; this.button6.Location = new System.Drawing.Point(191, 19); this.button6.Name = "button6"; @@ -359,7 +369,7 @@ this.groupBox5.Controls.Add(this.checkBox4); this.groupBox5.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.groupBox5.ForeColor = System.Drawing.Color.Black; - this.groupBox5.Location = new System.Drawing.Point(6, 421); + this.groupBox5.Location = new System.Drawing.Point(6, 511); this.groupBox5.Name = "groupBox5"; this.groupBox5.RightToLeft = System.Windows.Forms.RightToLeft.No; this.groupBox5.Size = new System.Drawing.Size(250, 104); @@ -413,41 +423,11 @@ this.checkBox4.Text = "涓嶇湅涓嬫灦鍟嗗搧"; this.checkBox4.UseVisualStyleBackColor = true; // - // label51 - // - this.label51.AutoSize = true; - this.label51.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F); - this.label51.ForeColor = System.Drawing.Color.Red; - this.label51.Location = new System.Drawing.Point(10, 573); - this.label51.Name = "label51"; - this.label51.Size = new System.Drawing.Size(248, 17); - this.label51.TabIndex = 42; - this.label51.Text = "娉細淇濆瓨绛涢�夊�煎悗鍙紑鍚嚜鍔ㄧ瓫閫夎繘鍏ュ彂鍗曞簱"; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.radioButton9); - this.groupBox1.Controls.Add(this.radioButton2); - this.groupBox1.Controls.Add(this.radioButton8); - this.groupBox1.Controls.Add(this.radioButton7); - this.groupBox1.Controls.Add(this.radioButton3); - this.groupBox1.Controls.Add(this.radioButton1); - this.groupBox1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); - this.groupBox1.ForeColor = System.Drawing.Color.Black; - this.groupBox1.Location = new System.Drawing.Point(6, 332); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.groupBox1.Size = new System.Drawing.Size(250, 85); - this.groupBox1.TabIndex = 44; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "鍟嗗搧鏉ユ簮"; - this.groupBox1.Enter += new System.EventHandler(this.groupBox3_Enter); - // // radioButton9 // this.radioButton9.AutoSize = true; this.radioButton9.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton9.Location = new System.Drawing.Point(76, 57); + this.radioButton9.Location = new System.Drawing.Point(76, 322); this.radioButton9.Name = "radioButton9"; this.radioButton9.Size = new System.Drawing.Size(74, 21); this.radioButton9.TabIndex = 29; @@ -460,7 +440,7 @@ // this.radioButton2.AutoSize = true; this.radioButton2.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton2.Location = new System.Drawing.Point(76, 28); + this.radioButton2.Location = new System.Drawing.Point(76, 349); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(50, 21); this.radioButton2.TabIndex = 29; @@ -472,7 +452,7 @@ // this.radioButton8.AutoSize = true; this.radioButton8.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton8.Location = new System.Drawing.Point(165, 57); + this.radioButton8.Location = new System.Drawing.Point(165, 322); this.radioButton8.Name = "radioButton8"; this.radioButton8.Size = new System.Drawing.Size(74, 21); this.radioButton8.TabIndex = 30; @@ -485,7 +465,7 @@ // this.radioButton7.AutoSize = true; this.radioButton7.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton7.Location = new System.Drawing.Point(14, 57); + this.radioButton7.Location = new System.Drawing.Point(14, 322); this.radioButton7.Name = "radioButton7"; this.radioButton7.Size = new System.Drawing.Size(50, 21); this.radioButton7.TabIndex = 28; @@ -498,7 +478,7 @@ // this.radioButton3.AutoSize = true; this.radioButton3.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton3.Location = new System.Drawing.Point(165, 28); + this.radioButton3.Location = new System.Drawing.Point(165, 349); this.radioButton3.Name = "radioButton3"; this.radioButton3.Size = new System.Drawing.Size(50, 21); this.radioButton3.TabIndex = 30; @@ -510,7 +490,7 @@ // this.radioButton1.AutoSize = true; this.radioButton1.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.radioButton1.Location = new System.Drawing.Point(14, 28); + this.radioButton1.Location = new System.Drawing.Point(14, 349); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(50, 21); this.radioButton1.TabIndex = 28; @@ -522,7 +502,7 @@ // this.checkBox7.AutoSize = true; this.checkBox7.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.checkBox7.Location = new System.Drawing.Point(10, 539); + this.checkBox7.Location = new System.Drawing.Point(10, 629); this.checkBox7.Name = "checkBox7"; this.checkBox7.Size = new System.Drawing.Size(87, 21); this.checkBox7.TabIndex = 36; @@ -532,9 +512,15 @@ // // groupBox3 // + this.groupBox3.Controls.Add(this.radioButton2); + this.groupBox3.Controls.Add(this.radioButton3); + this.groupBox3.Controls.Add(this.radioButton9); this.groupBox3.Controls.Add(this.label24); + this.groupBox3.Controls.Add(this.radioButton1); + this.groupBox3.Controls.Add(this.radioButton8); this.groupBox3.Controls.Add(this.label22); this.groupBox3.Controls.Add(this.label20); + this.groupBox3.Controls.Add(this.radioButton7); this.groupBox3.Controls.Add(this.label23); this.groupBox3.Controls.Add(this.label13); this.groupBox3.Controls.Add(this.label21); @@ -558,10 +544,10 @@ this.groupBox3.Controls.Add(this.textBox1); this.groupBox3.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.groupBox3.ForeColor = System.Drawing.Color.Black; - this.groupBox3.Location = new System.Drawing.Point(6, 5); + this.groupBox3.Location = new System.Drawing.Point(6, 113); this.groupBox3.Name = "groupBox3"; this.groupBox3.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.groupBox3.Size = new System.Drawing.Size(250, 323); + this.groupBox3.Size = new System.Drawing.Size(250, 389); this.groupBox3.TabIndex = 44; this.groupBox3.TabStop = false; this.groupBox3.Text = "绛涢�夎缃�"; @@ -574,9 +560,9 @@ this.label24.ForeColor = System.Drawing.Color.Black; this.label24.Location = new System.Drawing.Point(14, 267); this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(65, 20); + this.label24.Size = new System.Drawing.Size(105, 20); this.label24.TabIndex = 51; - this.label24.Text = "浣i噾姣旓細"; + this.label24.Text = "浣i噾姣旓紙%锛夛細"; this.label24.Click += new System.EventHandler(this.label24_Click); // // label22 @@ -586,9 +572,9 @@ this.label22.ForeColor = System.Drawing.Color.Black; this.label22.Location = new System.Drawing.Point(14, 218); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(67, 20); + this.label22.Size = new System.Drawing.Size(109, 20); this.label22.TabIndex = 51; - this.label22.Text = "浣� 閲戯細"; + this.label22.Text = "浣� 閲戯紙鍏冿級锛�"; // // label20 // @@ -641,9 +627,9 @@ this.label12.ForeColor = System.Drawing.Color.Black; this.label12.Location = new System.Drawing.Point(14, 120); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(65, 20); + this.label12.Size = new System.Drawing.Size(107, 20); this.label12.TabIndex = 47; - this.label12.Text = "鍒版墜浠凤細"; + this.label12.Text = "鍒版墜浠凤紙鍏冿級锛�"; this.label12.Click += new System.EventHandler(this.label12_Click); // // label14 @@ -665,9 +651,9 @@ this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(14, 71); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(79, 20); + this.label7.Size = new System.Drawing.Size(121, 20); this.label7.TabIndex = 43; - this.label7.Text = "棣栧崟绀奸噾锛�"; + this.label7.Text = "棣栧崟绀奸噾锛堝厓锛夛細"; this.label7.Click += new System.EventHandler(this.label7_Click); // // label10 @@ -688,9 +674,9 @@ this.label5.ForeColor = System.Drawing.Color.Black; this.label5.Location = new System.Drawing.Point(14, 22); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(65, 20); + this.label5.Size = new System.Drawing.Size(107, 20); this.label5.TabIndex = 3; - this.label5.Text = "鍒稿悗浠凤細"; + this.label5.Text = "鍒稿悗浠凤紙鍏冿級锛�"; // // label6 // @@ -705,122 +691,326 @@ // // textBox12 // + this.textBox12.DecLength = 2; this.textBox12.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox12.InputType = HZH_Controls.TextInputType.Number; this.textBox12.Location = new System.Drawing.Point(138, 291); + this.textBox12.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox12.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox12.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox12.Name = "textBox12"; + this.textBox12.OldText = null; + this.textBox12.PromptColor = System.Drawing.Color.Gray; + this.textBox12.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox12.PromptText = ""; + this.textBox12.RegexPattern = ""; this.textBox12.Size = new System.Drawing.Size(100, 23); this.textBox12.TabIndex = 1; - this.textBox12.Text = "50.00%"; this.textBox12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox11 // + this.textBox11.DecLength = 2; this.textBox11.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox11.InputType = HZH_Controls.TextInputType.Number; this.textBox11.Location = new System.Drawing.Point(14, 291); + this.textBox11.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox11.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox11.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox11.Name = "textBox11"; + this.textBox11.OldText = null; + this.textBox11.PromptColor = System.Drawing.Color.Gray; + this.textBox11.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox11.PromptText = ""; + this.textBox11.RegexPattern = ""; this.textBox11.Size = new System.Drawing.Size(100, 23); this.textBox11.TabIndex = 1; - this.textBox11.Text = "0.01%"; this.textBox11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox10 // + this.textBox10.DecLength = 2; this.textBox10.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox10.InputType = HZH_Controls.TextInputType.Number; this.textBox10.Location = new System.Drawing.Point(138, 241); + this.textBox10.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox10.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox10.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox10.Name = "textBox10"; + this.textBox10.OldText = null; + this.textBox10.PromptColor = System.Drawing.Color.Gray; + this.textBox10.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox10.PromptText = ""; + this.textBox10.RegexPattern = ""; this.textBox10.Size = new System.Drawing.Size(100, 23); this.textBox10.TabIndex = 1; - this.textBox10.Text = "锟�1.00"; this.textBox10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox9 // + this.textBox9.DecLength = 2; this.textBox9.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox9.InputType = HZH_Controls.TextInputType.Number; this.textBox9.Location = new System.Drawing.Point(14, 241); + this.textBox9.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox9.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox9.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox9.Name = "textBox9"; + this.textBox9.OldText = null; + this.textBox9.PromptColor = System.Drawing.Color.Gray; + this.textBox9.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox9.PromptText = ""; + this.textBox9.RegexPattern = ""; this.textBox9.Size = new System.Drawing.Size(100, 23); this.textBox9.TabIndex = 1; - this.textBox9.Text = "锟�0.00"; this.textBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox8 // + this.textBox8.DecLength = 2; this.textBox8.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox8.InputType = HZH_Controls.TextInputType.Integer; this.textBox8.Location = new System.Drawing.Point(138, 193); + this.textBox8.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox8.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox8.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox8.Name = "textBox8"; + this.textBox8.OldText = null; + this.textBox8.PromptColor = System.Drawing.Color.Gray; + this.textBox8.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox8.PromptText = ""; + this.textBox8.RegexPattern = ""; this.textBox8.Size = new System.Drawing.Size(100, 23); this.textBox8.TabIndex = 1; - this.textBox8.Text = "10000"; this.textBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox7 // + this.textBox7.DecLength = 2; this.textBox7.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox7.InputType = HZH_Controls.TextInputType.Integer; this.textBox7.Location = new System.Drawing.Point(14, 193); + this.textBox7.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox7.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox7.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox7.Name = "textBox7"; + this.textBox7.OldText = null; + this.textBox7.PromptColor = System.Drawing.Color.Gray; + this.textBox7.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox7.PromptText = ""; + this.textBox7.RegexPattern = ""; this.textBox7.Size = new System.Drawing.Size(100, 23); this.textBox7.TabIndex = 1; - this.textBox7.Text = "10"; this.textBox7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox6 // + this.textBox6.DecLength = 2; this.textBox6.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox6.InputType = HZH_Controls.TextInputType.Number; this.textBox6.Location = new System.Drawing.Point(138, 141); + this.textBox6.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox6.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox6.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox6.Name = "textBox6"; + this.textBox6.OldText = null; + this.textBox6.PromptColor = System.Drawing.Color.Gray; + this.textBox6.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox6.PromptText = ""; + this.textBox6.RegexPattern = ""; this.textBox6.Size = new System.Drawing.Size(100, 23); this.textBox6.TabIndex = 1; - this.textBox6.Text = "锟�1.00"; this.textBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox5 // + this.textBox5.DecLength = 2; this.textBox5.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox5.InputType = HZH_Controls.TextInputType.Number; this.textBox5.Location = new System.Drawing.Point(14, 141); + this.textBox5.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox5.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox5.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox5.Name = "textBox5"; + this.textBox5.OldText = null; + this.textBox5.PromptColor = System.Drawing.Color.Gray; + this.textBox5.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox5.PromptText = ""; + this.textBox5.RegexPattern = ""; this.textBox5.Size = new System.Drawing.Size(100, 23); this.textBox5.TabIndex = 1; - this.textBox5.Text = "锟�0.00"; this.textBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox4 // + this.textBox4.DecLength = 2; this.textBox4.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox4.InputType = HZH_Controls.TextInputType.Number; this.textBox4.Location = new System.Drawing.Point(138, 92); + this.textBox4.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox4.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox4.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox4.Name = "textBox4"; + this.textBox4.OldText = null; + this.textBox4.PromptColor = System.Drawing.Color.Gray; + this.textBox4.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox4.PromptText = ""; + this.textBox4.RegexPattern = ""; this.textBox4.Size = new System.Drawing.Size(100, 23); this.textBox4.TabIndex = 1; - this.textBox4.Text = "锟�1.00"; this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox3 // + this.textBox3.DecLength = 2; this.textBox3.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox3.InputType = HZH_Controls.TextInputType.Number; this.textBox3.Location = new System.Drawing.Point(14, 92); + this.textBox3.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox3.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox3.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox3.Name = "textBox3"; + this.textBox3.OldText = null; + this.textBox3.PromptColor = System.Drawing.Color.Gray; + this.textBox3.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox3.PromptText = ""; + this.textBox3.RegexPattern = ""; this.textBox3.Size = new System.Drawing.Size(100, 23); this.textBox3.TabIndex = 1; - this.textBox3.Text = "锟�0.00"; this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox2 // + this.textBox2.DecLength = 2; this.textBox2.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox2.InputType = HZH_Controls.TextInputType.Number; this.textBox2.Location = new System.Drawing.Point(138, 45); + this.textBox2.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox2.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox2.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox2.Name = "textBox2"; + this.textBox2.OldText = null; + this.textBox2.PromptColor = System.Drawing.Color.Gray; + this.textBox2.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox2.PromptText = "鏈�澶у��"; + this.textBox2.RegexPattern = ""; this.textBox2.Size = new System.Drawing.Size(100, 23); this.textBox2.TabIndex = 1; - this.textBox2.Text = "锟�1.00"; this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textBox1 // + this.textBox1.DecLength = 2; this.textBox1.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.textBox1.InputType = HZH_Controls.TextInputType.Number; this.textBox1.Location = new System.Drawing.Point(14, 45); + this.textBox1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.textBox1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.textBox1.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.textBox1.Name = "textBox1"; + this.textBox1.OldText = null; + this.textBox1.PromptColor = System.Drawing.Color.Gray; + this.textBox1.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.textBox1.PromptText = "鏈�灏忓��"; + this.textBox1.RegexPattern = ""; this.textBox1.Size = new System.Drawing.Size(100, 23); this.textBox1.TabIndex = 1; - this.textBox1.Text = "锟�0.00"; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // groupBox7 @@ -928,29 +1118,15 @@ // // groupBox2 // + this.groupBox2.Controls.Add(this.ucHorizontalList1); + this.groupBox2.Controls.Add(this.ucTextBoxEx1); this.groupBox2.Controls.Add(this.dataGridView1); this.groupBox2.Controls.Add(this.button14); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.label3); - this.groupBox2.Controls.Add(this.textBox15); this.groupBox2.Controls.Add(this.button7); - this.groupBox2.Controls.Add(this.label34); - this.groupBox2.Controls.Add(this.label33); - this.groupBox2.Controls.Add(this.label32); - this.groupBox2.Controls.Add(this.label31); - this.groupBox2.Controls.Add(this.label30); - this.groupBox2.Controls.Add(this.label29); - this.groupBox2.Controls.Add(this.label28); - this.groupBox2.Controls.Add(this.label27); - this.groupBox2.Controls.Add(this.label26); - this.groupBox2.Controls.Add(this.label25); - this.groupBox2.Controls.Add(this.label18); - this.groupBox2.Controls.Add(this.label17); - this.groupBox2.Controls.Add(this.label16); - this.groupBox2.Controls.Add(this.label15); this.groupBox2.Controls.Add(this.label36); this.groupBox2.Controls.Add(this.label35); - this.groupBox2.Controls.Add(this.label11); this.groupBox2.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.groupBox2.Location = new System.Drawing.Point(262, 5); this.groupBox2.Name = "groupBox2"; @@ -958,9 +1134,76 @@ this.groupBox2.TabIndex = 41; this.groupBox2.TabStop = false; // + // ucHorizontalList1 + // + this.ucHorizontalList1.DataSource = null; + this.ucHorizontalList1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.ucHorizontalList1.IsAutoSelectFirst = true; + this.ucHorizontalList1.Location = new System.Drawing.Point(21, 242); + this.ucHorizontalList1.Name = "ucHorizontalList1"; + this.ucHorizontalList1.SelectedColor = System.Drawing.Color.Blue; + this.ucHorizontalList1.SelectedItem = null; + this.ucHorizontalList1.Size = new System.Drawing.Size(879, 57); + this.ucHorizontalList1.TabIndex = 46; + this.ucHorizontalList1.TabStop = false; + // + // ucTextBoxEx1 + // + this.ucTextBoxEx1.BackColor = System.Drawing.Color.White; + this.ucTextBoxEx1.ConerRadius = 5; + this.ucTextBoxEx1.Cursor = System.Windows.Forms.Cursors.IBeam; + this.ucTextBoxEx1.DecLength = 2; + this.ucTextBoxEx1.FillColor = System.Drawing.Color.Empty; + this.ucTextBoxEx1.FocusBorderColor = System.Drawing.SystemColors.Control; + this.ucTextBoxEx1.Font = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.InputText = ""; + this.ucTextBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.ucTextBoxEx1.IsFocusColor = true; + this.ucTextBoxEx1.IsRadius = true; + this.ucTextBoxEx1.IsShowClearBtn = true; + this.ucTextBoxEx1.IsShowKeyboard = false; + this.ucTextBoxEx1.IsShowRect = true; + this.ucTextBoxEx1.IsShowSearchBtn = false; + this.ucTextBoxEx1.KeyBoardType = HZH_Controls.Controls.KeyBoardType.UCKeyBorderAll_EN; + this.ucTextBoxEx1.Location = new System.Drawing.Point(15, 15); + this.ucTextBoxEx1.Margin = new System.Windows.Forms.Padding(0); + this.ucTextBoxEx1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.ucTextBoxEx1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.ucTextBoxEx1.Name = "ucTextBoxEx1"; + this.ucTextBoxEx1.Padding = new System.Windows.Forms.Padding(5); + this.ucTextBoxEx1.PromptColor = System.Drawing.Color.Gray; + this.ucTextBoxEx1.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.PromptText = "璇疯緭鍏ュ晢鍝佸叧閿瓧"; + this.ucTextBoxEx1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220))))); + this.ucTextBoxEx1.RectWidth = 0; + this.ucTextBoxEx1.RegexPattern = ""; + this.ucTextBoxEx1.Size = new System.Drawing.Size(213, 36); + this.ucTextBoxEx1.TabIndex = 45; + // // dataGridView1 // + this.dataGridView1.AllowUserToResizeColumns = false; + this.dataGridView1.AllowUserToResizeRows = false; + this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight; this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.dataGridView1.ColumnHeadersHeight = 28; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.搴忓彿, this.鍟嗗搧鏍囬, @@ -970,67 +1213,89 @@ this.鍒版墜浠�, this.浣i噾, this.浣i噾姣�, - this.鎿嶄綔}); + this.鎿嶄綔1, + this.鎿嶄綔2}); this.dataGridView1.GridColor = System.Drawing.SystemColors.ButtonFace; this.dataGridView1.Location = new System.Drawing.Point(15, 76); this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowHeadersVisible = false; + dataGridViewCellStyle2.Font = new System.Drawing.Font("寰蒋闆呴粦", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle2; + this.dataGridView1.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.Size = new System.Drawing.Size(879, 412); this.dataGridView1.TabIndex = 44; - //绂佹缂╂斁琛屼笌鍒� - this.dataGridView1.AllowUserToResizeColumns = false; - this.dataGridView1.AllowUserToResizeRows = false; - - // // 搴忓彿 // this.搴忓彿.HeaderText = "搴忓彿"; this.搴忓彿.Name = "搴忓彿"; + this.搴忓彿.ReadOnly = true; // // 鍟嗗搧鏍囬 // this.鍟嗗搧鏍囬.HeaderText = "鍟嗗搧鏍囬"; this.鍟嗗搧鏍囬.Name = "鍟嗗搧鏍囬"; + this.鍟嗗搧鏍囬.ReadOnly = true; // // 鍘熶环 // this.鍘熶环.HeaderText = "鍘熶环"; this.鍘熶环.Name = "鍘熶环"; + this.鍘熶环.ReadOnly = true; // // 鍒稿悗浠� // this.鍒稿悗浠�.HeaderText = "鍒稿悗浠�"; this.鍒稿悗浠�.Name = "鍒稿悗浠�"; + this.鍒稿悗浠�.ReadOnly = true; // // 棣栧崟绀奸噾 // this.棣栧崟绀奸噾.HeaderText = "棣栧崟绀奸噾"; this.棣栧崟绀奸噾.Name = "棣栧崟绀奸噾"; + this.棣栧崟绀奸噾.ReadOnly = true; // // 鍒版墜浠� // this.鍒版墜浠�.HeaderText = "鍒版墜浠�"; this.鍒版墜浠�.Name = "鍒版墜浠�"; + this.鍒版墜浠�.ReadOnly = true; // // 浣i噾 // this.浣i噾.HeaderText = "浣i噾"; this.浣i噾.Name = "浣i噾"; + this.浣i噾.ReadOnly = true; // // 浣i噾姣� // this.浣i噾姣�.HeaderText = "浣i噾姣�"; this.浣i噾姣�.Name = "浣i噾姣�"; + this.浣i噾姣�.ReadOnly = true; // - // 鎿嶄綔 + // 鎿嶄綔1 // - this.鎿嶄綔.HeaderText = "鎿嶄綔"; - this.鎿嶄綔.Name = "鎿嶄綔"; + this.鎿嶄綔1.HeaderText = ""; + this.鎿嶄綔1.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline; + this.鎿嶄綔1.Name = "鎿嶄綔1"; + this.鎿嶄綔1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.鎿嶄綔1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.鎿嶄綔1.Text = "鍔犲叆寮曞崟搴�"; + // + // 鎿嶄綔2 + // + this.鎿嶄綔2.HeaderText = ""; + this.鎿嶄綔2.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline; + this.鎿嶄綔2.Name = "鎿嶄綔2"; + this.鎿嶄綔2.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.鎿嶄綔2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; // // button14 // this.button14.BackColor = System.Drawing.SystemColors.Window; + this.button14.FlatAppearance.BorderSize = 0; + this.button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button14.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); this.button14.ForeColor = System.Drawing.Color.Black; this.button14.Location = new System.Drawing.Point(819, 494); @@ -1064,195 +1329,19 @@ this.label3.Text = "浠婃棩鍏遍噰闆嗐��6銆戞"; this.label3.Click += new System.EventHandler(this.label3_Click); // - // textBox15 - // - this.textBox15.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.textBox15.Location = new System.Drawing.Point(11, 18); - this.textBox15.Name = "textBox15"; - this.textBox15.Size = new System.Drawing.Size(174, 25); - this.textBox15.TabIndex = 43; - this.textBox15.Text = "璇疯緭鍏ュ晢鍝佸叧閿瓧"; - this.textBox15.TextChanged += new System.EventHandler(this.textBox15_TextChanged); - // // button7 // this.button7.BackColor = System.Drawing.SystemColors.Window; + this.button7.FlatAppearance.BorderSize = 0; + this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button7.ForeColor = System.Drawing.Color.Black; - this.button7.Location = new System.Drawing.Point(191, 13); + this.button7.Location = new System.Drawing.Point(241, 15); this.button7.Name = "button7"; this.button7.Size = new System.Drawing.Size(47, 35); this.button7.TabIndex = 1; this.button7.Text = "鎼滅储"; this.button7.UseVisualStyleBackColor = false; this.button7.Click += new System.EventHandler(this.button5_Click_2); - // - // label34 - // - this.label34.AutoSize = true; - this.label34.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label34.ForeColor = System.Drawing.Color.Black; - this.label34.Location = new System.Drawing.Point(843, 53); - this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(45, 20); - this.label34.TabIndex = 3; - this.label34.Text = "鍒嗙被1"; - this.label34.Click += new System.EventHandler(this.label11_Click); - // - // label33 - // - this.label33.AutoSize = true; - this.label33.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label33.ForeColor = System.Drawing.Color.Black; - this.label33.Location = new System.Drawing.Point(783, 53); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(45, 20); - this.label33.TabIndex = 3; - this.label33.Text = "鍒嗙被1"; - this.label33.Click += new System.EventHandler(this.label11_Click); - // - // label32 - // - this.label32.AutoSize = true; - this.label32.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label32.ForeColor = System.Drawing.Color.Black; - this.label32.Location = new System.Drawing.Point(723, 53); - this.label32.Name = "label32"; - this.label32.Size = new System.Drawing.Size(45, 20); - this.label32.TabIndex = 3; - this.label32.Text = "鍒嗙被1"; - this.label32.Click += new System.EventHandler(this.label11_Click); - // - // label31 - // - this.label31.AutoSize = true; - this.label31.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label31.ForeColor = System.Drawing.Color.Black; - this.label31.Location = new System.Drawing.Point(663, 53); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(45, 20); - this.label31.TabIndex = 3; - this.label31.Text = "鍒嗙被1"; - this.label31.Click += new System.EventHandler(this.label11_Click); - // - // label30 - // - this.label30.AutoSize = true; - this.label30.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label30.ForeColor = System.Drawing.Color.Black; - this.label30.Location = new System.Drawing.Point(603, 53); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(45, 20); - this.label30.TabIndex = 3; - this.label30.Text = "鍒嗙被1"; - this.label30.Click += new System.EventHandler(this.label11_Click); - // - // label29 - // - this.label29.AutoSize = true; - this.label29.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label29.ForeColor = System.Drawing.Color.Black; - this.label29.Location = new System.Drawing.Point(543, 53); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(45, 20); - this.label29.TabIndex = 3; - this.label29.Text = "鍒嗙被1"; - this.label29.Click += new System.EventHandler(this.label11_Click); - // - // label28 - // - this.label28.AutoSize = true; - this.label28.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label28.ForeColor = System.Drawing.Color.Black; - this.label28.Location = new System.Drawing.Point(483, 53); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(45, 20); - this.label28.TabIndex = 3; - this.label28.Text = "鍒嗙被1"; - this.label28.Click += new System.EventHandler(this.label11_Click); - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label27.ForeColor = System.Drawing.Color.Black; - this.label27.Location = new System.Drawing.Point(423, 53); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(45, 20); - this.label27.TabIndex = 3; - this.label27.Text = "鍒嗙被1"; - this.label27.Click += new System.EventHandler(this.label11_Click); - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label26.ForeColor = System.Drawing.Color.Black; - this.label26.Location = new System.Drawing.Point(363, 53); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(45, 20); - this.label26.TabIndex = 3; - this.label26.Text = "鍒嗙被1"; - this.label26.Click += new System.EventHandler(this.label11_Click); - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label25.ForeColor = System.Drawing.Color.Black; - this.label25.Location = new System.Drawing.Point(303, 53); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(45, 20); - this.label25.TabIndex = 3; - this.label25.Text = "鍒嗙被1"; - this.label25.Click += new System.EventHandler(this.label11_Click); - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label18.ForeColor = System.Drawing.Color.Black; - this.label18.Location = new System.Drawing.Point(243, 53); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(45, 20); - this.label18.TabIndex = 3; - this.label18.Text = "鍒嗙被1"; - this.label18.Click += new System.EventHandler(this.label11_Click); - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label17.ForeColor = System.Drawing.Color.Black; - this.label17.Location = new System.Drawing.Point(183, 53); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(45, 20); - this.label17.TabIndex = 3; - this.label17.Text = "鍒嗙被1"; - this.label17.Click += new System.EventHandler(this.label11_Click); - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label16.ForeColor = System.Drawing.Color.Black; - this.label16.Location = new System.Drawing.Point(123, 53); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(45, 20); - this.label16.TabIndex = 3; - this.label16.Text = "鍒嗙被1"; - this.label16.Click += new System.EventHandler(this.label11_Click); - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label15.ForeColor = System.Drawing.Color.Black; - this.label15.Location = new System.Drawing.Point(63, 53); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(45, 20); - this.label15.TabIndex = 3; - this.label15.Text = "鍒嗙被1"; - this.label15.Click += new System.EventHandler(this.label11_Click); // // label36 // @@ -1278,24 +1367,14 @@ this.label35.Text = "涓婁竴椤�"; this.label35.Click += new System.EventHandler(this.label11_Click); // - // label11 - // - this.label11.AutoSize = true; - this.label11.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); - this.label11.ForeColor = System.Drawing.Color.Black; - this.label11.Location = new System.Drawing.Point(11, 53); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(37, 20); - this.label11.TabIndex = 3; - this.label11.Text = "鍏ㄩ儴"; - this.label11.Click += new System.EventHandler(this.label11_Click); - // // button1 // this.button1.BackColor = System.Drawing.SystemColors.Window; + this.button1.FlatAppearance.BorderSize = 0; + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); this.button1.ForeColor = System.Drawing.Color.Black; - this.button1.Location = new System.Drawing.Point(97, 529); + this.button1.Location = new System.Drawing.Point(97, 619); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(159, 40); this.button1.TabIndex = 1; @@ -1310,6 +1389,20 @@ this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(1180, 756); this.tabControl1.TabIndex = 6; + // + // button10 + // + this.button10.BackColor = System.Drawing.SystemColors.Window; + this.button10.FlatAppearance.BorderSize = 0; + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button10.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F, System.Drawing.FontStyle.Bold); + this.button10.ForeColor = System.Drawing.Color.Black; + this.button10.Location = new System.Drawing.Point(6, 15); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(250, 40); + this.button10.TabIndex = 45; + this.button10.Text = "娣樺疂鎺堟潈鐧诲綍"; + this.button10.UseVisualStyleBackColor = false; // // Main // @@ -1335,8 +1428,6 @@ this.groupBox4.PerformLayout(); this.groupBox5.ResumeLayout(false); this.groupBox5.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.groupBox7.ResumeLayout(false); @@ -1362,13 +1453,12 @@ private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.GroupBox groupBox4; - private System.Windows.Forms.TextBox textBox14; + private TextBoxEx textBox14; private System.Windows.Forms.GroupBox groupBox5; private System.Windows.Forms.CheckBox checkBox3; private System.Windows.Forms.CheckBox checkBox2; private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.CheckBox checkBox4; - private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.RadioButton radioButton9; private System.Windows.Forms.RadioButton radioButton2; private System.Windows.Forms.RadioButton radioButton8; @@ -1390,15 +1480,14 @@ private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label6; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox1; + private TextBoxEx textBox2; + private TextBoxEx textBox1; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.Button button6; private System.Windows.Forms.GroupBox groupBox7; private System.Windows.Forms.GroupBox groupBox8; private System.Windows.Forms.Label label3; - private System.Windows.Forms.TextBox textBox15; private System.Windows.Forms.Button button7; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button button8; @@ -1407,37 +1496,21 @@ private System.Windows.Forms.Button button11; private System.Windows.Forms.Button button14; private System.Windows.Forms.Button button13; - private System.Windows.Forms.Label label11; private System.Windows.Forms.BindingSource bindingSource1; - private System.Windows.Forms.TextBox textBox12; - private System.Windows.Forms.TextBox textBox11; - private System.Windows.Forms.TextBox textBox10; - private System.Windows.Forms.TextBox textBox9; - private System.Windows.Forms.TextBox textBox8; - private System.Windows.Forms.TextBox textBox7; - private System.Windows.Forms.TextBox textBox6; - private System.Windows.Forms.TextBox textBox5; - private System.Windows.Forms.TextBox textBox4; - private System.Windows.Forms.TextBox textBox3; - private System.Windows.Forms.Label label15; + private TextBoxEx textBox12; + private TextBoxEx textBox11; + private TextBoxEx textBox10; + private TextBoxEx textBox9; + private TextBoxEx textBox8; + private TextBoxEx textBox7; + private TextBoxEx textBox6; + private TextBoxEx textBox5; + private TextBoxEx textBox4; + private TextBoxEx textBox3; private System.Windows.Forms.Label label39; - private System.Windows.Forms.Label label34; - private System.Windows.Forms.Label label33; - private System.Windows.Forms.Label label32; - private System.Windows.Forms.Label label31; - private System.Windows.Forms.Label label30; - private System.Windows.Forms.Label label29; - private System.Windows.Forms.Label label28; - private System.Windows.Forms.Label label27; - private System.Windows.Forms.Label label26; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.Label label17; - private System.Windows.Forms.Label label16; private System.Windows.Forms.Label label36; private System.Windows.Forms.Label label35; private System.Windows.Forms.Button button15; - private System.Windows.Forms.Label label51; private System.Windows.Forms.PictureBox pictureBox2; private System.Windows.Forms.PictureBox pictureBox1; private System.Windows.Forms.Label label9; @@ -1450,15 +1523,19 @@ private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label37; private System.Windows.Forms.DataGridView dataGridView1; - private System.Windows.Forms.DataGridViewTextBoxColumn 搴忓彿; - private System.Windows.Forms.DataGridViewTextBoxColumn 鍟嗗搧鏍囬; - private System.Windows.Forms.DataGridViewTextBoxColumn 鍘熶环; - private System.Windows.Forms.DataGridViewTextBoxColumn 鍒稿悗浠�; - private System.Windows.Forms.DataGridViewTextBoxColumn 棣栧崟绀奸噾; - private System.Windows.Forms.DataGridViewTextBoxColumn 鍒版墜浠�; - private System.Windows.Forms.DataGridViewTextBoxColumn 浣i噾; - private System.Windows.Forms.DataGridViewTextBoxColumn 浣i噾姣�; - private System.Windows.Forms.DataGridViewTextBoxColumn 鎿嶄綔; + private DataGridViewTextBoxColumn 搴忓彿; + private DataGridViewTextBoxColumn 鍟嗗搧鏍囬; + private DataGridViewTextBoxColumn 鍘熶环; + private DataGridViewTextBoxColumn 鍒稿悗浠�; + private DataGridViewTextBoxColumn 棣栧崟绀奸噾; + private DataGridViewTextBoxColumn 鍒版墜浠�; + private DataGridViewTextBoxColumn 浣i噾; + private DataGridViewTextBoxColumn 浣i噾姣�; + private DataGridViewLinkColumn 鎿嶄綔1; + private DataGridViewLinkColumn 鎿嶄綔2; + private HZH_Controls.Controls.UCTextBoxEx ucTextBoxEx1; + private HZH_Controls.Controls.UCHorizontalList ucHorizontalList1; + private Button button10; } } diff --git a/WindowsFormsApp1/Main.cs b/WindowsFormsApp1/Main.cs index e8d932a..436e801 100644 --- a/WindowsFormsApp1/Main.cs +++ b/WindowsFormsApp1/Main.cs @@ -1,13 +1,16 @@ -锘縰sing System; +锘縰sing HZH_Controls.Controls; +using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; +using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; using WindowsFormsApp1.entity; +using WindowsFormsApp1.utils.ui; namespace WindowsFormsApp1 { @@ -17,11 +20,37 @@ { InitializeComponent(); InitSkin(); + InitDataGridView(); InitData(); + SetClassData(); + initTextBox(); + } + + private void setTextBoxPrompt(TextBoxEx ex,String text) { + ex.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + ex.PromptText = text; + } + + private void initTextBox() { + setTextBoxPrompt(this.textBox1,"鏈�灏忓��"); + setTextBoxPrompt(this.textBox2, "鏈�澶у��"); + setTextBoxPrompt(this.textBox3, "鏈�灏忓��"); + setTextBoxPrompt(this.textBox4, "鏈�澶у��"); + setTextBoxPrompt(this.textBox5, "鏈�灏忓��"); + setTextBoxPrompt(this.textBox6, "鏈�澶у��"); + setTextBoxPrompt(this.textBox7, "鏈�灏忓��"); + setTextBoxPrompt(this.textBox8, "鏈�澶у��"); + setTextBoxPrompt(this.textBox9, "鏈�灏忓��"); + setTextBoxPrompt(this.textBox10, "鏈�澶у��"); + setTextBoxPrompt(this.textBox11, "鏈�灏忓��"); + setTextBoxPrompt(this.textBox12, "鏈�澶у��"); + + } private void SetTableData(List<FirstOrderSunInfo> infoList) { this.dataGridView1.Rows.Clear(); + foreach (FirstOrderSunInfo info in infoList) { int index = this.dataGridView1.Rows.Add(); this.dataGridView1.Rows[index].Cells[0].Value = "1"; @@ -32,13 +61,24 @@ this.dataGridView1.Rows[index].Cells[5].Value = info.actualPrice; this.dataGridView1.Rows[index].Cells[6].Value = info.commission; this.dataGridView1.Rows[index].Cells[7].Value = info.commissionRate; + this.dataGridView1.Rows[index].Cells[8].Value = "鍔犲叆寮曞崟搴�"; + this.dataGridView1.Rows[index].Cells[9].Value = "鍔犲叆瀹炴媿搴�"; } + // DataGridViewHelper helper = new DataGridViewHelper(this.dataGridView1); + // helper.Headers.Add(new DataGridViewHelper.TopHeader(8, 2, "鎿嶄綔")); + } - foreach (DataGridViewColumn column in dataGridView1.Columns) - { - column.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells; - } - + private void InitDataGridView() { + this.dataGridView1.Columns[0].Width=40; + this.dataGridView1.Columns[1].Width = 280; + this.dataGridView1.Columns[2].Width = 70; + this.dataGridView1.Columns[3].Width = 70; + this.dataGridView1.Columns[4].Width = 75; + this.dataGridView1.Columns[5].Width = 70; + this.dataGridView1.Columns[6].Width = 55; + this.dataGridView1.Columns[7].Width = 65; + this.dataGridView1.Columns[8].Width = 75; + this.dataGridView1.Columns[9].Width = 75; } //鍒濆鍖栫毊鑲ら鑹� @@ -51,7 +91,7 @@ private void InitData() { List<FirstOrderSunInfo> infoList = new List<FirstOrderSunInfo>(); - for (int i = 0; i < 10; i++) + for (int i = 0; i < 20; i++) { FirstOrderSunInfo info = new FirstOrderSunInfo(); info.actualPrice = "12.00"; @@ -67,6 +107,15 @@ infoList.Add(info); } SetTableData(infoList); + } + + private void SetClassData() { + List<KeyValuePair<string, string>> lstHL = new List<KeyValuePair<string, string>>(); + for (int i = 0; i < 30; i++) + { + lstHL.Add(new KeyValuePair<string, string>(i.ToString(), "閫夐」" + i)); + } + this.ucHorizontalList1.DataSource = lstHL; } @@ -233,5 +282,16 @@ { } + + /**////鏄惁绗﹀悎鎸囧畾鐨勬鍒欒〃杈惧紡 + static public bool Validate(string str, string regexStr) + { + Regex regex = new Regex(regexStr); + Match match = regex.Match(str); + if (match.Success) + return true; + else + return false; + } } } diff --git a/WindowsFormsApp1/Main.resx b/WindowsFormsApp1/Main.resx index a75fd81..05a3657 100644 --- a/WindowsFormsApp1/Main.resx +++ b/WindowsFormsApp1/Main.resx @@ -141,13 +141,16 @@ <metadata name="浣i噾姣�.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> - <metadata name="鎿嶄綔.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <metadata name="鎿嶄綔1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="鎿嶄綔2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>True</value> </metadata> <metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>17, 17</value> </metadata> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> - <value>25</value> + <value>46</value> </metadata> </root> \ No newline at end of file diff --git a/WindowsFormsApp1/Test.Designer.cs b/WindowsFormsApp1/Test.Designer.cs index d59689e..5ca9558 100644 --- a/WindowsFormsApp1/Test.Designer.cs +++ b/WindowsFormsApp1/Test.Designer.cs @@ -37,7 +37,8 @@ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Test)); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label = new HZH_Controls.Controls.UCSplitLabel(); - this.ucDataGridView1 = new HZH_Controls.Controls.UCDataGridView(); + this.textBoxEx1 = new HZH_Controls.Controls.TextBoxEx(); + this.ucTextBoxEx1 = new HZH_Controls.Controls.UCTextBoxEx(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // @@ -63,30 +64,79 @@ this.label.TabIndex = 0; this.label.Text = "鍒嗗壊绾�"; // - // ucDataGridView1 + // textBoxEx1 // - this.ucDataGridView1.BackColor = System.Drawing.Color.White; - this.ucDataGridView1.Columns = null; - this.ucDataGridView1.DataSource = null; - this.ucDataGridView1.HeadFont = new System.Drawing.Font("寰蒋闆呴粦", 12F); - this.ucDataGridView1.HeadHeight = 40; - this.ucDataGridView1.HeadPadingLeft = 0; - this.ucDataGridView1.HeadTextColor = System.Drawing.Color.Black; - this.ucDataGridView1.IsShowCheckBox = false; - this.ucDataGridView1.IsShowHead = true; - this.ucDataGridView1.Location = new System.Drawing.Point(12, 162); - this.ucDataGridView1.Name = "ucDataGridView1"; - this.ucDataGridView1.RowHeight = 40; - this.ucDataGridView1.RowType = typeof(HZH_Controls.Controls.UCDataGridViewRow); - this.ucDataGridView1.Size = new System.Drawing.Size(657, 276); - this.ucDataGridView1.TabIndex = 1; + this.textBoxEx1.DecLength = 2; + this.textBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.textBoxEx1.Location = new System.Drawing.Point(240, 250); + 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(100, 21); + this.textBoxEx1.TabIndex = 1; + // + // ucTextBoxEx1 + // + this.ucTextBoxEx1.BackColor = System.Drawing.Color.Transparent; + this.ucTextBoxEx1.ConerRadius = 5; + this.ucTextBoxEx1.Cursor = System.Windows.Forms.Cursors.IBeam; + this.ucTextBoxEx1.DecLength = 2; + this.ucTextBoxEx1.FillColor = System.Drawing.Color.Empty; + this.ucTextBoxEx1.FocusBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(77)))), ((int)(((byte)(59))))); + this.ucTextBoxEx1.Font = new System.Drawing.Font("寰蒋闆呴粦", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.InputText = ""; + this.ucTextBoxEx1.InputType = HZH_Controls.TextInputType.NotControl; + this.ucTextBoxEx1.IsFocusColor = true; + this.ucTextBoxEx1.IsRadius = true; + this.ucTextBoxEx1.IsShowClearBtn = true; + this.ucTextBoxEx1.IsShowKeyboard = false; + this.ucTextBoxEx1.IsShowRect = true; + this.ucTextBoxEx1.IsShowSearchBtn = false; + this.ucTextBoxEx1.KeyBoardType = HZH_Controls.Controls.KeyBoardType.UCKeyBorderAll_EN; + this.ucTextBoxEx1.Location = new System.Drawing.Point(373, 188); + this.ucTextBoxEx1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.ucTextBoxEx1.MaxValue = new decimal(new int[] { + 1000000, + 0, + 0, + 0}); + this.ucTextBoxEx1.MinValue = new decimal(new int[] { + 1000000, + 0, + 0, + -2147483648}); + this.ucTextBoxEx1.Name = "ucTextBoxEx1"; + this.ucTextBoxEx1.Padding = new System.Windows.Forms.Padding(5); + this.ucTextBoxEx1.PromptColor = System.Drawing.Color.Gray; + this.ucTextBoxEx1.PromptFont = new System.Drawing.Font("寰蒋闆呴粦", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + this.ucTextBoxEx1.PromptText = "Ceshi 123123"; + this.ucTextBoxEx1.RectColor = System.Drawing.Color.White; + this.ucTextBoxEx1.RectWidth = 1; + this.ucTextBoxEx1.RegexPattern = ""; + this.ucTextBoxEx1.Size = new System.Drawing.Size(322, 42); + this.ucTextBoxEx1.TabIndex = 2; // // Test // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.ucDataGridView1); + this.Controls.Add(this.ucTextBoxEx1); + this.Controls.Add(this.textBoxEx1); this.Controls.Add(this.label); this.Controls.Add(this.pictureBox1); this.Name = "Test"; @@ -94,6 +144,7 @@ this.Load += new System.EventHandler(this.Test_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -101,6 +152,7 @@ private System.Windows.Forms.PictureBox pictureBox1; private UCSplitLabel label; - private UCDataGridView ucDataGridView1; + private TextBoxEx textBoxEx1; + private UCTextBoxEx ucTextBoxEx1; } } \ No newline at end of file diff --git a/WindowsFormsApp1/WindowsFormsApp1.csproj b/WindowsFormsApp1/WindowsFormsApp1.csproj index 102c3f1..497e943 100644 --- a/WindowsFormsApp1/WindowsFormsApp1.csproj +++ b/WindowsFormsApp1/WindowsFormsApp1.csproj @@ -19,6 +19,8 @@ <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <Deterministic>true</Deterministic> <IsWebBootstrapper>false</IsWebBootstrapper> + <NuGetPackageImportStamp> + </NuGetPackageImportStamp> <PublishUrl>publish\</PublishUrl> <Install>true</Install> <InstallFrom>Disk</InstallFrom> @@ -29,13 +31,11 @@ <UpdatePeriodically>false</UpdatePeriodically> <UpdateRequired>false</UpdateRequired> <MapFileExtensions>true</MapFileExtensions> - <ApplicationRevision>2</ApplicationRevision> + <ApplicationRevision>3</ApplicationRevision> <ApplicationVersion>1.0.0.%2a</ApplicationVersion> <UseApplicationTrust>false</UseApplicationTrust> <PublishWizardCompleted>true</PublishWizardCompleted> <BootstrapperEnabled>true</BootstrapperEnabled> - <NuGetPackageImportStamp> - </NuGetPackageImportStamp> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -235,6 +235,7 @@ <Compile Include="utils\SQLiteDataBaseUtil.cs" /> <Compile Include="utils\tb\TBLoginRequestHandler.cs" /> <Compile Include="utils\ui\ButtonFactory.cs" /> + <Compile Include="utils\ui\DataGridViewHelper.cs" /> <Compile Include="utils\ui\ImageUtil.cs" /> <Compile Include="utils\ui\LabelFactory.cs" /> <Compile Include="utils\ui\TextBoxFactory.cs" /> @@ -320,7 +321,9 @@ <Install>false</Install> </BootstrapperPackage> </ItemGroup> - <ItemGroup /> + <ItemGroup> + <Folder Include="utils\ui\sub\" /> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> diff --git a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.application b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.application index 56e2b09..97945e0 100644 --- a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.application +++ b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.application @@ -1,6 +1,6 @@ 锘�<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> - <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /> + <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /> <description asmv2:publisher="WindowsFormsApp1" asmv2:product="WindowsFormsApp1" xmlns="urn:schemas-microsoft-com:asm.v1" /> <deployment install="true" mapFileExtensions="true" /> <compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2"> @@ -8,13 +8,13 @@ </compatibleFrameworks> <dependency> <dependentAssembly dependencyType="install" codebase="WindowsFormsApp1.exe.manifest" size="8277"> - <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> + <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> <hash> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> - <dsig:DigestValue>zNwCIBf3GzM+b7vLJeSW1hqrCGx0xb6it/nNvxSn1rA=</dsig:DigestValue> + <dsig:DigestValue>XagfsvBVPypSlfH/O/ZfJHUccUXSh2AQ33OUesDy4tA=</dsig:DigestValue> </hash> </dependentAssembly> </dependency> diff --git a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe index ecb4104..fb47737 100644 --- a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe +++ b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe Binary files differ diff --git a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe.manifest b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe.manifest index 56e3615..9de887c 100644 --- a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe.manifest +++ b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.exe.manifest @@ -1,6 +1,6 @@ 锘�<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> - <asmv1:assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> + <asmv1:assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> <application /> <entryPoint> <assemblyIdentity name="WindowsFormsApp1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> @@ -126,14 +126,14 @@ </dependentAssembly> </dependency> <dependency> - <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WindowsFormsApp1.exe" size="159248"> + <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WindowsFormsApp1.exe" size="165392"> <assemblyIdentity name="WindowsFormsApp1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> <hash> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> - <dsig:DigestValue>YwB/95a9DMah4pYXSr6omirVbhRt0kDhsY3DJgUEgmM=</dsig:DigestValue> + <dsig:DigestValue>P+ZhV4a+LJdvjOjE46UdV+xeX5QS/vUy6L6DDS0rrW4=</dsig:DigestValue> </hash> </dependentAssembly> </dependency> diff --git a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.pdb b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.pdb index bcd4dfc..1da5df1 100644 --- a/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.pdb +++ b/WindowsFormsApp1/bin/x86/Debug/WindowsFormsApp1.pdb Binary files differ diff --git a/WindowsFormsApp1/bin/x86/Debug/app.publish/WindowsFormsApp1.exe b/WindowsFormsApp1/bin/x86/Debug/app.publish/WindowsFormsApp1.exe index f903344..1bfc5c0 100644 --- a/WindowsFormsApp1/bin/x86/Debug/app.publish/WindowsFormsApp1.exe +++ b/WindowsFormsApp1/bin/x86/Debug/app.publish/WindowsFormsApp1.exe Binary files differ diff --git a/WindowsFormsApp1/entity/FirstOrderSunInfo.cs b/WindowsFormsApp1/entity/FirstOrderSunInfo.cs deleted file mode 100644 index 32b2732..0000000 --- a/WindowsFormsApp1/entity/FirstOrderSunInfo.cs +++ /dev/null @@ -1,21 +0,0 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace WindowsFormsApp1.entity -{ - class FirstOrderSunInfo - { - public String title;//鏍囬 - public String zkPrice;//鍘熶环 - public String couponPrice;//鍒稿悗浠� - public String lijinAmount;//棣栧崟绀奸噾 - public String goodsId; - public String actualPrice; - public String commission; - public String commissionRate; - public List<String> imgList; - } -} diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.application b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.application index 56e2b09..97945e0 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.application +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.application @@ -1,6 +1,6 @@ 锘�<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> - <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /> + <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /> <description asmv2:publisher="WindowsFormsApp1" asmv2:product="WindowsFormsApp1" xmlns="urn:schemas-microsoft-com:asm.v1" /> <deployment install="true" mapFileExtensions="true" /> <compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2"> @@ -8,13 +8,13 @@ </compatibleFrameworks> <dependency> <dependentAssembly dependencyType="install" codebase="WindowsFormsApp1.exe.manifest" size="8277"> - <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> + <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> <hash> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> - <dsig:DigestValue>zNwCIBf3GzM+b7vLJeSW1hqrCGx0xb6it/nNvxSn1rA=</dsig:DigestValue> + <dsig:DigestValue>XagfsvBVPypSlfH/O/ZfJHUccUXSh2AQ33OUesDy4tA=</dsig:DigestValue> </hash> </dependentAssembly> </dependency> diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache index ffc97e5..56a7872 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -e1c70e8b0ba92c0b65ecf2674055002c2b0dc711 +aec954d62a52c4ba9e448751b676fb72afd9f8d4 diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.GenerateResource.cache b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.GenerateResource.cache index 1781f65..1bf8cec 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.GenerateResource.cache +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csproj.GenerateResource.cache Binary files differ diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csprojAssemblyReference.cache b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csprojAssemblyReference.cache index deaf74f..b906401 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csprojAssemblyReference.cache +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.csprojAssemblyReference.cache Binary files differ diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe index ecb4104..fb47737 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe Binary files differ diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe.manifest b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe.manifest index 56e3615..9de887c 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe.manifest +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.exe.manifest @@ -1,6 +1,6 @@ 锘�<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> - <asmv1:assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> + <asmv1:assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.3" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="x86" type="win32" /> <application /> <entryPoint> <assemblyIdentity name="WindowsFormsApp1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> @@ -126,14 +126,14 @@ </dependentAssembly> </dependency> <dependency> - <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WindowsFormsApp1.exe" size="159248"> + <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WindowsFormsApp1.exe" size="165392"> <assemblyIdentity name="WindowsFormsApp1" version="1.0.0.0" language="neutral" processorArchitecture="x86" /> <hash> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> - <dsig:DigestValue>YwB/95a9DMah4pYXSr6omirVbhRt0kDhsY3DJgUEgmM=</dsig:DigestValue> + <dsig:DigestValue>P+ZhV4a+LJdvjOjE46UdV+xeX5QS/vUy6L6DDS0rrW4=</dsig:DigestValue> </hash> </dependentAssembly> </dependency> diff --git a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.pdb b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.pdb index bcd4dfc..1da5df1 100644 --- a/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.pdb +++ b/WindowsFormsApp1/obj/x86/Debug/WindowsFormsApp1.pdb Binary files differ diff --git a/WindowsFormsApp1/publish/WindowsFormsApp1.application b/WindowsFormsApp1/publish/WindowsFormsApp1.application index 8b486a8..96eef5c 100644 --- a/WindowsFormsApp1/publish/WindowsFormsApp1.application +++ b/WindowsFormsApp1/publish/WindowsFormsApp1.application @@ -1,21 +1,21 @@ 锘�<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> - <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.1" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /> + <assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.2" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /> <description asmv2:publisher="WindowsFormsApp1" asmv2:product="WindowsFormsApp1" xmlns="urn:schemas-microsoft-com:asm.v1" /> <deployment install="true" mapFileExtensions="true" /> <compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2"> <framework targetVersion="4.7.2" profile="Full" supportedRuntime="4.0.30319" /> </compatibleFrameworks> <dependency> - <dependentAssembly dependencyType="install" codebase="Application Files\WindowsFormsApp1_1_0_0_1\WindowsFormsApp1.exe.manifest" size="7626"> - <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.1" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="msil" type="win32" /> + <dependentAssembly dependencyType="install" codebase="Application Files\WindowsFormsApp1_1_0_0_2\WindowsFormsApp1.exe.manifest" size="11963"> + <assemblyIdentity name="WindowsFormsApp1.exe" version="1.0.0.2" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="x86" type="win32" /> <hash> <dsig:Transforms> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> </dsig:Transforms> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> - <dsig:DigestValue>6QeF7F8kuLHrgoXmPUdle5rNwy7fLLL4TLoFJ9ZuyxM=</dsig:DigestValue> + <dsig:DigestValue>pYb/u49KCIeiO5vLdYRWaEVDN7cxxCWxBdpI/4YpHco=</dsig:DigestValue> </hash> </dependentAssembly> </dependency> -<publisherIdentity name="CN=S0ZHK00LKCA6OYY\Administrator" issuerKeyHash="2b35ac65eddb83391791d6519cce0b3bcbb1a5a0" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>jT2R4k/HWRx7B1s5zOjcOm5bQpTwrRZKewkzhxOCnZs=</DigestValue></Reference></SignedInfo><SignatureValue>INpDZlxIcRoHejG/rEBX9xKGmeQzMPuI1zscLdVbEdZyM+HMCsj5O5wZIHPifE4NutY2fLb/kCQN9bApN3yfjbPxQpQemXiwUTBW6zWYCLrBHKe75td+p2NjKJSezUaml7r5oBSe0UHGhxGC4z1G/VwyldOF04drUnAYSFp6Ebk=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>zRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="9b9d82138733097b4a16adf094425b6e3adce8cc395b077b1c59c74fe2913d8d" Description="" Url=""><as:assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.1" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=S0ZHK00LKCA6OYY\Administrator</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>jkiy3PkReGn5v+m+1k5LUFJ84cgKwVAUhou6xRUY6L0=</DigestValue></Reference></SignedInfo><SignatureValue>IE+0lgoiMy6o80Oqn47pa5U8jpuMH+Wj+3vw+miPRGn/KXtJcbN7RFdU3oyA8bogBCTUh8culdjRyCBjYLxZftMvcxhqz6MLDxbmEW1OS6v6C3fceZDfcVoFCfH1H2F8QyVDe8hSbwETZC7LejQxj5+BMZ+cZobgyuF1Z+6OkFc=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>zRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIICDTCCAXagAwIBAgIQG6fZwvDyLo5L65ocXk2mdjANBgkqhkiG9w0BAQsFADBFMUMwQQYDVQQDHjoAUwAwAFoASABLADAAMABMAEsAQwBBADYATwBZAFkAXABBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByMB4XDTIwMDYwNTAyMzAzMVoXDTIxMDYwNTA4MzAzMVowRTFDMEEGA1UEAx46AFMAMABaAEgASwAwADAATABLAEMAQQA2AE8AWQBZAFwAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAzRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0CAwEAATANBgkqhkiG9w0BAQsFAAOBgQC+YbNeNS0aPE/Ig4elNsTGF0aY8XXJg4jViW+zSaMkogJpgvMlmtu9w/WKK9+0tIOby3ZXmPSjPxMCnqdzuvYklOUNc+/gazQE/YGg1eAFADDx1bI07zX6xSowOBvgNAO3PBnj8s+Dfjzf9+4ZCke8bzU9onTlgscMqdSXnfh6zw==</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly> \ No newline at end of file +<publisherIdentity name="CN=S0ZHK00LKCA6OYY\Administrator" issuerKeyHash="2b35ac65eddb83391791d6519cce0b3bcbb1a5a0" /><Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>5+t67dwcm47Yo9dR2QWdRjD5D+lByDqOLYc4Kjp60C4=</DigestValue></Reference></SignedInfo><SignatureValue>lYppM/OSAc17TpjRmYwLYfsWXfGshKVt3jeg6ZRMRxYS8hk5pH9wWykV5fpINWk88xwHJw2Qdwi5bOYUrcvxPx1DjoaBMn2ukaS0i5t6V6Q0VZreEk4JDHZfP1uAT1eJnDHRIlSVDH16NwHejgUw1IRW6uRyrmgAtHOqXK+z2M4=</SignatureValue><KeyInfo Id="StrongNameKeyInfo"><KeyValue><RSAKeyValue><Modulus>zRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata"><r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode"><r:grant><as:ManifestInformation Hash="2ed07a3a2a38872d8e3ac841e90ff930469d05d951d7a3d88e9b1cdced7aebe7" Description="" Url=""><as:assemblyIdentity name="WindowsFormsApp1.application" version="1.0.0.2" publicKeyToken="118fa79ef8c23156" language="neutral" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" /></as:ManifestInformation><as:SignedBy /><as:AuthenticodePublisher><as:X509SubjectName>CN=S0ZHK00LKCA6OYY\Administrator</as:X509SubjectName></as:AuthenticodePublisher></r:grant><r:issuer><Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha256" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /><DigestValue>/41eIXRkbbmBOPTm9taKG/LEfevFdxuWWug7X0mPdgc=</DigestValue></Reference></SignedInfo><SignatureValue>CFj7vN0yzmxfTr0DH5QfYFnTAB1pjHrKYla5zvM1dGsv4aN/g6xk8U0gTLS+T844c5gUvN7PLmGxheo7L07+JYjUeVdbDcaBw6buPHDQ8R/l1BRR97Kxa75w7+SZM/Qwm1Q/s7/BlbW9HK1iK1utBLedo6njwxow7H2yZpcIuEw=</SignatureValue><KeyInfo><KeyValue><RSAKeyValue><Modulus>zRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue></KeyValue><X509Data><X509Certificate>MIICDTCCAXagAwIBAgIQG6fZwvDyLo5L65ocXk2mdjANBgkqhkiG9w0BAQsFADBFMUMwQQYDVQQDHjoAUwAwAFoASABLADAAMABMAEsAQwBBADYATwBZAFkAXABBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByMB4XDTIwMDYwNTAyMzAzMVoXDTIxMDYwNTA4MzAzMVowRTFDMEEGA1UEAx46AFMAMABaAEgASwAwADAATABLAEMAQQA2AE8AWQBZAFwAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAzRGyOs4i5QGBy1PBet3ouUppTp5LaOpmGjsC9lgzq/RD8sGdLR17GwSbzzDupGrIaVyzScYcyzdZDIoYB6nFBaIfI7f6eKqqqp9fhDNTZlAhUIEZi9HsT/efK3dphdQpq7gYGtl0XBl/7aTta89qiNuY1Pq0DfOrMZf8csb+iR0CAwEAATANBgkqhkiG9w0BAQsFAAOBgQC+YbNeNS0aPE/Ig4elNsTGF0aY8XXJg4jViW+zSaMkogJpgvMlmtu9w/WKK9+0tIOby3ZXmPSjPxMCnqdzuvYklOUNc+/gazQE/YGg1eAFADDx1bI07zX6xSowOBvgNAO3PBnj8s+Dfjzf9+4ZCke8bzU9onTlgscMqdSXnfh6zw==</X509Certificate></X509Data></KeyInfo></Signature></r:issuer></r:license></msrel:RelData></KeyInfo></Signature></asmv1:assembly> \ No newline at end of file diff --git a/WindowsFormsApp1/utils/ApiUtil.cs b/WindowsFormsApp1/utils/ApiUtil.cs index 8060f5f..43309c1 100644 --- a/WindowsFormsApp1/utils/ApiUtil.cs +++ b/WindowsFormsApp1/utils/ApiUtil.cs @@ -1,4 +1,5 @@ -锘縰sing System; +锘縰sing Newtonsoft.Json; +using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; @@ -7,6 +8,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; +using WindowsFormsApp1.entity; namespace WindowsFormsApp1.utils { @@ -94,5 +96,17 @@ startRequest(new RequestParams(BASE_URL + "parse/uploadContent", paramsMap, headers, listener)); } + + //鎼滅储鍟嗗搧 + public static List<FirstOrderSubInfo> searchGoods(String token, SearchInfo searchInfo,int page, OnRequestResultListener listener) { + Dictionary<String, String> headers = new Dictionary<String, String>(); + headers.Add("token", token); + Dictionary<String, String> paramsMap = new Dictionary<String, String>(); + paramsMap.Add("searchInfo", JsonConvert.SerializeObject(searchInfo)); + startRequest(new RequestParams(BASE_URL + "parse/uploadCookies", paramsMap, headers, listener)); + + return null; + } + } } -- Gitblit v1.8.0