using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using WindowsFormsApp1.entity; using HZH_Controls.Controls; namespace WindowsFormsApp1.utils.ui.sub { [ToolboxItem(true)] public partial class KSSDLJSearchPannel : UserControl { public KSSDLJSearchPannel() { InitializeComponent(); 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() { } private void init() { // // shopTaobao_radioButton // this.shopTaobao_radioButton.AutoSize = true; this.shopTaobao_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.shopTaobao_radioButton.Location = new System.Drawing.Point(156, 8); this.shopTaobao_radioButton.Name = "shopTaobao_radioButton"; this.shopTaobao_radioButton.Size = new System.Drawing.Size(50, 21); this.shopTaobao_radioButton.TabIndex = 30; this.shopTaobao_radioButton.Text = "淘宝"; this.shopTaobao_radioButton.UseVisualStyleBackColor = true; // // shopAll_radioButton // this.shopAll_radioButton.AutoSize = true; this.shopAll_radioButton.Checked = true; this.shopAll_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.shopAll_radioButton.Location = new System.Drawing.Point(16, 8); this.shopAll_radioButton.Name = "shopAll_radioButton"; this.shopAll_radioButton.Size = new System.Drawing.Size(50, 21); this.shopAll_radioButton.TabIndex = 28; this.shopAll_radioButton.TabStop = true; this.shopAll_radioButton.Text = "全部"; this.shopAll_radioButton.UseVisualStyleBackColor = true; // // shopTmall_radioButton // this.shopTmall_radioButton.AutoSize = true; this.shopTmall_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.shopTmall_radioButton.Location = new System.Drawing.Point(76, 8); this.shopTmall_radioButton.Name = "shopTmall_radioButton"; this.shopTmall_radioButton.Size = new System.Drawing.Size(50, 21); this.shopTmall_radioButton.TabIndex = 29; this.shopTmall_radioButton.Text = "天猫"; this.shopTmall_radioButton.UseVisualStyleBackColor = true; // // panel2 // this.panel2.Controls.Add(this.coupon_radioButton); this.panel2.Controls.Add(this.couponAll_radioButton); this.panel2.Controls.Add(this.couponNo_radioButton); this.panel2.Location = new System.Drawing.Point(0, 298); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(221, 28); this.panel2.TabIndex = 50; // // coupon_radioButton // this.coupon_radioButton.AutoSize = true; this.coupon_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.coupon_radioButton.Location = new System.Drawing.Point(76, 8); this.coupon_radioButton.Name = "coupon_radioButton"; this.coupon_radioButton.Size = new System.Drawing.Size(74, 21); this.coupon_radioButton.TabIndex = 29; this.coupon_radioButton.Text = "有优惠券"; this.coupon_radioButton.UseVisualStyleBackColor = true; // // couponAll_radioButton // this.couponAll_radioButton.AutoSize = true; this.couponAll_radioButton.Checked = true; this.couponAll_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.couponAll_radioButton.Location = new System.Drawing.Point(16, 8); this.couponAll_radioButton.Name = "couponAll_radioButton"; this.couponAll_radioButton.Size = new System.Drawing.Size(50, 21); this.couponAll_radioButton.TabIndex = 28; this.couponAll_radioButton.TabStop = true; this.couponAll_radioButton.Text = "全部"; this.couponAll_radioButton.UseVisualStyleBackColor = true; // // couponNo_radioButton // this.couponNo_radioButton.AutoSize = true; this.couponNo_radioButton.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.couponNo_radioButton.Location = new System.Drawing.Point(156, 8); this.couponNo_radioButton.Name = "couponNo_radioButton"; this.couponNo_radioButton.Size = new System.Drawing.Size(74, 21); this.couponNo_radioButton.TabIndex = 30; this.couponNo_radioButton.Text = "无优惠券"; this.couponNo_radioButton.UseVisualStyleBackColor = true; // // label24 // this.label24.AutoSize = true; this.label24.Font = new System.Drawing.Font("微软雅黑", 9F); this.label24.ForeColor = System.Drawing.Color.Black; this.label24.Location = new System.Drawing.Point(8, 249); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(91, 17); this.label24.TabIndex = 51; this.label24.Text = "佣金比(%):"; // // label22 // this.label22.AutoSize = true; this.label22.Font = new System.Drawing.Font("微软雅黑", 9F); this.label22.ForeColor = System.Drawing.Color.Black; this.label22.Location = new System.Drawing.Point(8, 200); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(96, 17); this.label22.TabIndex = 51; this.label22.Text = "佣 金(元):"; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("微软雅黑", 9F); this.label20.ForeColor = System.Drawing.Color.Black; this.label20.Location = new System.Drawing.Point(8, 151); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(56, 17); this.label20.TabIndex = 51; this.label20.Text = "月销量:"; // // label23 // this.label23.AutoSize = true; this.label23.Font = new System.Drawing.Font("微软雅黑", 10F); this.label23.ForeColor = System.Drawing.Color.Black; this.label23.Location = new System.Drawing.Point(98, 270); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(24, 20); this.label23.TabIndex = 52; this.label23.Text = "—"; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("微软雅黑", 10F); this.label13.ForeColor = System.Drawing.Color.Black; this.label13.Location = new System.Drawing.Point(98, 221); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(24, 20); this.label13.TabIndex = 52; this.label13.Text = "—"; // // label21 // this.label21.AutoSize = true; this.label21.Font = new System.Drawing.Font("微软雅黑", 10F); this.label21.ForeColor = System.Drawing.Color.Black; this.label21.Location = new System.Drawing.Point(98, 172); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(24, 20); this.label21.TabIndex = 52; this.label21.Text = "—"; // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("微软雅黑", 9F); this.label12.ForeColor = System.Drawing.Color.Black; this.label12.Location = new System.Drawing.Point(8, 102); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(92, 17); this.label12.TabIndex = 47; this.label12.Text = "到手价(元):"; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("微软雅黑", 10F); this.label14.ForeColor = System.Drawing.Color.Black; this.label14.Location = new System.Drawing.Point(98, 124); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(24, 20); this.label14.TabIndex = 48; this.label14.Text = "—"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("微软雅黑", 9F); this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(8, 54); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(104, 17); this.label7.TabIndex = 43; this.label7.Text = "首单礼金(元):"; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("微软雅黑", 10F); this.label10.ForeColor = System.Drawing.Color.Black; this.label10.Location = new System.Drawing.Point(98, 75); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(24, 20); this.label10.TabIndex = 44; this.label10.Text = "—"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("微软雅黑", 9F); this.label5.ForeColor = System.Drawing.Color.Black; this.label5.Location = new System.Drawing.Point(8, 7); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(92, 17); this.label5.TabIndex = 3; this.label5.Text = "券后价(元):"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("微软雅黑", 10F); this.label6.ForeColor = System.Drawing.Color.Black; this.label6.Location = new System.Drawing.Point(98, 28); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(24, 20); this.label6.TabIndex = 4; this.label6.Text = "—"; // // maxCommissionRate_textBox // this.maxCommissionRate_textBox.DecLength = 2; this.maxCommissionRate_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxCommissionRate_textBox.InputType = HZH_Controls.TextInputType.Number; this.maxCommissionRate_textBox.Location = new System.Drawing.Point(132, 269); this.maxCommissionRate_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxCommissionRate_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxCommissionRate_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxCommissionRate_textBox.Name = "maxCommissionRate_textBox"; this.maxCommissionRate_textBox.OldText = null; this.maxCommissionRate_textBox.PromptColor = System.Drawing.Color.Gray; this.maxCommissionRate_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.maxCommissionRate_textBox.PromptText = ""; this.maxCommissionRate_textBox.RegexPattern = ""; this.maxCommissionRate_textBox.Size = new System.Drawing.Size(81, 23); this.maxCommissionRate_textBox.TabIndex = 1; this.maxCommissionRate_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minCommissionRate_textBox // this.minCommissionRate_textBox.DecLength = 2; this.minCommissionRate_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minCommissionRate_textBox.InputType = HZH_Controls.TextInputType.Number; this.minCommissionRate_textBox.Location = new System.Drawing.Point(8, 269); this.minCommissionRate_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minCommissionRate_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minCommissionRate_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minCommissionRate_textBox.Name = "minCommissionRate_textBox"; this.minCommissionRate_textBox.OldText = null; this.minCommissionRate_textBox.PromptColor = System.Drawing.Color.Gray; this.minCommissionRate_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minCommissionRate_textBox.PromptText = ""; this.minCommissionRate_textBox.RegexPattern = ""; this.minCommissionRate_textBox.Size = new System.Drawing.Size(81, 23); this.minCommissionRate_textBox.TabIndex = 1; this.minCommissionRate_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // maxCommission_textBox // this.maxCommission_textBox.DecLength = 2; this.maxCommission_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxCommission_textBox.InputType = HZH_Controls.TextInputType.Number; this.maxCommission_textBox.Location = new System.Drawing.Point(132, 220); this.maxCommission_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxCommission_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxCommission_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxCommission_textBox.Name = "maxCommission_textBox"; this.maxCommission_textBox.OldText = null; this.maxCommission_textBox.PromptColor = System.Drawing.Color.Gray; this.maxCommission_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.maxCommission_textBox.PromptText = ""; this.maxCommission_textBox.RegexPattern = ""; this.maxCommission_textBox.Size = new System.Drawing.Size(81, 23); this.maxCommission_textBox.TabIndex = 1; this.maxCommission_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minCommission_textBox // this.minCommission_textBox.DecLength = 2; this.minCommission_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minCommission_textBox.InputType = HZH_Controls.TextInputType.Number; this.minCommission_textBox.Location = new System.Drawing.Point(8, 220); this.minCommission_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minCommission_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minCommission_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minCommission_textBox.Name = "minCommission_textBox"; this.minCommission_textBox.OldText = null; this.minCommission_textBox.PromptColor = System.Drawing.Color.Gray; this.minCommission_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minCommission_textBox.PromptText = ""; this.minCommission_textBox.RegexPattern = ""; this.minCommission_textBox.Size = new System.Drawing.Size(81, 23); this.minCommission_textBox.TabIndex = 1; this.minCommission_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // maxSalesNum_textBox // this.maxSalesNum_textBox.DecLength = 2; this.maxSalesNum_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxSalesNum_textBox.InputType = HZH_Controls.TextInputType.Integer; this.maxSalesNum_textBox.Location = new System.Drawing.Point(132, 171); this.maxSalesNum_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxSalesNum_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxSalesNum_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxSalesNum_textBox.Name = "maxSalesNum_textBox"; this.maxSalesNum_textBox.OldText = null; this.maxSalesNum_textBox.PromptColor = System.Drawing.Color.Gray; this.maxSalesNum_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.maxSalesNum_textBox.PromptText = ""; this.maxSalesNum_textBox.RegexPattern = ""; this.maxSalesNum_textBox.Size = new System.Drawing.Size(81, 23); this.maxSalesNum_textBox.TabIndex = 1; this.maxSalesNum_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minSalesNum_textBox // this.minSalesNum_textBox.DecLength = 2; this.minSalesNum_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minSalesNum_textBox.InputType = HZH_Controls.TextInputType.Integer; this.minSalesNum_textBox.Location = new System.Drawing.Point(8, 171); this.minSalesNum_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minSalesNum_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minSalesNum_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minSalesNum_textBox.Name = "minSalesNum_textBox"; this.minSalesNum_textBox.OldText = null; this.minSalesNum_textBox.PromptColor = System.Drawing.Color.Gray; this.minSalesNum_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minSalesNum_textBox.PromptText = ""; this.minSalesNum_textBox.RegexPattern = ""; this.minSalesNum_textBox.Size = new System.Drawing.Size(81, 23); this.minSalesNum_textBox.TabIndex = 1; this.minSalesNum_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // maxActualPrice_textBox // this.maxActualPrice_textBox.DecLength = 2; this.maxActualPrice_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxActualPrice_textBox.InputType = HZH_Controls.TextInputType.Number; this.maxActualPrice_textBox.Location = new System.Drawing.Point(132, 123); this.maxActualPrice_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxActualPrice_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxActualPrice_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxActualPrice_textBox.Name = "maxActualPrice_textBox"; this.maxActualPrice_textBox.OldText = null; this.maxActualPrice_textBox.PromptColor = System.Drawing.Color.Gray; this.maxActualPrice_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.maxActualPrice_textBox.PromptText = ""; this.maxActualPrice_textBox.RegexPattern = ""; this.maxActualPrice_textBox.Size = new System.Drawing.Size(81, 23); this.maxActualPrice_textBox.TabIndex = 1; this.maxActualPrice_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minActualPrice_textBox // this.minActualPrice_textBox.DecLength = 2; this.minActualPrice_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minActualPrice_textBox.InputType = HZH_Controls.TextInputType.Number; this.minActualPrice_textBox.Location = new System.Drawing.Point(8, 123); this.minActualPrice_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minActualPrice_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minActualPrice_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minActualPrice_textBox.Name = "minActualPrice_textBox"; this.minActualPrice_textBox.OldText = null; this.minActualPrice_textBox.PromptColor = System.Drawing.Color.Gray; this.minActualPrice_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minActualPrice_textBox.PromptText = ""; this.minActualPrice_textBox.RegexPattern = ""; this.minActualPrice_textBox.Size = new System.Drawing.Size(81, 23); this.minActualPrice_textBox.TabIndex = 1; this.minActualPrice_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // maxLiJin_textBox // this.maxLiJin_textBox.DecLength = 2; this.maxLiJin_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxLiJin_textBox.InputType = HZH_Controls.TextInputType.Number; this.maxLiJin_textBox.Location = new System.Drawing.Point(132, 74); this.maxLiJin_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxLiJin_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxLiJin_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxLiJin_textBox.Name = "maxLiJin_textBox"; this.maxLiJin_textBox.OldText = null; this.maxLiJin_textBox.PromptColor = System.Drawing.Color.Gray; this.maxLiJin_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.maxLiJin_textBox.PromptText = ""; this.maxLiJin_textBox.RegexPattern = ""; this.maxLiJin_textBox.Size = new System.Drawing.Size(81, 23); this.maxLiJin_textBox.TabIndex = 1; this.maxLiJin_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minLiJin_textBox // this.minLiJin_textBox.DecLength = 2; this.minLiJin_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minLiJin_textBox.InputType = HZH_Controls.TextInputType.Number; this.minLiJin_textBox.Location = new System.Drawing.Point(8, 74); this.minLiJin_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minLiJin_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minLiJin_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minLiJin_textBox.Name = "minLiJin_textBox"; this.minLiJin_textBox.OldText = null; this.minLiJin_textBox.PromptColor = System.Drawing.Color.Gray; this.minLiJin_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minLiJin_textBox.PromptText = ""; this.minLiJin_textBox.RegexPattern = ""; this.minLiJin_textBox.Size = new System.Drawing.Size(81, 23); this.minLiJin_textBox.TabIndex = 1; this.minLiJin_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // maxCouponPrice_textBox // this.maxCouponPrice_textBox.DecLength = 2; this.maxCouponPrice_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.maxCouponPrice_textBox.InputType = HZH_Controls.TextInputType.Number; this.maxCouponPrice_textBox.Location = new System.Drawing.Point(132, 27); this.maxCouponPrice_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.maxCouponPrice_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.maxCouponPrice_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.maxCouponPrice_textBox.Name = "maxCouponPrice_textBox"; this.maxCouponPrice_textBox.OldText = null; this.maxCouponPrice_textBox.PromptColor = System.Drawing.Color.Gray; this.maxCouponPrice_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 9F); this.maxCouponPrice_textBox.PromptText = "最大值"; this.maxCouponPrice_textBox.RegexPattern = ""; this.maxCouponPrice_textBox.Size = new System.Drawing.Size(81, 23); this.maxCouponPrice_textBox.TabIndex = 1; this.maxCouponPrice_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // minCouponPrice_textBox // this.minCouponPrice_textBox.DecLength = 2; this.minCouponPrice_textBox.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.minCouponPrice_textBox.InputType = HZH_Controls.TextInputType.Number; this.minCouponPrice_textBox.Location = new System.Drawing.Point(8, 27); this.minCouponPrice_textBox.MaxValue = new decimal(new int[] { 1000000, 0, 0, 0}); this.minCouponPrice_textBox.MinValue = new decimal(new int[] { 1000000, 0, 0, -2147483648}); this.minCouponPrice_textBox.MyRectangle = new System.Drawing.Rectangle(0, 0, 0, 0); this.minCouponPrice_textBox.Name = "minCouponPrice_textBox"; this.minCouponPrice_textBox.OldText = null; this.minCouponPrice_textBox.PromptColor = System.Drawing.Color.Gray; this.minCouponPrice_textBox.PromptFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.minCouponPrice_textBox.PromptText = "最小值"; this.minCouponPrice_textBox.RegexPattern = ""; this.minCouponPrice_textBox.Size = new System.Drawing.Size(81, 23); this.minCouponPrice_textBox.TabIndex = 1; this.minCouponPrice_textBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; } public SearchInfo getSearchFilter() { SearchInfo info = new SearchInfo(); info.MinCouponPrice = this.minCouponPrice_textBox.Text; info.MaxCouponPrice = this.maxCouponPrice_textBox.Text; info.MinLiJin = this.minLiJin_textBox.Text; info.MaxLiJin = this.maxLiJin_textBox.Text; info.MinActualPrice = this.minActualPrice_textBox.Text; info.MaxActualPrice = this.maxActualPrice_textBox.Text; info.MinSalesNum = this.minSalesNum_textBox.Text; info.MaxSalesNum = this.maxSalesNum_textBox.Text; info.MinCommission = this.minCommission_textBox.Text; info.MaxCommission = this.maxCommission_textBox.Text; info.MinCommissionRate = this.minCommissionRate_textBox.Text; info.MaxCommissionRate = this.maxCommissionRate_textBox.Text; //优惠券悬着 int couponType = SearchInfo.COUPON_TYPE_ALL; if (this.coupon_radioButton.Checked) { couponType = SearchInfo.COUPON_TYPE_HAVE; } else if (this.couponNo_radioButton.Checked) { couponType = SearchInfo.COUPON_TYPE_NO; } info.CouponType = couponType; int shopType = SearchInfo.SHOP_TYPE_ALL; if (this.shopTmall_radioButton.Checked) { shopType = SearchInfo.SHOP_TYPE_TM; } else if (this.shopTaobao_radioButton.Checked) { shopType = SearchInfo.SHOP_TYPE_TAOBAO; } info.ShopType = shopType; return info; } } }