diff --git a/TEMUKJD/PDDForms/ProductSelectForms/CloudGoodsForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/CloudGoodsForm.Designer.cs index 9fe241f..ee4bbf8 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/CloudGoodsForm.Designer.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/CloudGoodsForm.Designer.cs @@ -29,395 +29,395 @@ namespace TemuKJD.PDDForms.ProductSelectForms /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.bt_importUploadList = new DevComponents.DotNetBar.PanelEx(); - this.label5r = new System.Windows.Forms.Label(); - this.cb_Platform = new System.Windows.Forms.ComboBox(); - this.cmbCatSelect2 = new System.Windows.Forms.ComboBox(); - this.cmbCatSelect1 = new System.Windows.Forms.ComboBox(); - this.cmbCatSelect4 = new System.Windows.Forms.ComboBox(); - this.cmbCatSelect3 = new System.Windows.Forms.ComboBox(); - this.label4 = new System.Windows.Forms.Label(); - this.num_maxprice = new System.Windows.Forms.NumericUpDown(); - this.num_minprice = new System.Windows.Forms.NumericUpDown(); - this.label7 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.num_maxsold = new System.Windows.Forms.NumericUpDown(); - this.num_minsold = new System.Windows.Forms.NumericUpDown(); - this.txt_title = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.btnSearch = new DevComponents.DotNetBar.PanelEx(); - this.pnlEmpty = new DevComponents.DotNetBar.PanelEx(); - this.label2 = new System.Windows.Forms.Label(); - this.splitContainer2 = new System.Windows.Forms.SplitContainer(); - this.pbLoading = new System.Windows.Forms.PictureBox(); - this.dgvData = new TemuKJD.UserComponent.DataGridViewEx(); - this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.c_Platform = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Column1 = new System.Windows.Forms.DataGridViewImageColumn(); - this.c_goodsid = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage(); - this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_minprice)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_minsold)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); - this.splitContainer2.Panel1.SuspendLayout(); - this.splitContainer2.Panel2.SuspendLayout(); - this.splitContainer2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit(); - this.SuspendLayout(); - // - // splitContainer1 - // - this.splitContainer1.BackColor = System.Drawing.Color.White; - this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; - this.splitContainer1.Location = new System.Drawing.Point(0, 0); - this.splitContainer1.Name = "splitContainer1"; - this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // splitContainer1.Panel1 - // - this.splitContainer1.Panel1.Controls.Add(this.bt_importUploadList); - this.splitContainer1.Panel1.Controls.Add(this.label5r); - this.splitContainer1.Panel1.Controls.Add(this.cb_Platform); - this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect2); - this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect1); - this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect4); - this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect3); - this.splitContainer1.Panel1.Controls.Add(this.label4); - this.splitContainer1.Panel1.Controls.Add(this.num_maxprice); - this.splitContainer1.Panel1.Controls.Add(this.num_minprice); - this.splitContainer1.Panel1.Controls.Add(this.label7); - this.splitContainer1.Panel1.Controls.Add(this.label3); - this.splitContainer1.Panel1.Controls.Add(this.num_maxsold); - this.splitContainer1.Panel1.Controls.Add(this.num_minsold); - this.splitContainer1.Panel1.Controls.Add(this.txt_title); - this.splitContainer1.Panel1.Controls.Add(this.label1); - this.splitContainer1.Panel1.Controls.Add(this.label6); - this.splitContainer1.Panel1.Controls.Add(this.btnSearch); - this.splitContainer1.Panel1.Controls.Add(this.pnlEmpty); - this.splitContainer1.Panel1.Controls.Add(this.label2); - // - // splitContainer1.Panel2 - // - this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); - this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4); - this.splitContainer1.Size = new System.Drawing.Size(1477, 530); - this.splitContainer1.TabIndex = 35; - // - // bt_importUploadList - // - this.bt_importUploadList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.bt_importUploadList.Cursor = System.Windows.Forms.Cursors.Hand; - this.bt_importUploadList.DisabledBackColor = System.Drawing.Color.Empty; - this.bt_importUploadList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.bt_importUploadList.Location = new System.Drawing.Point(1407, 15); - this.bt_importUploadList.Name = "bt_importUploadList"; - this.bt_importUploadList.Size = new System.Drawing.Size(58, 23); - this.bt_importUploadList.Style.Alignment = System.Drawing.StringAlignment.Center; - this.bt_importUploadList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.bt_importUploadList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.bt_importUploadList.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.bt_importUploadList.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.bt_importUploadList.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.bt_importUploadList.Style.ForeColor.Color = System.Drawing.Color.White; - this.bt_importUploadList.Style.GradientAngle = 90; - this.bt_importUploadList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.bt_importUploadList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.bt_importUploadList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.bt_importUploadList.TabIndex = 439; - this.bt_importUploadList.Text = "上传选中"; - this.bt_importUploadList.Click += new System.EventHandler(this.bt_importUploadList_Click); - // - // label5r - // - this.label5r.AutoSize = true; - this.label5r.Location = new System.Drawing.Point(1048, 16); - this.label5r.Name = "label5r"; - this.label5r.Size = new System.Drawing.Size(44, 17); - this.label5r.TabIndex = 907; - this.label5r.Text = "来源:"; - // - // cb_Platform - // - this.cb_Platform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_Platform.DropDownWidth = 150; - this.cb_Platform.FormattingEnabled = true; - this.cb_Platform.Items.AddRange(new object[] { + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.bt_importUploadList = new DevComponents.DotNetBar.PanelEx(); + this.label5r = new System.Windows.Forms.Label(); + this.cb_Platform = new System.Windows.Forms.ComboBox(); + this.cmbCatSelect2 = new System.Windows.Forms.ComboBox(); + this.cmbCatSelect1 = new System.Windows.Forms.ComboBox(); + this.cmbCatSelect4 = new System.Windows.Forms.ComboBox(); + this.cmbCatSelect3 = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.num_maxprice = new System.Windows.Forms.NumericUpDown(); + this.num_minprice = new System.Windows.Forms.NumericUpDown(); + this.label7 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.num_maxsold = new System.Windows.Forms.NumericUpDown(); + this.num_minsold = new System.Windows.Forms.NumericUpDown(); + this.txt_title = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.btnSearch = new DevComponents.DotNetBar.PanelEx(); + this.pnlEmpty = new DevComponents.DotNetBar.PanelEx(); + this.label2 = new System.Windows.Forms.Label(); + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); + this.pbLoading = new System.Windows.Forms.PictureBox(); + this.dgvData = new TemuKJD.UserComponent.DataGridViewEx(); + this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.c_Platform = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column1 = new System.Windows.Forms.DataGridViewImageColumn(); + this.c_goodsid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage(); + this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_minprice)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_minsold)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); + this.splitContainer2.Panel1.SuspendLayout(); + this.splitContainer2.Panel2.SuspendLayout(); + this.splitContainer2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit(); + this.SuspendLayout(); + // + // splitContainer1 + // + this.splitContainer1.BackColor = System.Drawing.Color.White; + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.bt_importUploadList); + this.splitContainer1.Panel1.Controls.Add(this.label5r); + this.splitContainer1.Panel1.Controls.Add(this.cb_Platform); + this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect2); + this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect1); + this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect4); + this.splitContainer1.Panel1.Controls.Add(this.cmbCatSelect3); + this.splitContainer1.Panel1.Controls.Add(this.label4); + this.splitContainer1.Panel1.Controls.Add(this.num_maxprice); + this.splitContainer1.Panel1.Controls.Add(this.num_minprice); + this.splitContainer1.Panel1.Controls.Add(this.label7); + this.splitContainer1.Panel1.Controls.Add(this.label3); + this.splitContainer1.Panel1.Controls.Add(this.num_maxsold); + this.splitContainer1.Panel1.Controls.Add(this.num_minsold); + this.splitContainer1.Panel1.Controls.Add(this.txt_title); + this.splitContainer1.Panel1.Controls.Add(this.label1); + this.splitContainer1.Panel1.Controls.Add(this.label6); + this.splitContainer1.Panel1.Controls.Add(this.btnSearch); + this.splitContainer1.Panel1.Controls.Add(this.pnlEmpty); + this.splitContainer1.Panel1.Controls.Add(this.label2); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); + this.splitContainer1.Panel2.Margin = new System.Windows.Forms.Padding(4); + this.splitContainer1.Size = new System.Drawing.Size(1477, 530); + this.splitContainer1.TabIndex = 35; + // + // bt_importUploadList + // + this.bt_importUploadList.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.bt_importUploadList.Cursor = System.Windows.Forms.Cursors.Hand; + this.bt_importUploadList.DisabledBackColor = System.Drawing.Color.Empty; + this.bt_importUploadList.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.bt_importUploadList.Location = new System.Drawing.Point(1407, 15); + this.bt_importUploadList.Name = "bt_importUploadList"; + this.bt_importUploadList.Size = new System.Drawing.Size(58, 23); + this.bt_importUploadList.Style.Alignment = System.Drawing.StringAlignment.Center; + this.bt_importUploadList.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.bt_importUploadList.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.bt_importUploadList.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.bt_importUploadList.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.bt_importUploadList.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.bt_importUploadList.Style.ForeColor.Color = System.Drawing.Color.White; + this.bt_importUploadList.Style.GradientAngle = 90; + this.bt_importUploadList.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.bt_importUploadList.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.bt_importUploadList.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.bt_importUploadList.TabIndex = 439; + this.bt_importUploadList.Text = "上传选中"; + this.bt_importUploadList.Click += new System.EventHandler(this.bt_importUploadList_Click); + // + // label5r + // + this.label5r.AutoSize = true; + this.label5r.Location = new System.Drawing.Point(1048, 16); + this.label5r.Name = "label5r"; + this.label5r.Size = new System.Drawing.Size(44, 17); + this.label5r.TabIndex = 907; + this.label5r.Text = "来源:"; + // + // cb_Platform + // + this.cb_Platform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_Platform.DropDownWidth = 150; + this.cb_Platform.FormattingEnabled = true; + this.cb_Platform.Items.AddRange(new object[] { "全部", "多多", "微信"}); - this.cb_Platform.Location = new System.Drawing.Point(1098, 13); - this.cb_Platform.Name = "cb_Platform"; - this.cb_Platform.Size = new System.Drawing.Size(97, 25); - this.cb_Platform.TabIndex = 906; - // - // cmbCatSelect2 - // - this.cmbCatSelect2.DropDownWidth = 150; - this.cmbCatSelect2.FormattingEnabled = true; - this.cmbCatSelect2.Location = new System.Drawing.Point(745, 12); - this.cmbCatSelect2.Name = "cmbCatSelect2"; - this.cmbCatSelect2.Size = new System.Drawing.Size(97, 25); - this.cmbCatSelect2.TabIndex = 897; - // - // cmbCatSelect1 - // - this.cmbCatSelect1.DropDownWidth = 150; - this.cmbCatSelect1.FormattingEnabled = true; - this.cmbCatSelect1.Location = new System.Drawing.Point(648, 12); - this.cmbCatSelect1.Name = "cmbCatSelect1"; - this.cmbCatSelect1.Size = new System.Drawing.Size(97, 25); - this.cmbCatSelect1.TabIndex = 896; - // - // cmbCatSelect4 - // - this.cmbCatSelect4.DropDownWidth = 150; - this.cmbCatSelect4.FormattingEnabled = true; - this.cmbCatSelect4.Location = new System.Drawing.Point(939, 12); - this.cmbCatSelect4.Name = "cmbCatSelect4"; - this.cmbCatSelect4.Size = new System.Drawing.Size(97, 25); - this.cmbCatSelect4.TabIndex = 899; - // - // cmbCatSelect3 - // - this.cmbCatSelect3.DropDownWidth = 150; - this.cmbCatSelect3.FormattingEnabled = true; - this.cmbCatSelect3.Location = new System.Drawing.Point(842, 12); - this.cmbCatSelect3.Name = "cmbCatSelect3"; - this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25); - this.cmbCatSelect3.TabIndex = 898; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.ForeColor = System.Drawing.Color.Gray; - this.label4.Location = new System.Drawing.Point(518, 17); - this.label4.Margin = new System.Windows.Forms.Padding(0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(13, 17); - this.label4.TabIndex = 488; - this.label4.Text = "-"; - // - // num_maxprice - // - this.num_maxprice.Location = new System.Drawing.Point(534, 14); - this.num_maxprice.Maximum = new decimal(new int[] { + this.cb_Platform.Location = new System.Drawing.Point(1098, 13); + this.cb_Platform.Name = "cb_Platform"; + this.cb_Platform.Size = new System.Drawing.Size(97, 25); + this.cb_Platform.TabIndex = 906; + // + // cmbCatSelect2 + // + this.cmbCatSelect2.DropDownWidth = 150; + this.cmbCatSelect2.FormattingEnabled = true; + this.cmbCatSelect2.Location = new System.Drawing.Point(745, 12); + this.cmbCatSelect2.Name = "cmbCatSelect2"; + this.cmbCatSelect2.Size = new System.Drawing.Size(97, 25); + this.cmbCatSelect2.TabIndex = 897; + // + // cmbCatSelect1 + // + this.cmbCatSelect1.DropDownWidth = 150; + this.cmbCatSelect1.FormattingEnabled = true; + this.cmbCatSelect1.Location = new System.Drawing.Point(648, 12); + this.cmbCatSelect1.Name = "cmbCatSelect1"; + this.cmbCatSelect1.Size = new System.Drawing.Size(97, 25); + this.cmbCatSelect1.TabIndex = 896; + // + // cmbCatSelect4 + // + this.cmbCatSelect4.DropDownWidth = 150; + this.cmbCatSelect4.FormattingEnabled = true; + this.cmbCatSelect4.Location = new System.Drawing.Point(939, 12); + this.cmbCatSelect4.Name = "cmbCatSelect4"; + this.cmbCatSelect4.Size = new System.Drawing.Size(97, 25); + this.cmbCatSelect4.TabIndex = 899; + // + // cmbCatSelect3 + // + this.cmbCatSelect3.DropDownWidth = 150; + this.cmbCatSelect3.FormattingEnabled = true; + this.cmbCatSelect3.Location = new System.Drawing.Point(842, 12); + this.cmbCatSelect3.Name = "cmbCatSelect3"; + this.cmbCatSelect3.Size = new System.Drawing.Size(97, 25); + this.cmbCatSelect3.TabIndex = 898; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.ForeColor = System.Drawing.Color.Gray; + this.label4.Location = new System.Drawing.Point(518, 17); + this.label4.Margin = new System.Windows.Forms.Padding(0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(13, 17); + this.label4.TabIndex = 488; + this.label4.Text = "-"; + // + // num_maxprice + // + this.num_maxprice.Location = new System.Drawing.Point(534, 14); + this.num_maxprice.Maximum = new decimal(new int[] { 99999, 0, 0, 0}); - this.num_maxprice.Name = "num_maxprice"; - this.num_maxprice.Size = new System.Drawing.Size(70, 23); - this.num_maxprice.TabIndex = 487; - // - // num_minprice - // - this.num_minprice.Location = new System.Drawing.Point(447, 14); - this.num_minprice.Maximum = new decimal(new int[] { + this.num_maxprice.Name = "num_maxprice"; + this.num_maxprice.Size = new System.Drawing.Size(70, 23); + this.num_maxprice.TabIndex = 487; + // + // num_minprice + // + this.num_minprice.Location = new System.Drawing.Point(447, 14); + this.num_minprice.Maximum = new decimal(new int[] { 99999, 0, 0, 0}); - this.num_minprice.Name = "num_minprice"; - this.num_minprice.Size = new System.Drawing.Size(70, 23); - this.num_minprice.TabIndex = 486; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(388, 17); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(64, 17); - this.label7.TabIndex = 485; - this.label7.Text = "价格(元):"; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.ForeColor = System.Drawing.Color.Gray; - this.label3.Location = new System.Drawing.Point(294, 17); - this.label3.Margin = new System.Windows.Forms.Padding(0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(13, 17); - this.label3.TabIndex = 484; - this.label3.Text = "-"; - // - // num_maxsold - // - this.num_maxsold.Location = new System.Drawing.Point(310, 14); - this.num_maxsold.Maximum = new decimal(new int[] { + this.num_minprice.Name = "num_minprice"; + this.num_minprice.Size = new System.Drawing.Size(70, 23); + this.num_minprice.TabIndex = 486; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(388, 17); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(64, 17); + this.label7.TabIndex = 485; + this.label7.Text = "价格(元):"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.ForeColor = System.Drawing.Color.Gray; + this.label3.Location = new System.Drawing.Point(294, 17); + this.label3.Margin = new System.Windows.Forms.Padding(0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(13, 17); + this.label3.TabIndex = 484; + this.label3.Text = "-"; + // + // num_maxsold + // + this.num_maxsold.Location = new System.Drawing.Point(310, 14); + this.num_maxsold.Maximum = new decimal(new int[] { 99999, 0, 0, 0}); - this.num_maxsold.Name = "num_maxsold"; - this.num_maxsold.Size = new System.Drawing.Size(70, 23); - this.num_maxsold.TabIndex = 483; - // - // num_minsold - // - this.num_minsold.Location = new System.Drawing.Point(223, 14); - this.num_minsold.Maximum = new decimal(new int[] { + this.num_maxsold.Name = "num_maxsold"; + this.num_maxsold.Size = new System.Drawing.Size(70, 23); + this.num_maxsold.TabIndex = 483; + // + // num_minsold + // + this.num_minsold.Location = new System.Drawing.Point(223, 14); + this.num_minsold.Maximum = new decimal(new int[] { 99999, 0, 0, 0}); - this.num_minsold.Name = "num_minsold"; - this.num_minsold.Size = new System.Drawing.Size(70, 23); - this.num_minsold.TabIndex = 482; - // - // txt_title - // - this.txt_title.Location = new System.Drawing.Point(60, 14); - this.txt_title.Name = "txt_title"; - this.txt_title.Size = new System.Drawing.Size(118, 23); - this.txt_title.TabIndex = 468; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(8, 17); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(56, 17); - this.label1.TabIndex = 469; - this.label1.Text = "关键词:"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(610, 17); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(44, 17); - this.label6.TabIndex = 440; - this.label6.Text = "类目:"; - // - // btnSearch - // - this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty; - this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSearch.Location = new System.Drawing.Point(1208, 14); - this.btnSearch.Name = "btnSearch"; - this.btnSearch.Size = new System.Drawing.Size(58, 23); - this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnSearch.Style.GradientAngle = 90; - this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnSearch.TabIndex = 435; - this.btnSearch.Text = "查询"; - this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); - // - // pnlEmpty - // - this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control; - this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty; - this.pnlEmpty.Location = new System.Drawing.Point(1272, 14); - this.pnlEmpty.Name = "pnlEmpty"; - this.pnlEmpty.Size = new System.Drawing.Size(58, 23); - this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center; - this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.pnlEmpty.Style.GradientAngle = 90; - this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; - this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.pnlEmpty.TabIndex = 413; - this.pnlEmpty.Text = "清空条件"; - this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(184, 17); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(44, 17); - this.label2.TabIndex = 373; - this.label2.Text = "销量:"; - // - // splitContainer2 - // - this.splitContainer2.BackColor = System.Drawing.Color.White; - this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; - this.splitContainer2.Location = new System.Drawing.Point(0, 0); - this.splitContainer2.Name = "splitContainer2"; - this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // splitContainer2.Panel1 - // - this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White; - this.splitContainer2.Panel1.Controls.Add(this.pbLoading); - this.splitContainer2.Panel1.Controls.Add(this.dgvData); - this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); - // - // splitContainer2.Panel2 - // - this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1); - this.splitContainer2.Panel2.Controls.Add(this.statusBar); - this.splitContainer2.Size = new System.Drawing.Size(1477, 476); - this.splitContainer2.SplitterDistance = 447; - this.splitContainer2.TabIndex = 0; - // - // pbLoading - // - this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None; - this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue; - this.pbLoading.Location = new System.Drawing.Point(713, 198); - this.pbLoading.Name = "pbLoading"; - this.pbLoading.Size = new System.Drawing.Size(50, 50); - this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pbLoading.TabIndex = 6; - this.pbLoading.TabStop = false; - // - // dgvData - // - this.dgvData.AllowUserToAddRows = false; - this.dgvData.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - this.dgvData.AutoRowNumber = true; - this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; - this.dgvData.BackgroundColor = System.Drawing.Color.White; - this.dgvData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; - this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.num_minsold.Name = "num_minsold"; + this.num_minsold.Size = new System.Drawing.Size(70, 23); + this.num_minsold.TabIndex = 482; + // + // txt_title + // + this.txt_title.Location = new System.Drawing.Point(60, 14); + this.txt_title.Name = "txt_title"; + this.txt_title.Size = new System.Drawing.Size(118, 23); + this.txt_title.TabIndex = 468; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(8, 17); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(56, 17); + this.label1.TabIndex = 469; + this.label1.Text = "关键词:"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(610, 17); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(44, 17); + this.label6.TabIndex = 440; + this.label6.Text = "类目:"; + // + // btnSearch + // + this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty; + this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSearch.Location = new System.Drawing.Point(1208, 14); + this.btnSearch.Name = "btnSearch"; + this.btnSearch.Size = new System.Drawing.Size(58, 23); + this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnSearch.Style.GradientAngle = 90; + this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnSearch.TabIndex = 435; + this.btnSearch.Text = "查询"; + this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); + // + // pnlEmpty + // + this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control; + this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty; + this.pnlEmpty.Location = new System.Drawing.Point(1272, 14); + this.pnlEmpty.Name = "pnlEmpty"; + this.pnlEmpty.Size = new System.Drawing.Size(58, 23); + this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center; + this.pnlEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.pnlEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.pnlEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.pnlEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.pnlEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.pnlEmpty.Style.GradientAngle = 90; + this.pnlEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.pnlEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.pnlEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.pnlEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.pnlEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.pnlEmpty.TabIndex = 413; + this.pnlEmpty.Text = "清空条件"; + this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(184, 17); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 17); + this.label2.TabIndex = 373; + this.label2.Text = "销量:"; + // + // splitContainer2 + // + this.splitContainer2.BackColor = System.Drawing.Color.White; + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.splitContainer2.Location = new System.Drawing.Point(0, 0); + this.splitContainer2.Name = "splitContainer2"; + this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer2.Panel1 + // + this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White; + this.splitContainer2.Panel1.Controls.Add(this.pbLoading); + this.splitContainer2.Panel1.Controls.Add(this.dgvData); + this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); + // + // splitContainer2.Panel2 + // + this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1); + this.splitContainer2.Panel2.Controls.Add(this.statusBar); + this.splitContainer2.Size = new System.Drawing.Size(1477, 476); + this.splitContainer2.SplitterDistance = 447; + this.splitContainer2.TabIndex = 0; + // + // pbLoading + // + this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue; + this.pbLoading.Location = new System.Drawing.Point(713, 198); + this.pbLoading.Name = "pbLoading"; + this.pbLoading.Size = new System.Drawing.Size(50, 50); + this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbLoading.TabIndex = 6; + this.pbLoading.TabStop = false; + // + // dgvData + // + this.dgvData.AllowUserToAddRows = false; + this.dgvData.AllowUserToDeleteRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvData.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.dgvData.AutoRowNumber = true; + this.dgvData.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.dgvData.BackgroundColor = System.Drawing.Color.White; + this.dgvData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvData.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.dgvData.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvData.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelect, this.c_Platform, this.Column1, @@ -425,132 +425,134 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.Column2, this.Column3, this.Column4}); - this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvData.Location = new System.Drawing.Point(4, 0); - this.dgvData.MultiSelectCheckBox = true; - this.dgvData.Name = "dgvData"; - this.dgvData.ReadOnly = true; - this.dgvData.RowTemplate.Height = 60; - this.dgvData.ShowCellErrors = false; - this.dgvData.Size = new System.Drawing.Size(1469, 447); - this.dgvData.TabIndex = 5; - // - // colSelect - // - this.colSelect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.colSelect.FillWeight = 26F; - this.colSelect.HeaderText = "选"; - this.colSelect.Name = "colSelect"; - this.colSelect.ReadOnly = true; - this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.colSelect.Width = 30; - // - // c_Platform - // - this.c_Platform.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.c_Platform.HeaderText = "来源"; - this.c_Platform.Name = "c_Platform"; - this.c_Platform.ReadOnly = true; - this.c_Platform.Width = 80; - // - // Column1 - // - this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.Column1.FillWeight = 44.62474F; - this.Column1.HeaderText = "主图"; - this.Column1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; - this.Column1.MinimumWidth = 60; - this.Column1.Name = "Column1"; - this.Column1.ReadOnly = true; - this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.Column1.Width = 200; - // - // c_goodsid - // - this.c_goodsid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.c_goodsid.FillWeight = 60.68966F; - this.c_goodsid.HeaderText = "商品ID"; - this.c_goodsid.Name = "c_goodsid"; - this.c_goodsid.ReadOnly = true; - this.c_goodsid.Width = 180; - // - // Column2 - // - this.Column2.FillWeight = 111.5619F; - this.Column2.HeaderText = "标题"; - this.Column2.Name = "Column2"; - this.Column2.ReadOnly = true; - // - // Column3 - // - this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.Column3.FillWeight = 111.5619F; - this.Column3.HeaderText = "价格"; - this.Column3.Name = "Column3"; - this.Column3.ReadOnly = true; - this.Column3.Width = 120; - // - // Column4 - // - this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.Column4.FillWeight = 111.5619F; - this.Column4.HeaderText = "销量"; - this.Column4.Name = "Column4"; - this.Column4.ReadOnly = true; - this.Column4.Width = 120; - // - // ucSplitPage1 - // - this.ucSplitPage1.CurrentPage = 1; - this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right; - this.ucSplitPage1.IsShowPageSize = false; - this.ucSplitPage1.Location = new System.Drawing.Point(1115, 0); - this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0); - this.ucSplitPage1.Name = "ucSplitPage1"; - this.ucSplitPage1.PageSize = 50; - this.ucSplitPage1.Size = new System.Drawing.Size(362, 25); - this.ucSplitPage1.TabIndex = 4; - this.ucSplitPage1.TotalPage = 1; - // - // statusBar - // - this.statusBar.BackColor = System.Drawing.Color.White; - this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill; - this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.statusBar.Location = new System.Drawing.Point(0, 0); - this.statusBar.Margin = new System.Windows.Forms.Padding(0); - this.statusBar.Name = "statusBar"; - this.statusBar.Size = new System.Drawing.Size(1477, 25); - this.statusBar.TabIndex = 1; - this.statusBar.Visible = false; - // - // CloudGoodsForm - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.ClientSize = new System.Drawing.Size(1477, 530); - this.Controls.Add(this.splitContainer1); - this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.KeyPreview = true; - this.Name = "CloudGoodsForm"; - this.Text = "AdminCardCodeForm"; - this.Load += new System.EventHandler(this.AdminCardCodeForm_Load); - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel1.PerformLayout(); - this.splitContainer1.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); - this.splitContainer1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_minprice)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.num_minsold)).EndInit(); - this.splitContainer2.Panel1.ResumeLayout(false); - this.splitContainer2.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); - this.splitContainer2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit(); - this.ResumeLayout(false); + this.dgvData.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvData.Location = new System.Drawing.Point(4, 0); + this.dgvData.MultiSelectCheckBox = true; + this.dgvData.Name = "dgvData"; + this.dgvData.ReadOnly = true; + this.dgvData.RowTemplate.Height = 60; + this.dgvData.ShowCellErrors = false; + this.dgvData.Size = new System.Drawing.Size(1469, 447); + this.dgvData.TabIndex = 5; + // + // colSelect + // + this.colSelect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.colSelect.FillWeight = 26F; + this.colSelect.HeaderText = "选"; + this.colSelect.Name = "colSelect"; + this.colSelect.ReadOnly = true; + this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colSelect.Width = 30; + // + // c_Platform + // + this.c_Platform.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.c_Platform.HeaderText = "来源"; + this.c_Platform.Name = "c_Platform"; + this.c_Platform.ReadOnly = true; + this.c_Platform.Width = 80; + // + // Column1 + // + this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.Column1.FillWeight = 44.62474F; + this.Column1.HeaderText = "主图"; + this.Column1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom; + this.Column1.MinimumWidth = 60; + this.Column1.Name = "Column1"; + this.Column1.ReadOnly = true; + this.Column1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.Column1.Width = 200; + // + // c_goodsid + // + this.c_goodsid.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.c_goodsid.FillWeight = 60.68966F; + this.c_goodsid.HeaderText = "商品ID"; + this.c_goodsid.Name = "c_goodsid"; + this.c_goodsid.ReadOnly = true; + this.c_goodsid.Width = 180; + // + // Column2 + // + this.Column2.FillWeight = 111.5619F; + this.Column2.HeaderText = "标题"; + this.Column2.Name = "Column2"; + this.Column2.ReadOnly = true; + // + // Column3 + // + this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.Column3.FillWeight = 111.5619F; + this.Column3.HeaderText = "价格"; + this.Column3.Name = "Column3"; + this.Column3.ReadOnly = true; + this.Column3.Width = 120; + // + // Column4 + // + this.Column4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.Column4.FillWeight = 111.5619F; + this.Column4.HeaderText = "销量"; + this.Column4.Name = "Column4"; + this.Column4.ReadOnly = true; + this.Column4.Width = 120; + // + // ucSplitPage1 + // + this.ucSplitPage1.CurrentPage = 1; + this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right; + this.ucSplitPage1.IsShowPageSize = false; + this.ucSplitPage1.IsShowTotalCount = true; + this.ucSplitPage1.Location = new System.Drawing.Point(1115, 0); + this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0); + this.ucSplitPage1.Name = "ucSplitPage1"; + this.ucSplitPage1.PageSize = 50; + this.ucSplitPage1.Size = new System.Drawing.Size(362, 25); + this.ucSplitPage1.TabIndex = 4; + this.ucSplitPage1.TotalCount = ((long)(0)); + this.ucSplitPage1.TotalPage = 1; + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.White; + this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill; + this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.statusBar.Location = new System.Drawing.Point(0, 0); + this.statusBar.Margin = new System.Windows.Forms.Padding(0); + this.statusBar.Name = "statusBar"; + this.statusBar.Size = new System.Drawing.Size(1477, 25); + this.statusBar.TabIndex = 1; + this.statusBar.Visible = false; + // + // CloudGoodsForm + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(1477, 530); + this.Controls.Add(this.splitContainer1); + this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.KeyPreview = true; + this.Name = "CloudGoodsForm"; + this.Text = "AdminCardCodeForm"; + this.Load += new System.EventHandler(this.AdminCardCodeForm_Load); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel1.PerformLayout(); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.num_maxprice)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_minprice)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_maxsold)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.num_minsold)).EndInit(); + this.splitContainer2.Panel1.ResumeLayout(false); + this.splitContainer2.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); + this.splitContainer2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvData)).EndInit(); + this.ResumeLayout(false); } diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs index 65f3bd9..050d096 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs @@ -1087,7 +1087,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "修改时间", "入库时间"}); - this.cmbTime.Location = new System.Drawing.Point(402, 82); + this.cmbTime.Location = new System.Drawing.Point(402, 80); this.cmbTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbTime.Name = "cmbTime"; this.cmbTime.Size = new System.Drawing.Size(56, 25); @@ -1101,7 +1101,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "是", "否"}); - this.cmbHasFission.Location = new System.Drawing.Point(800, 45); + this.cmbHasFission.Location = new System.Drawing.Point(800, 43); this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbHasFission.Name = "cmbHasFission"; this.cmbHasFission.Size = new System.Drawing.Size(51, 25); @@ -1136,7 +1136,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "是", "否"}); - this.cmbPddRelation.Location = new System.Drawing.Point(687, 8); + this.cmbPddRelation.Location = new System.Drawing.Point(687, 6); this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbPddRelation.Name = "cmbPddRelation"; this.cmbPddRelation.Size = new System.Drawing.Size(51, 25); @@ -1181,7 +1181,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat2.FormattingEnabled = true; - this.cmbCat2.Location = new System.Drawing.Point(252, 82); + this.cmbCat2.Location = new System.Drawing.Point(252, 80); this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat2.Name = "cmbCat2"; this.cmbCat2.Size = new System.Drawing.Size(51, 25); @@ -1267,7 +1267,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "机会商品", "以图搜品", "多多外部数据"}); - this.cmbSourceType.Location = new System.Drawing.Point(252, 45); + this.cmbSourceType.Location = new System.Drawing.Point(252, 43); this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSourceType.Name = "cmbSourceType"; this.cmbSourceType.Size = new System.Drawing.Size(51, 25); @@ -1313,7 +1313,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "是", "否"}); - this.cmbWxCat.Location = new System.Drawing.Point(574, 8); + this.cmbWxCat.Location = new System.Drawing.Point(574, 6); this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxCat.Name = "cmbWxCat"; this.cmbWxCat.Size = new System.Drawing.Size(51, 25); @@ -1335,7 +1335,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.cmbSort.Items.AddRange(new object[] { "入库时间", "曝光量"}); - this.cmbSort.Location = new System.Drawing.Point(348, 45); + this.cmbSort.Location = new System.Drawing.Point(348, 43); this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSort.Name = "cmbSort"; this.cmbSort.Size = new System.Drawing.Size(51, 25); @@ -1399,7 +1399,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbGroupFilter.FormattingEnabled = true; - this.cmbGroupFilter.Location = new System.Drawing.Point(156, 45); + this.cmbGroupFilter.Location = new System.Drawing.Point(156, 43); this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbGroupFilter.Name = "cmbGroupFilter"; this.cmbGroupFilter.Size = new System.Drawing.Size(51, 25); @@ -1414,7 +1414,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "是", "否", "导出未拉回"}); - this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 45); + this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 43); this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbExportToOutServer.Name = "cmbExportToOutServer"; this.cmbExportToOutServer.Size = new System.Drawing.Size(51, 25); @@ -1450,7 +1450,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "安全商品", "违规商品", "未校验"}); - this.cmbWxSafe.Location = new System.Drawing.Point(461, 45); + this.cmbWxSafe.Location = new System.Drawing.Point(461, 43); this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxSafe.Name = "cmbWxSafe"; this.cmbWxSafe.Size = new System.Drawing.Size(51, 25); @@ -1492,7 +1492,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat1.FormattingEnabled = true; - this.cmbCat1.Location = new System.Drawing.Point(156, 82); + this.cmbCat1.Location = new System.Drawing.Point(156, 80); this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat1.Name = "cmbCat1"; this.cmbCat1.Size = new System.Drawing.Size(51, 25); @@ -1514,7 +1514,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms // this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat3.FormattingEnabled = true; - this.cmbCat3.Location = new System.Drawing.Point(348, 82); + this.cmbCat3.Location = new System.Drawing.Point(348, 80); this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat3.Name = "cmbCat3"; this.cmbCat3.Size = new System.Drawing.Size(51, 25); @@ -1610,7 +1610,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms "", "普通商品", "爆款数据"}); - this.cmbSpProdType.Location = new System.Drawing.Point(800, 8); + this.cmbSpProdType.Location = new System.Drawing.Point(800, 6); this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSpProdType.Name = "cmbSpProdType"; this.cmbSpProdType.Size = new System.Drawing.Size(51, 25); @@ -2234,6 +2234,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms this.ucSplitPage1.PageSize = 100; this.ucSplitPage1.Size = new System.Drawing.Size(453, 25); this.ucSplitPage1.TabIndex = 6; + this.ucSplitPage1.TotalCount = ((long)(0)); this.ucSplitPage1.TotalPage = 1; // // statusBar diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs index a71c1b0..ef8206c 100644 --- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs +++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs @@ -52,6 +52,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms private void ProductListForm_Load(object sender, EventArgs e) { + ucSplitPage1.lblTotal.Visible = false; cmbSpProdType.SelectedIndex = 0; cmbSetWxSafe.SelectedIndex = 0; if (BaseClass.SaLevel == 1 && shop == null) // 一级管理员且不是选品状态 @@ -178,8 +179,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms int pageSize = 100; decimal seconds; Invoke(new Action(() => { pageSize = this.ucSplitPage1.PageSize; })); - var list = GetProductList(out pageCount, out seconds, page, pageSize); - //var list = GetHotProductList(out pageCount, out seconds, page, pageSize); + //var list = GetProductList(out pageCount, out seconds, page, pageSize); + var list = GetHotProductList(out pageCount, out seconds, page, pageSize); lstTemuDbProduct.AddRange(list); this.ucSplitPage1.TotalPage = pageCount; @@ -352,8 +353,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms seconds = 0; var url = BaseClass.BuildWXObjString("product/get_hot_product_list"); - if (shop != null && shop.DbId.ParseToInt() != 0) - url = BaseClass.BuildWXObjString("product/get_hot_product_list"); + if (!txtSPU.Text.Trim().IsNullOrEmpty()) + url = BaseClass.BuildWXObjString("product/get_hot_product_list_detail"); var data = ""; Invoke(new Action(() => diff --git a/TEMUKJD/UserControls/UcSplitPage.Designer.cs b/TEMUKJD/UserControls/UcSplitPage.Designer.cs index a3b8f90..f5cdfb8 100644 --- a/TEMUKJD/UserControls/UcSplitPage.Designer.cs +++ b/TEMUKJD/UserControls/UcSplitPage.Designer.cs @@ -29,220 +29,221 @@ namespace TemuKJD.UserControls /// private void InitializeComponent() { - this.btnPrev = new DevComponents.DotNetBar.PanelEx(); - this.btnNext = new DevComponents.DotNetBar.PanelEx(); - this.lblPage = new System.Windows.Forms.Label(); - this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); - this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); - this.btnJump = new DevComponents.DotNetBar.PanelEx(); - this.label1 = new System.Windows.Forms.Label(); - this.txtJumpPage = new DevComponents.DotNetBar.Controls.TextBoxX(); - this.lblJump = new System.Windows.Forms.Label(); - this.lblTotal = new System.Windows.Forms.Label(); - this.lblPageSize = new System.Windows.Forms.Label(); - this.cmbPageSize = new System.Windows.Forms.ComboBox(); - this.flowLayoutPanel2.SuspendLayout(); - this.SuspendLayout(); - // - // btnPrev - // - this.btnPrev.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.btnPrev.AutoSize = true; - this.btnPrev.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnPrev.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnPrev.DisabledBackColor = System.Drawing.Color.Empty; - this.btnPrev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPrev.Location = new System.Drawing.Point(235, 0); - this.btnPrev.Margin = new System.Windows.Forms.Padding(0); - this.btnPrev.Name = "btnPrev"; - this.btnPrev.Size = new System.Drawing.Size(31, 20); - this.btnPrev.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnPrev.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnPrev.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnPrev.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnPrev.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnPrev.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnPrev.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnPrev.Style.GradientAngle = 90; - this.btnPrev.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnPrev.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnPrev.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnPrev.TabIndex = 431; - this.btnPrev.Text = "上页"; - this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); - // - // btnNext - // - this.btnNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.btnNext.AutoSize = true; - this.btnNext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnNext.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnNext.DisabledBackColor = System.Drawing.Color.Empty; - this.btnNext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnNext.Location = new System.Drawing.Point(311, 0); - this.btnNext.Margin = new System.Windows.Forms.Padding(0); - this.btnNext.Name = "btnNext"; - this.btnNext.Size = new System.Drawing.Size(31, 20); - this.btnNext.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnNext.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnNext.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnNext.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnNext.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnNext.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnNext.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnNext.Style.GradientAngle = 90; - this.btnNext.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnNext.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnNext.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnNext.TabIndex = 435; - this.btnNext.Text = "下页"; - this.btnNext.Click += new System.EventHandler(this.btnNext_Click); - // - // lblPage - // - this.lblPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.lblPage.AutoSize = true; - this.lblPage.Location = new System.Drawing.Point(269, 0); - this.lblPage.Name = "lblPage"; - this.lblPage.Size = new System.Drawing.Size(39, 20); - this.lblPage.TabIndex = 436; - this.lblPage.Text = "1/1页"; - this.lblPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // flowLayoutPanel1 - // - this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); - this.flowLayoutPanel1.Name = "flowLayoutPanel1"; - this.flowLayoutPanel1.Size = new System.Drawing.Size(200, 100); - this.flowLayoutPanel1.TabIndex = 437; - // - // flowLayoutPanel2 - // - this.flowLayoutPanel2.Controls.Add(this.btnJump); - this.flowLayoutPanel2.Controls.Add(this.label1); - this.flowLayoutPanel2.Controls.Add(this.txtJumpPage); - this.flowLayoutPanel2.Controls.Add(this.lblJump); - this.flowLayoutPanel2.Controls.Add(this.btnNext); - this.flowLayoutPanel2.Controls.Add(this.lblPage); - this.flowLayoutPanel2.Controls.Add(this.btnPrev); - this.flowLayoutPanel2.Controls.Add(this.lblTotal); - this.flowLayoutPanel2.Controls.Add(this.lblPageSize); - this.flowLayoutPanel2.Controls.Add(this.cmbPageSize); - this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.flowLayoutPanel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 0); - this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); - this.flowLayoutPanel2.Name = "flowLayoutPanel2"; - this.flowLayoutPanel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.flowLayoutPanel2.Size = new System.Drawing.Size(480, 23); - this.flowLayoutPanel2.TabIndex = 0; - // - // btnJump - // - this.btnJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.btnJump.AutoSize = true; - this.btnJump.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnJump.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnJump.DisabledBackColor = System.Drawing.Color.Empty; - this.btnJump.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnJump.Location = new System.Drawing.Point(446, 0); - this.btnJump.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); - this.btnJump.Name = "btnJump"; - this.btnJump.Size = new System.Drawing.Size(31, 20); - this.btnJump.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnJump.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnJump.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnJump.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnJump.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnJump.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnJump.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnJump.Style.GradientAngle = 90; - this.btnJump.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnJump.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnJump.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnJump.TabIndex = 439; - this.btnJump.Text = "跳转"; - this.btnJump.Click += new System.EventHandler(this.pnlJump_Click); - // - // label1 - // - this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(423, 0); - this.label1.Margin = new System.Windows.Forms.Padding(0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(20, 20); - this.label1.TabIndex = 445; - this.label1.Text = "页"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // txtJumpPage - // - this.txtJumpPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - // - // - // - this.txtJumpPage.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtJumpPage.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtJumpPage.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtJumpPage.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtJumpPage.Border.Class = "CrumbBarBackgroundKey"; - this.txtJumpPage.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtJumpPage.Border.PaddingBottom = 2; - this.txtJumpPage.Border.PaddingLeft = 2; - this.txtJumpPage.Border.PaddingRight = 2; - this.txtJumpPage.Border.PaddingTop = 2; - this.txtJumpPage.Font = new System.Drawing.Font("微软雅黑", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtJumpPage.Location = new System.Drawing.Point(393, 0); - this.txtJumpPage.Margin = new System.Windows.Forms.Padding(0); - this.txtJumpPage.Name = "txtJumpPage"; - this.txtJumpPage.Size = new System.Drawing.Size(30, 21); - this.txtJumpPage.TabIndex = 444; - this.txtJumpPage.Text = "1"; - // - // lblJump - // - this.lblJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.lblJump.AutoSize = true; - this.lblJump.Location = new System.Drawing.Point(345, 0); - this.lblJump.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); - this.lblJump.Name = "lblJump"; - this.lblJump.Size = new System.Drawing.Size(48, 20); - this.lblJump.TabIndex = 437; - this.lblJump.Text = "跳转到 "; - this.lblJump.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblTotal - // - this.lblTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.lblTotal.AutoSize = true; - this.lblTotal.Location = new System.Drawing.Point(196, 0); - this.lblTotal.Margin = new System.Windows.Forms.Padding(0); - this.lblTotal.Name = "lblTotal"; - this.lblTotal.Size = new System.Drawing.Size(39, 20); - this.lblTotal.TabIndex = 446; - this.lblTotal.Text = "共1条"; - this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblPageSize - // - this.lblPageSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.lblPageSize.AutoSize = true; - this.lblPageSize.Location = new System.Drawing.Point(153, 0); - this.lblPageSize.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); - this.lblPageSize.Name = "lblPageSize"; - this.lblPageSize.Size = new System.Drawing.Size(37, 20); - this.lblPageSize.TabIndex = 453; - this.lblPageSize.Text = "条/页"; - this.lblPageSize.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.lblPageSize.Visible = false; - // - // cmbPageSize - // - this.cmbPageSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); - this.cmbPageSize.Font = new System.Drawing.Font("微软雅黑", 7F); - this.cmbPageSize.FormattingEnabled = true; - this.cmbPageSize.Items.AddRange(new object[] { + this.btnPrev = new DevComponents.DotNetBar.PanelEx(); + this.btnNext = new DevComponents.DotNetBar.PanelEx(); + this.lblPage = new System.Windows.Forms.Label(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); + this.btnJump = new DevComponents.DotNetBar.PanelEx(); + this.label1 = new System.Windows.Forms.Label(); + this.txtJumpPage = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.lblJump = new System.Windows.Forms.Label(); + this.lblTotal = new System.Windows.Forms.Label(); + this.lblPageSize = new System.Windows.Forms.Label(); + this.cmbPageSize = new System.Windows.Forms.ComboBox(); + this.flowLayoutPanel2.SuspendLayout(); + this.SuspendLayout(); + // + // btnPrev + // + this.btnPrev.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.btnPrev.AutoSize = true; + this.btnPrev.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnPrev.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnPrev.DisabledBackColor = System.Drawing.Color.Empty; + this.btnPrev.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnPrev.Location = new System.Drawing.Point(235, 0); + this.btnPrev.Margin = new System.Windows.Forms.Padding(0); + this.btnPrev.Name = "btnPrev"; + this.btnPrev.Size = new System.Drawing.Size(31, 20); + this.btnPrev.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnPrev.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnPrev.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnPrev.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnPrev.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnPrev.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnPrev.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnPrev.Style.GradientAngle = 90; + this.btnPrev.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnPrev.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnPrev.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnPrev.TabIndex = 431; + this.btnPrev.Text = "上页"; + this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); + // + // btnNext + // + this.btnNext.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.btnNext.AutoSize = true; + this.btnNext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnNext.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnNext.DisabledBackColor = System.Drawing.Color.Empty; + this.btnNext.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnNext.Location = new System.Drawing.Point(311, 0); + this.btnNext.Margin = new System.Windows.Forms.Padding(0); + this.btnNext.Name = "btnNext"; + this.btnNext.Size = new System.Drawing.Size(31, 20); + this.btnNext.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnNext.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNext.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnNext.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnNext.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnNext.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnNext.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnNext.Style.GradientAngle = 90; + this.btnNext.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnNext.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnNext.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnNext.TabIndex = 435; + this.btnNext.Text = "下页"; + this.btnNext.Click += new System.EventHandler(this.btnNext_Click); + // + // lblPage + // + this.lblPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.lblPage.AutoSize = true; + this.lblPage.Location = new System.Drawing.Point(269, 0); + this.lblPage.Name = "lblPage"; + this.lblPage.Size = new System.Drawing.Size(39, 20); + this.lblPage.TabIndex = 436; + this.lblPage.Text = "1/1页"; + this.lblPage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(200, 100); + this.flowLayoutPanel1.TabIndex = 437; + // + // flowLayoutPanel2 + // + this.flowLayoutPanel2.Controls.Add(this.btnJump); + this.flowLayoutPanel2.Controls.Add(this.label1); + this.flowLayoutPanel2.Controls.Add(this.txtJumpPage); + this.flowLayoutPanel2.Controls.Add(this.lblJump); + this.flowLayoutPanel2.Controls.Add(this.btnNext); + this.flowLayoutPanel2.Controls.Add(this.lblPage); + this.flowLayoutPanel2.Controls.Add(this.btnPrev); + this.flowLayoutPanel2.Controls.Add(this.lblTotal); + this.flowLayoutPanel2.Controls.Add(this.lblPageSize); + this.flowLayoutPanel2.Controls.Add(this.cmbPageSize); + this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 0); + this.flowLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); + this.flowLayoutPanel2.Name = "flowLayoutPanel2"; + this.flowLayoutPanel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.flowLayoutPanel2.Size = new System.Drawing.Size(480, 23); + this.flowLayoutPanel2.TabIndex = 0; + // + // btnJump + // + this.btnJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.btnJump.AutoSize = true; + this.btnJump.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnJump.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnJump.DisabledBackColor = System.Drawing.Color.Empty; + this.btnJump.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnJump.Location = new System.Drawing.Point(446, 0); + this.btnJump.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0); + this.btnJump.Name = "btnJump"; + this.btnJump.Size = new System.Drawing.Size(31, 20); + this.btnJump.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnJump.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnJump.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnJump.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnJump.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnJump.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnJump.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnJump.Style.GradientAngle = 90; + this.btnJump.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnJump.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnJump.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnJump.TabIndex = 439; + this.btnJump.Text = "跳转"; + this.btnJump.Click += new System.EventHandler(this.pnlJump_Click); + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(423, 0); + this.label1.Margin = new System.Windows.Forms.Padding(0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(20, 20); + this.label1.TabIndex = 445; + this.label1.Text = "页"; + this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // txtJumpPage + // + this.txtJumpPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + // + // + // + this.txtJumpPage.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtJumpPage.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtJumpPage.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtJumpPage.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtJumpPage.Border.Class = "CrumbBarBackgroundKey"; + this.txtJumpPage.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtJumpPage.Border.PaddingBottom = 2; + this.txtJumpPage.Border.PaddingLeft = 2; + this.txtJumpPage.Border.PaddingRight = 2; + this.txtJumpPage.Border.PaddingTop = 2; + this.txtJumpPage.Font = new System.Drawing.Font("微软雅黑", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtJumpPage.Location = new System.Drawing.Point(393, 0); + this.txtJumpPage.Margin = new System.Windows.Forms.Padding(0); + this.txtJumpPage.Name = "txtJumpPage"; + this.txtJumpPage.Size = new System.Drawing.Size(30, 21); + this.txtJumpPage.TabIndex = 444; + this.txtJumpPage.Text = "1"; + // + // lblJump + // + this.lblJump.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.lblJump.AutoSize = true; + this.lblJump.Location = new System.Drawing.Point(345, 0); + this.lblJump.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.lblJump.Name = "lblJump"; + this.lblJump.Size = new System.Drawing.Size(48, 20); + this.lblJump.TabIndex = 437; + this.lblJump.Text = "跳转到 "; + this.lblJump.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lblTotal + // + this.lblTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.lblTotal.AutoSize = true; + this.lblTotal.Location = new System.Drawing.Point(196, 0); + this.lblTotal.Margin = new System.Windows.Forms.Padding(0); + this.lblTotal.Name = "lblTotal"; + this.lblTotal.Size = new System.Drawing.Size(39, 20); + this.lblTotal.TabIndex = 446; + this.lblTotal.Text = "共1条"; + this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.lblTotal.Visible = false; + // + // lblPageSize + // + this.lblPageSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.lblPageSize.AutoSize = true; + this.lblPageSize.Location = new System.Drawing.Point(153, 0); + this.lblPageSize.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); + this.lblPageSize.Name = "lblPageSize"; + this.lblPageSize.Size = new System.Drawing.Size(37, 20); + this.lblPageSize.TabIndex = 453; + this.lblPageSize.Text = "条/页"; + this.lblPageSize.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.lblPageSize.Visible = false; + // + // cmbPageSize + // + this.cmbPageSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); + this.cmbPageSize.Font = new System.Drawing.Font("微软雅黑", 7F); + this.cmbPageSize.FormattingEnabled = true; + this.cmbPageSize.Items.AddRange(new object[] { "50", "100", "200", @@ -250,26 +251,26 @@ namespace TemuKJD.UserControls "1000", "2000", "5000"}); - this.cmbPageSize.Location = new System.Drawing.Point(108, 0); - this.cmbPageSize.Margin = new System.Windows.Forms.Padding(0); - this.cmbPageSize.Name = "cmbPageSize"; - this.cmbPageSize.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.cmbPageSize.Size = new System.Drawing.Size(45, 22); - this.cmbPageSize.TabIndex = 452; - this.cmbPageSize.Text = "50"; - this.cmbPageSize.Visible = false; - // - // UcSplitPage - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.Controls.Add(this.flowLayoutPanel2); - this.Controls.Add(this.flowLayoutPanel1); - this.Margin = new System.Windows.Forms.Padding(0); - this.Name = "UcSplitPage"; - this.Size = new System.Drawing.Size(480, 23); - this.flowLayoutPanel2.ResumeLayout(false); - this.flowLayoutPanel2.PerformLayout(); - this.ResumeLayout(false); + this.cmbPageSize.Location = new System.Drawing.Point(108, 0); + this.cmbPageSize.Margin = new System.Windows.Forms.Padding(0); + this.cmbPageSize.Name = "cmbPageSize"; + this.cmbPageSize.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.cmbPageSize.Size = new System.Drawing.Size(45, 22); + this.cmbPageSize.TabIndex = 452; + this.cmbPageSize.Text = "50"; + this.cmbPageSize.Visible = false; + // + // UcSplitPage + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.Controls.Add(this.flowLayoutPanel2); + this.Controls.Add(this.flowLayoutPanel1); + this.Margin = new System.Windows.Forms.Padding(0); + this.Name = "UcSplitPage"; + this.Size = new System.Drawing.Size(480, 23); + this.flowLayoutPanel2.ResumeLayout(false); + this.flowLayoutPanel2.PerformLayout(); + this.ResumeLayout(false); } diff --git a/TEMUKJD/UserControls/UcSplitPage.cs b/TEMUKJD/UserControls/UcSplitPage.cs index ce3dcd7..1eb9426 100644 --- a/TEMUKJD/UserControls/UcSplitPage.cs +++ b/TEMUKJD/UserControls/UcSplitPage.cs @@ -32,7 +32,26 @@ namespace TemuKJD.UserControls } } } - long totalCount = 0; + /// + /// 是否显示总条数 + /// + [Description("显示总条数"), Category("UserProperty")] + public bool IsShowTotalCount + { + get + { + return this.lblTotal.Visible; + } + set + { + if (lblTotal.Visible != value) + { + this.lblTotal.Visible = value; + this.Invalidate(); + } + } + } + long totalCount = 0; /// /// 总数量 /// diff --git a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs index 95e5b08..8e5d493 100644 --- a/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs +++ b/TEMUKJD/WXForms/ProductForms/WXUserCollectAuthProdListForm.cs @@ -192,14 +192,16 @@ namespace TemuKJD.WXForms.ProductForms Task.Run(() => { int pageCount; + int totalCount; int pageSize = 100; decimal seconds; Invoke(new Action(() => { pageSize = this.ucSplitPage1.PageSize; })); - var list = GetProductList(out pageCount, out seconds, page, pageSize, isNotCount); + var list = GetProductList(out pageCount, out totalCount, out seconds, page, pageSize, isNotCount); lstTemuDbProduct.AddRange(list); - this.ucSplitPage1.TotalPage = pageCount; + this.ucSplitPage1.TotalPage = pageCount; + this.ucSplitPage1.TotalCount = totalCount; - if (defaultBitmap == null) + if (defaultBitmap == null) defaultBitmap = new Bitmap(80, 80); // 获取Bitmap的Graphics对象 using (Graphics g = Graphics.FromImage(defaultBitmap)) @@ -367,11 +369,12 @@ namespace TemuKJD.WXForms.ProductForms }); } - public List GetProductList(out int pageCount, out decimal seconds, int page = 1, int pageSize = 200, bool isNotCount = true) + public List GetProductList(out int pageCount, out int totalNum, out decimal seconds, int page = 1, int pageSize = 200, bool isNotCount = true) { List list = new List(); pageCount = 1; - seconds = 0; + totalNum = 0; + seconds = 0; var url = BaseClass.BuildPDDObjString("product/get_product_list"); if (shop != null && shop.DbId.ParseToInt() != 0) @@ -523,8 +526,8 @@ namespace TemuKJD.WXForms.ProductForms } seconds = BaseRegex.GetDecimalJson(ref html, "seconds"); - int count = BaseRegex.GetIntJson(ref html, "count"); - pageCount = Math.Ceiling(1.0 * count / pageSize).ParseToInt(); + totalNum = BaseRegex.GetIntJson(ref html, "count"); + pageCount = Math.Ceiling(1.0 * totalNum / pageSize).ParseToInt(); pageCount = Math.Max(pageCount, 1); if (isNotCount) pageCount = 1000;