diff --git a/TEMUKJD/BLL/WXHttpResponseBLL.cs b/TEMUKJD/BLL/WXHttpResponseBLL.cs index c1f4ad4..1a10b64 100644 --- a/TEMUKJD/BLL/WXHttpResponseBLL.cs +++ b/TEMUKJD/BLL/WXHttpResponseBLL.cs @@ -496,7 +496,92 @@ namespace TemuKJD.BLL return result; } - public static string kdniaoPostResponse(string _url, string _data, string referer, Dictionary reqDic, string kdnAuth = null, string kdnAuthKey = "Auth") + public static async Task WeiXinGetResponseAsync(ShopLoginInfo shop, string _url, string referer = "", bool isGetDocument = false) + { + string biz_magic = ""; + string cookies = ""; + try + { + var cookieLst = JsonHelper.DeserializeJsonToList(shop?.Cookies.ParseToString()); + if (cookieLst == null) + cookieLst = new List(); + foreach (var cook in cookieLst) + { + if (cook.Name.StartsWith("biz")) + cookies += cook.Name + "=" + cook.Value + ";"; + } + var bizMagicCookie = cookieLst.FirstOrDefault(c => c.Name == "biz_magic"); + if (bizMagicCookie != null) + biz_magic = bizMagicCookie.Value; + } + catch { } + + HttpWebResponse response = null; + string result; + try + { + string url = _url; + HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); + + request.KeepAlive = true; + if (isGetDocument) + { + request.Headers.Add("sec-ch-ua", @"""Not)A;Brand"";v=""8"", ""Chromium"";v=""138"""); + request.Headers.Add("sec-ch-ua-mobile", @"?0"); + request.Headers.Add("sec-ch-ua-platform", @"""Windows"""); + request.Headers.Add("Upgrade-Insecure-Requests", @"1"); + request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"; + request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"; + request.Headers.Set(HttpRequestHeader.Cookie, cookies); + request.Headers.Add("Sec-Fetch-Site", @"none"); + request.Headers.Add("Sec-Fetch-Mode", @"navigate"); + request.Headers.Add("Sec-Fetch-User", @"?1"); + request.Headers.Add("Sec-Fetch-Dest", @"document"); + } + else + { + request.Headers.Add("wecom_magic", @""); + request.Headers.Add("sec-ch-ua-platform", @"""Windows"""); + request.Headers.Add("supplier_magic", @""); + request.Headers.Add("sec-ch-ua", @"""Not)A;Brand"";v=""8"", ""Chromium"";v=""138"""); + request.Headers.Add("sec-ch-ua-mobile", @"?0"); + request.Headers.Add("potter-scene", @"weixinShop"); + request.Headers.Add("biz_magic", biz_magic); + request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"; + request.Accept = "application/json, text/plain, */*"; + request.Headers.Add("talent_magic", @""); + request.Headers.Add("mcn_magic", @""); + request.Headers.Set(HttpRequestHeader.Cookie, cookies); + request.Headers.Add("Sec-Fetch-Site", @"same-origin"); + request.Headers.Add("Sec-Fetch-Mode", @"cors"); + request.Headers.Add("Sec-Fetch-Dest", @"empty"); + request.Referer = referer; + request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br, zstd"); + request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9"); + } + + response = (HttpWebResponse)await request.GetResponseAsync(); + } + catch (WebException ex) + { + if (ex.Status == WebExceptionStatus.ProtocolError) + { + response = (HttpWebResponse)ex.Response; + result = GetProxyHtml.ReadResponse(response); + return result; + } + else return ex.Message; + } + catch (Exception e) + { + if (response != null) response.Close(); + return e.Message; + } + result = GetProxyHtml.ReadResponse(response); + return result; + } + + public static string kdniaoPostResponse(string _url, string _data, string referer, Dictionary reqDic, string kdnAuth = null, string kdnAuthKey = "Auth") { HttpWebResponse response = null; string result; diff --git a/TEMUKJD/WXForms/ShopForms/WXShopListForm.Designer.cs b/TEMUKJD/WXForms/ShopForms/WXShopListForm.Designer.cs index 29329d9..3fec74c 100644 --- a/TEMUKJD/WXForms/ShopForms/WXShopListForm.Designer.cs +++ b/TEMUKJD/WXForms/ShopForms/WXShopListForm.Designer.cs @@ -28,776 +28,833 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - this.label1 = new System.Windows.Forms.Label(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.panel5 = new System.Windows.Forms.Panel(); - this.btnCheck = new DevComponents.DotNetBar.PanelEx(); - this.btnEdit = new DevComponents.DotNetBar.PanelEx(); - this.btnLoginSelect = new TemuKJD.UserControls.ButtonEx(); - this.panel4 = new System.Windows.Forms.Panel(); - this.btnBatchRenewal = new DevComponents.DotNetBar.PanelEx(); - this.btnOpenOrderPage = new DevComponents.DotNetBar.PanelEx(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.cmbGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); - this.label2 = new System.Windows.Forms.Label(); - this.cmbNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); - this.txtShopId = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.txtShopName = new System.Windows.Forms.TextBox(); - this.label4 = new System.Windows.Forms.Label(); - this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx(); - this.btnEmpty = new DevComponents.DotNetBar.PanelEx(); - this.btnSearch = new DevComponents.DotNetBar.PanelEx(); - this.cmbSubAccount = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); - this.label5 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.btnAddShop = new TemuKJD.UserControls.ButtonEx(); - this.splitContainer2 = new System.Windows.Forms.SplitContainer(); - this.pnlTopUp = new System.Windows.Forms.Panel(); - this.txtPrice = new System.Windows.Forms.Label(); - this.lblShopId = new System.Windows.Forms.Label(); - this.lblShopInfo = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.label7 = new System.Windows.Forms.Label(); - this.numAddTopUp = new System.Windows.Forms.NumericUpDown(); - this.label8 = new System.Windows.Forms.Label(); - this.btnTopUpCancel = new DevComponents.DotNetBar.PanelEx(); - this.btnTopUpOK = new DevComponents.DotNetBar.PanelEx(); - this.btnRefreshAuth = new TemuKJD.UserControls.ButtonEx(); - this.pbLoading = new System.Windows.Forms.PictureBox(); - this.btnImport = new TemuKJD.UserControls.ButtonEx(); - this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx(); - this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.colLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colShopAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colExpireTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colRenewal = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colGroupName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colCookie = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colSubUser = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colSubUserAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colUploadAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colBuyAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colChatAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colGotoShop = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colShopOperate = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colRelogin = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colSwitchLogin = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colReLogin2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.colBuyApi = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colMultiLogin = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colApiAuth = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colBuyApiAuth = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colUpdateCookies = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colCopyCookies = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn(); - this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn(); - this.chkAutoDrag = new System.Windows.Forms.CheckBox(); - this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.panel5.SuspendLayout(); - this.panel4.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); - this.splitContainer2.Panel1.SuspendLayout(); - this.splitContainer2.Panel2.SuspendLayout(); - this.splitContainer2.SuspendLayout(); - this.pnlTopUp.SuspendLayout(); - this.panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numAddTopUp)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit(); - this.SuspendLayout(); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(13, 13); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(201, 17); - this.label1.TabIndex = 0; - this.label1.Text = "这里显示店铺列表 -- ShopListForm"; - // - // 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.tableLayoutPanel2); - // - // 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(1394, 622); - this.splitContainer1.SplitterDistance = 46; - this.splitContainer1.TabIndex = 33; - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.ColumnCount = 2; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel2.Controls.Add(this.panel5, 1, 0); - this.tableLayoutPanel2.Controls.Add(this.panel4, 0, 0); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(1394, 46); - this.tableLayoutPanel2.TabIndex = 37; - // - // panel5 - // - this.panel5.Controls.Add(this.btnCheck); - this.panel5.Controls.Add(this.btnEdit); - this.panel5.Controls.Add(this.btnLoginSelect); - this.panel5.Location = new System.Drawing.Point(1142, 3); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(249, 40); - this.panel5.TabIndex = 1; - // - // btnCheck - // - this.btnCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.btnCheck.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnCheck.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnCheck.DisabledBackColor = System.Drawing.Color.Empty; - this.btnCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnCheck.Location = new System.Drawing.Point(98, 10); - this.btnCheck.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnCheck.Name = "btnCheck"; - this.btnCheck.Size = new System.Drawing.Size(60, 23); - this.btnCheck.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnCheck.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnCheck.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnCheck.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnCheck.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnCheck.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnCheck.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnCheck.Style.GradientAngle = 90; - this.btnCheck.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnCheck.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnCheck.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnCheck.TabIndex = 810; - this.btnCheck.Text = "检测选中"; - this.btnCheck.Click += new System.EventHandler(this.btnCheck_Click); - // - // btnEdit - // - this.btnEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.btnEdit.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnEdit.DisabledBackColor = System.Drawing.Color.Empty; - this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnEdit.Location = new System.Drawing.Point(33, 10); - this.btnEdit.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnEdit.Name = "btnEdit"; - this.btnEdit.Size = new System.Drawing.Size(60, 23); - this.btnEdit.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnEdit.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnEdit.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnEdit.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnEdit.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnEdit.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnEdit.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnEdit.Style.GradientAngle = 90; - this.btnEdit.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnEdit.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnEdit.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnEdit.TabIndex = 806; - this.btnEdit.Text = "编辑选中"; - this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); - // - // btnLoginSelect - // - this.btnLoginSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnLoginSelect.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnLoginSelect.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLoginSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnLoginSelect.ForeColor = System.Drawing.Color.White; - this.btnLoginSelect.Location = new System.Drawing.Point(163, 9); - this.btnLoginSelect.Margin = new System.Windows.Forms.Padding(2); - this.btnLoginSelect.Name = "btnLoginSelect"; - this.btnLoginSelect.Size = new System.Drawing.Size(66, 25); - this.btnLoginSelect.TabIndex = 373; - this.btnLoginSelect.Text = "登录选中"; - this.btnLoginSelect.UseVisualStyleBackColor = false; - this.btnLoginSelect.Click += new System.EventHandler(this.btnLoginSelect_Click); - // - // panel4 - // - this.panel4.Controls.Add(this.btnBatchRenewal); - this.panel4.Controls.Add(this.btnOpenOrderPage); - this.panel4.Controls.Add(this.tableLayoutPanel1); - this.panel4.Controls.Add(this.btnAddShop); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(3, 3); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(1133, 40); - this.panel4.TabIndex = 0; - // - // btnBatchRenewal - // - this.btnBatchRenewal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnBatchRenewal.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnBatchRenewal.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnBatchRenewal.DisabledBackColor = System.Drawing.Color.Empty; - this.btnBatchRenewal.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnBatchRenewal.Location = new System.Drawing.Point(935, 9); - this.btnBatchRenewal.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnBatchRenewal.Name = "btnBatchRenewal"; - this.btnBatchRenewal.Size = new System.Drawing.Size(79, 23); - this.btnBatchRenewal.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnBatchRenewal.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnBatchRenewal.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnBatchRenewal.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnBatchRenewal.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnBatchRenewal.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnBatchRenewal.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnBatchRenewal.Style.GradientAngle = 90; - this.btnBatchRenewal.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnBatchRenewal.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnBatchRenewal.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnBatchRenewal.TabIndex = 806; - this.btnBatchRenewal.Text = "批量续期"; - this.btnBatchRenewal.Visible = false; - this.btnBatchRenewal.Click += new System.EventHandler(this.btnBatchRenewal_Click); - // - // btnOpenOrderPage - // - this.btnOpenOrderPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnOpenOrderPage.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnOpenOrderPage.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnOpenOrderPage.DisabledBackColor = System.Drawing.Color.Empty; - this.btnOpenOrderPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnOpenOrderPage.Location = new System.Drawing.Point(1018, 9); - this.btnOpenOrderPage.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnOpenOrderPage.Name = "btnOpenOrderPage"; - this.btnOpenOrderPage.Size = new System.Drawing.Size(106, 23); - this.btnOpenOrderPage.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnOpenOrderPage.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnOpenOrderPage.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnOpenOrderPage.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnOpenOrderPage.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnOpenOrderPage.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnOpenOrderPage.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnOpenOrderPage.Style.GradientAngle = 90; - this.btnOpenOrderPage.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnOpenOrderPage.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnOpenOrderPage.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnOpenOrderPage.TabIndex = 802; - this.btnOpenOrderPage.Text = "登录订单系统"; - this.btnOpenOrderPage.Click += new System.EventHandler(this.btnOpenOrder_Click); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + this.label1 = new System.Windows.Forms.Label(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.btnCheck = new DevComponents.DotNetBar.PanelEx(); + this.btnEdit = new DevComponents.DotNetBar.PanelEx(); + this.btnLoginSelect = new TemuKJD.UserControls.ButtonEx(); + this.panel4 = new System.Windows.Forms.Panel(); + this.btnCancel = new DevComponents.DotNetBar.PanelEx(); + this.btnAutoBatchLogin = new DevComponents.DotNetBar.PanelEx(); + this.btnBatchRenewal = new DevComponents.DotNetBar.PanelEx(); + this.btnOpenOrderPage = new DevComponents.DotNetBar.PanelEx(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.cmbGroup = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.label2 = new System.Windows.Forms.Label(); + this.cmbNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.txtShopId = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.txtShopName = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx(); + this.btnEmpty = new DevComponents.DotNetBar.PanelEx(); + this.btnSearch = new DevComponents.DotNetBar.PanelEx(); + this.cmbSubAccount = new TemuKJD.UserComponent.UcComboBoxMutiSelect(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.btnAddShop = new TemuKJD.UserControls.ButtonEx(); + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); + this.pnlTopUp = new System.Windows.Forms.Panel(); + this.txtPrice = new System.Windows.Forms.Label(); + this.lblShopId = new System.Windows.Forms.Label(); + this.lblShopInfo = new System.Windows.Forms.Label(); + this.panel2 = new System.Windows.Forms.Panel(); + this.label7 = new System.Windows.Forms.Label(); + this.numAddTopUp = new System.Windows.Forms.NumericUpDown(); + this.label8 = new System.Windows.Forms.Label(); + this.btnTopUpCancel = new DevComponents.DotNetBar.PanelEx(); + this.btnTopUpOK = new DevComponents.DotNetBar.PanelEx(); + this.btnRefreshAuth = new TemuKJD.UserControls.ButtonEx(); + this.pbLoading = new System.Windows.Forms.PictureBox(); + this.btnImport = new TemuKJD.UserControls.ButtonEx(); + this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx(); + this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.colLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colShopAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colExpireTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colRenewal = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colNotes = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colGroupName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colCookie = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSubUser = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colSubUserAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colUploadAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colBuyAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colChatAccount = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colGotoShop = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colShopOperate = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colRelogin = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colSwitchLogin = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colReLogin2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.colBuyApi = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colMultiLogin = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colApiAuth = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colBuyApiAuth = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colUpdateCookies = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colCopyCookies = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colEdit = new System.Windows.Forms.DataGridViewLinkColumn(); + this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn(); + this.chkAutoDrag = new System.Windows.Forms.CheckBox(); + this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel4.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); + this.splitContainer2.Panel1.SuspendLayout(); + this.splitContainer2.Panel2.SuspendLayout(); + this.splitContainer2.SuspendLayout(); + this.pnlTopUp.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numAddTopUp)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(13, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(201, 17); + this.label1.TabIndex = 0; + this.label1.Text = "这里显示店铺列表 -- ShopListForm"; + // + // 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.tableLayoutPanel2); + // + // 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(1394, 622); + this.splitContainer1.SplitterDistance = 46; + this.splitContainer1.TabIndex = 33; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 2; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel2.Controls.Add(this.panel5, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.panel4, 0, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1394, 46); + this.tableLayoutPanel2.TabIndex = 37; + // + // panel5 + // + this.panel5.Controls.Add(this.btnCheck); + this.panel5.Controls.Add(this.btnEdit); + this.panel5.Controls.Add(this.btnLoginSelect); + this.panel5.Location = new System.Drawing.Point(1166, 3); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(225, 40); + this.panel5.TabIndex = 1; + // + // btnCheck + // + this.btnCheck.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnCheck.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnCheck.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnCheck.DisabledBackColor = System.Drawing.Color.Empty; + this.btnCheck.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnCheck.Location = new System.Drawing.Point(82, 10); + this.btnCheck.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnCheck.Name = "btnCheck"; + this.btnCheck.Size = new System.Drawing.Size(60, 23); + this.btnCheck.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnCheck.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCheck.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCheck.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnCheck.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnCheck.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnCheck.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnCheck.Style.GradientAngle = 90; + this.btnCheck.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnCheck.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnCheck.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnCheck.TabIndex = 810; + this.btnCheck.Text = "检测选中"; + this.btnCheck.Click += new System.EventHandler(this.btnCheck_Click); + // + // btnEdit + // + this.btnEdit.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnEdit.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnEdit.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnEdit.DisabledBackColor = System.Drawing.Color.Empty; + this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnEdit.Location = new System.Drawing.Point(17, 10); + this.btnEdit.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnEdit.Name = "btnEdit"; + this.btnEdit.Size = new System.Drawing.Size(60, 23); + this.btnEdit.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnEdit.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEdit.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEdit.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnEdit.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnEdit.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnEdit.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnEdit.Style.GradientAngle = 90; + this.btnEdit.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnEdit.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnEdit.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnEdit.TabIndex = 806; + this.btnEdit.Text = "编辑选中"; + this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click); + // + // btnLoginSelect + // + this.btnLoginSelect.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.btnLoginSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnLoginSelect.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnLoginSelect.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnLoginSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnLoginSelect.ForeColor = System.Drawing.Color.White; + this.btnLoginSelect.Location = new System.Drawing.Point(147, 9); + this.btnLoginSelect.Margin = new System.Windows.Forms.Padding(2); + this.btnLoginSelect.Name = "btnLoginSelect"; + this.btnLoginSelect.Size = new System.Drawing.Size(66, 25); + this.btnLoginSelect.TabIndex = 373; + this.btnLoginSelect.Text = "登录选中"; + this.btnLoginSelect.UseVisualStyleBackColor = false; + this.btnLoginSelect.Click += new System.EventHandler(this.btnLoginSelect_Click); + // + // panel4 + // + this.panel4.Controls.Add(this.btnCancel); + this.panel4.Controls.Add(this.btnAutoBatchLogin); + this.panel4.Controls.Add(this.btnBatchRenewal); + this.panel4.Controls.Add(this.btnOpenOrderPage); + this.panel4.Controls.Add(this.tableLayoutPanel1); + this.panel4.Controls.Add(this.btnAddShop); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(3, 3); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(1157, 40); + this.panel4.TabIndex = 0; + // + // btnCancel + // + this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnCancel.CanvasColor = System.Drawing.SystemColors.Control; + this.btnCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnCancel.Location = new System.Drawing.Point(959, 9); + this.btnCancel.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(31, 23); + this.btnCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnCancel.Style.GradientAngle = 90; + this.btnCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnCancel.TabIndex = 823; + this.btnCancel.Text = "取消"; + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + // + // btnAutoBatchLogin + // + this.btnAutoBatchLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnAutoBatchLogin.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnAutoBatchLogin.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAutoBatchLogin.DisabledBackColor = System.Drawing.Color.Empty; + this.btnAutoBatchLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAutoBatchLogin.Location = new System.Drawing.Point(875, 9); + this.btnAutoBatchLogin.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnAutoBatchLogin.Name = "btnAutoBatchLogin"; + this.btnAutoBatchLogin.Size = new System.Drawing.Size(84, 23); + this.btnAutoBatchLogin.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnAutoBatchLogin.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAutoBatchLogin.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAutoBatchLogin.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnAutoBatchLogin.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnAutoBatchLogin.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnAutoBatchLogin.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnAutoBatchLogin.Style.GradientAngle = 90; + this.btnAutoBatchLogin.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnAutoBatchLogin.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAutoBatchLogin.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnAutoBatchLogin.TabIndex = 819; + this.btnAutoBatchLogin.Text = "自动批量登录"; + this.btnAutoBatchLogin.Click += new System.EventHandler(this.btnAutoBatchLogin_Click); + // + // btnBatchRenewal + // + this.btnBatchRenewal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnBatchRenewal.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnBatchRenewal.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnBatchRenewal.DisabledBackColor = System.Drawing.Color.Empty; + this.btnBatchRenewal.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnBatchRenewal.Location = new System.Drawing.Point(1004, 9); + this.btnBatchRenewal.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnBatchRenewal.Name = "btnBatchRenewal"; + this.btnBatchRenewal.Size = new System.Drawing.Size(58, 23); + this.btnBatchRenewal.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnBatchRenewal.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBatchRenewal.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnBatchRenewal.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnBatchRenewal.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnBatchRenewal.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnBatchRenewal.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnBatchRenewal.Style.GradientAngle = 90; + this.btnBatchRenewal.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnBatchRenewal.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBatchRenewal.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnBatchRenewal.TabIndex = 806; + this.btnBatchRenewal.Text = "批量续期"; + this.btnBatchRenewal.Visible = false; + this.btnBatchRenewal.Click += new System.EventHandler(this.btnBatchRenewal_Click); + // + // btnOpenOrderPage + // + this.btnOpenOrderPage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnOpenOrderPage.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnOpenOrderPage.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnOpenOrderPage.DisabledBackColor = System.Drawing.Color.Empty; + this.btnOpenOrderPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnOpenOrderPage.Location = new System.Drawing.Point(1065, 9); + this.btnOpenOrderPage.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnOpenOrderPage.Name = "btnOpenOrderPage"; + this.btnOpenOrderPage.Size = new System.Drawing.Size(83, 23); + this.btnOpenOrderPage.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnOpenOrderPage.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnOpenOrderPage.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnOpenOrderPage.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnOpenOrderPage.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnOpenOrderPage.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnOpenOrderPage.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnOpenOrderPage.Style.GradientAngle = 90; + this.btnOpenOrderPage.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnOpenOrderPage.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnOpenOrderPage.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnOpenOrderPage.TabIndex = 802; + this.btnOpenOrderPage.Text = "登录订单系统"; + this.btnOpenOrderPage.Click += new System.EventHandler(this.btnOpenOrder_Click); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.tableLayoutPanel1.ColumnCount = 17; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00054F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00053F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00053F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.99841F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.Controls.Add(this.cmbGroup, 7, 0); - this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 5, 0); - this.tableLayoutPanel1.Controls.Add(this.txtShopId, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); - this.tableLayoutPanel1.Controls.Add(this.txtShopName, 3, 0); - this.tableLayoutPanel1.Controls.Add(this.label4, 4, 0); - this.tableLayoutPanel1.Controls.Add(this.btnRefreshShop, 11, 0); - this.tableLayoutPanel1.Controls.Add(this.btnEmpty, 15, 0); - this.tableLayoutPanel1.Controls.Add(this.btnSearch, 13, 0); - this.tableLayoutPanel1.Controls.Add(this.cmbSubAccount, 9, 0); - this.tableLayoutPanel1.Controls.Add(this.label5, 8, 0); - this.tableLayoutPanel1.Controls.Add(this.label6, 6, 0); - this.tableLayoutPanel1.Location = new System.Drawing.Point(94, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 1; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(767, 40); - this.tableLayoutPanel1.TabIndex = 375; - // - // cmbGroup - // - this.cmbGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.cmbGroup.DefaultText = "全部"; - this.cmbGroup.DropDownHeight = 1; - this.cmbGroup.DropDownWidth = 1; - this.cmbGroup.FormattingEnabled = true; - this.cmbGroup.IntegralHeight = false; - this.cmbGroup.Location = new System.Drawing.Point(385, 8); - this.cmbGroup.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); - this.cmbGroup.Name = "cmbGroup"; - this.cmbGroup.Size = new System.Drawing.Size(74, 25); - this.cmbGroup.TabIndex = 803; - this.cmbGroup.Text = "全部"; - // - // label2 - // - this.label2.Anchor = System.Windows.Forms.AnchorStyles.None; - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(3, 11); - this.label2.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(43, 17); - this.label2.TabIndex = 373; - this.label2.Text = "店铺id"; - // - // cmbNotes - // - this.cmbNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.cmbNotes.DefaultText = "全部"; - this.cmbNotes.DropDownHeight = 1; - this.cmbNotes.DropDownWidth = 1; - this.cmbNotes.FormattingEnabled = true; - this.cmbNotes.IntegralHeight = false; - this.cmbNotes.Location = new System.Drawing.Point(276, 8); - this.cmbNotes.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); - this.cmbNotes.Name = "cmbNotes"; - this.cmbNotes.Size = new System.Drawing.Size(74, 25); - this.cmbNotes.TabIndex = 413; - this.cmbNotes.Text = "全部"; - // - // txtShopId - // - this.txtShopId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.txtShopId.Location = new System.Drawing.Point(46, 8); - this.txtShopId.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.txtShopId.Name = "txtShopId"; - this.txtShopId.Size = new System.Drawing.Size(74, 23); - this.txtShopId.TabIndex = 372; - // - // label3 - // - this.label3.Anchor = System.Windows.Forms.AnchorStyles.None; - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(123, 11); - this.label3.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(44, 17); - this.label3.TabIndex = 375; - this.label3.Text = "店铺名"; - // - // txtShopName - // - this.txtShopName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.txtShopName.Location = new System.Drawing.Point(167, 8); - this.txtShopName.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.txtShopName.Name = "txtShopName"; - this.txtShopName.Size = new System.Drawing.Size(74, 23); - this.txtShopName.TabIndex = 374; - // - // label4 - // - this.label4.Anchor = System.Windows.Forms.AnchorStyles.None; - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(244, 11); - this.label4.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(32, 17); - this.label4.TabIndex = 377; - this.label4.Text = "备注"; - // - // btnRefreshShop - // - this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty; - this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshShop.Location = new System.Drawing.Point(582, 8); - this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnRefreshShop.Name = "btnRefreshShop"; - this.btnRefreshShop.Size = new System.Drawing.Size(60, 23); - this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnRefreshShop.Style.GradientAngle = 90; - this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnRefreshShop.TabIndex = 802; - this.btnRefreshShop.Text = "刷新店铺"; - this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshCookie_Click); - // - // btnEmpty - // - this.btnEmpty.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control; - this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty; - this.btnEmpty.Location = new System.Drawing.Point(706, 8); - this.btnEmpty.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnEmpty.Name = "btnEmpty"; - this.btnEmpty.Size = new System.Drawing.Size(60, 23); - this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.btnEmpty.Style.GradientAngle = 90; - this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; - this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.btnEmpty.TabIndex = 409; - this.btnEmpty.Text = "清空条件"; - this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click); - // - // btnSearch - // - this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - 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(644, 8); - this.btnSearch.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); - this.btnSearch.Name = "btnSearch"; - this.btnSearch.Size = new System.Drawing.Size(60, 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 = 798; - this.btnSearch.Text = "筛选"; - this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); - // - // cmbSubAccount - // - this.cmbSubAccount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); - this.cmbSubAccount.DefaultText = "全部"; - this.cmbSubAccount.DropDownHeight = 1; - this.cmbSubAccount.DropDownWidth = 1; - this.cmbSubAccount.FormattingEnabled = true; - this.cmbSubAccount.IntegralHeight = false; - this.cmbSubAccount.Location = new System.Drawing.Point(506, 8); - this.cmbSubAccount.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); - this.cmbSubAccount.Name = "cmbSubAccount"; - this.cmbSubAccount.Size = new System.Drawing.Size(74, 25); - this.cmbSubAccount.TabIndex = 415; - this.cmbSubAccount.Text = "全部"; - // - // label5 - // - this.label5.Anchor = System.Windows.Forms.AnchorStyles.None; - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(462, 11); - this.label5.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(44, 17); - this.label5.TabIndex = 414; - this.label5.Text = "子账户"; - // - // label6 - // - this.label6.Anchor = System.Windows.Forms.AnchorStyles.None; - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(353, 11); - this.label6.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(32, 17); - this.label6.TabIndex = 415; - this.label6.Text = "分组"; - // - // btnAddShop - // - this.btnAddShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnAddShop.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnAddShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnAddShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAddShop.ForeColor = System.Drawing.Color.White; - this.btnAddShop.Location = new System.Drawing.Point(1, 9); - this.btnAddShop.Margin = new System.Windows.Forms.Padding(2); - this.btnAddShop.Name = "btnAddShop"; - this.btnAddShop.Size = new System.Drawing.Size(90, 25); - this.btnAddShop.TabIndex = 370; - this.btnAddShop.Text = "扫码添加店铺"; - this.btnAddShop.UseVisualStyleBackColor = false; - this.btnAddShop.Click += new System.EventHandler(this.btnAddShop_Click); - // - // splitContainer2 - // - this.splitContainer2.BackColor = System.Drawing.Color.White; - this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; - 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.pnlTopUp); - this.splitContainer2.Panel1.Controls.Add(this.btnRefreshAuth); - this.splitContainer2.Panel1.Controls.Add(this.pbLoading); - this.splitContainer2.Panel1.Controls.Add(this.btnImport); - this.splitContainer2.Panel1.Controls.Add(this.dgvShop); - this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); - // - // splitContainer2.Panel2 - // - this.splitContainer2.Panel2.Controls.Add(this.chkAutoDrag); - this.splitContainer2.Panel2.Controls.Add(this.statusBar); - this.splitContainer2.Size = new System.Drawing.Size(1394, 572); - this.splitContainer2.SplitterDistance = 540; - this.splitContainer2.TabIndex = 0; - // - // pnlTopUp - // - this.pnlTopUp.Anchor = System.Windows.Forms.AnchorStyles.None; - this.pnlTopUp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pnlTopUp.Controls.Add(this.txtPrice); - this.pnlTopUp.Controls.Add(this.lblShopId); - this.pnlTopUp.Controls.Add(this.lblShopInfo); - this.pnlTopUp.Controls.Add(this.panel2); - this.pnlTopUp.Location = new System.Drawing.Point(460, 197); - this.pnlTopUp.Name = "pnlTopUp"; - this.pnlTopUp.Size = new System.Drawing.Size(474, 146); - this.pnlTopUp.TabIndex = 375; - this.pnlTopUp.Visible = false; - // - // txtPrice - // - this.txtPrice.Location = new System.Drawing.Point(125, 115); - this.txtPrice.Name = "txtPrice"; - this.txtPrice.Size = new System.Drawing.Size(322, 17); - this.txtPrice.TabIndex = 457; - this.txtPrice.Text = "预计续费点数:0"; - this.txtPrice.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // lblShopId - // - this.lblShopId.AutoSize = true; - this.lblShopId.Location = new System.Drawing.Point(20, 115); - this.lblShopId.Name = "lblShopId"; - this.lblShopId.Size = new System.Drawing.Size(50, 17); - this.lblShopId.TabIndex = 456; - this.lblShopId.Text = "ShopId"; - this.lblShopId.Visible = false; - // - // lblShopInfo - // - this.lblShopInfo.AutoSize = true; - this.lblShopInfo.Location = new System.Drawing.Point(20, 19); - this.lblShopInfo.Name = "lblShopInfo"; - this.lblShopInfo.Size = new System.Drawing.Size(61, 17); - this.lblShopInfo.TabIndex = 455; - this.lblShopInfo.Text = "ShopInfo"; - // - // panel2 - // - this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.panel2.Controls.Add(this.label7); - this.panel2.Controls.Add(this.numAddTopUp); - this.panel2.Controls.Add(this.label8); - this.panel2.Controls.Add(this.btnTopUpCancel); - this.panel2.Controls.Add(this.btnTopUpOK); - this.panel2.Location = new System.Drawing.Point(23, 52); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(424, 57); - this.panel2.TabIndex = 454; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(191, 19); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(32, 17); - this.label7.TabIndex = 465; - this.label7.Text = "个月"; - // - // numAddTopUp - // - this.numAddTopUp.Location = new System.Drawing.Point(151, 16); - this.numAddTopUp.Maximum = new decimal(new int[] { + this.tableLayoutPanel1.ColumnCount = 17; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00054F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00053F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00053F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.99841F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 2F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.Controls.Add(this.cmbGroup, 7, 0); + this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 5, 0); + this.tableLayoutPanel1.Controls.Add(this.txtShopId, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.label3, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.txtShopName, 3, 0); + this.tableLayoutPanel1.Controls.Add(this.label4, 4, 0); + this.tableLayoutPanel1.Controls.Add(this.btnRefreshShop, 11, 0); + this.tableLayoutPanel1.Controls.Add(this.btnEmpty, 15, 0); + this.tableLayoutPanel1.Controls.Add(this.btnSearch, 13, 0); + this.tableLayoutPanel1.Controls.Add(this.cmbSubAccount, 9, 0); + this.tableLayoutPanel1.Controls.Add(this.label5, 8, 0); + this.tableLayoutPanel1.Controls.Add(this.label6, 6, 0); + this.tableLayoutPanel1.Location = new System.Drawing.Point(94, 0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(774, 40); + this.tableLayoutPanel1.TabIndex = 375; + // + // cmbGroup + // + this.cmbGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.cmbGroup.DefaultText = "全部"; + this.cmbGroup.DropDownHeight = 1; + this.cmbGroup.DropDownWidth = 1; + this.cmbGroup.FormattingEnabled = true; + this.cmbGroup.IntegralHeight = false; + this.cmbGroup.Location = new System.Drawing.Point(388, 8); + this.cmbGroup.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); + this.cmbGroup.Name = "cmbGroup"; + this.cmbGroup.Size = new System.Drawing.Size(75, 25); + this.cmbGroup.TabIndex = 803; + this.cmbGroup.Text = "全部"; + // + // label2 + // + this.label2.Anchor = System.Windows.Forms.AnchorStyles.None; + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(3, 11); + this.label2.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(43, 17); + this.label2.TabIndex = 373; + this.label2.Text = "店铺id"; + // + // cmbNotes + // + this.cmbNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.cmbNotes.DefaultText = "全部"; + this.cmbNotes.DropDownHeight = 1; + this.cmbNotes.DropDownWidth = 1; + this.cmbNotes.FormattingEnabled = true; + this.cmbNotes.IntegralHeight = false; + this.cmbNotes.Location = new System.Drawing.Point(278, 8); + this.cmbNotes.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); + this.cmbNotes.Name = "cmbNotes"; + this.cmbNotes.Size = new System.Drawing.Size(75, 25); + this.cmbNotes.TabIndex = 413; + this.cmbNotes.Text = "全部"; + // + // txtShopId + // + this.txtShopId.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.txtShopId.Location = new System.Drawing.Point(46, 8); + this.txtShopId.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.txtShopId.Name = "txtShopId"; + this.txtShopId.Size = new System.Drawing.Size(75, 23); + this.txtShopId.TabIndex = 372; + // + // label3 + // + this.label3.Anchor = System.Windows.Forms.AnchorStyles.None; + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(124, 11); + this.label3.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(44, 17); + this.label3.TabIndex = 375; + this.label3.Text = "店铺名"; + // + // txtShopName + // + this.txtShopName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.txtShopName.Location = new System.Drawing.Point(168, 8); + this.txtShopName.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.txtShopName.Name = "txtShopName"; + this.txtShopName.Size = new System.Drawing.Size(75, 23); + this.txtShopName.TabIndex = 374; + // + // label4 + // + this.label4.Anchor = System.Windows.Forms.AnchorStyles.None; + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(246, 11); + this.label4.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(32, 17); + this.label4.TabIndex = 377; + this.label4.Text = "备注"; + // + // btnRefreshShop + // + this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty; + this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnRefreshShop.Location = new System.Drawing.Point(587, 8); + this.btnRefreshShop.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnRefreshShop.Name = "btnRefreshShop"; + this.btnRefreshShop.Size = new System.Drawing.Size(60, 23); + this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnRefreshShop.Style.GradientAngle = 90; + this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnRefreshShop.TabIndex = 802; + this.btnRefreshShop.Text = "刷新店铺"; + this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshCookie_Click); + // + // btnEmpty + // + this.btnEmpty.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control; + this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty; + this.btnEmpty.Location = new System.Drawing.Point(711, 8); + this.btnEmpty.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnEmpty.Name = "btnEmpty"; + this.btnEmpty.Size = new System.Drawing.Size(60, 23); + this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnEmpty.Style.GradientAngle = 90; + this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnEmpty.TabIndex = 409; + this.btnEmpty.Text = "清空条件"; + this.btnEmpty.Click += new System.EventHandler(this.btnEmpty_Click); + // + // btnSearch + // + this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + 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(649, 8); + this.btnSearch.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); + this.btnSearch.Name = "btnSearch"; + this.btnSearch.Size = new System.Drawing.Size(60, 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 = 798; + this.btnSearch.Text = "筛选"; + this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); + // + // cmbSubAccount + // + this.cmbSubAccount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.cmbSubAccount.DefaultText = "全部"; + this.cmbSubAccount.DropDownHeight = 1; + this.cmbSubAccount.DropDownWidth = 1; + this.cmbSubAccount.FormattingEnabled = true; + this.cmbSubAccount.IntegralHeight = false; + this.cmbSubAccount.Location = new System.Drawing.Point(510, 8); + this.cmbSubAccount.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); + this.cmbSubAccount.Name = "cmbSubAccount"; + this.cmbSubAccount.Size = new System.Drawing.Size(75, 25); + this.cmbSubAccount.TabIndex = 415; + this.cmbSubAccount.Text = "全部"; + // + // label5 + // + this.label5.Anchor = System.Windows.Forms.AnchorStyles.None; + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(466, 11); + this.label5.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(44, 17); + this.label5.TabIndex = 414; + this.label5.Text = "子账户"; + // + // label6 + // + this.label6.Anchor = System.Windows.Forms.AnchorStyles.None; + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(356, 11); + this.label6.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(32, 17); + this.label6.TabIndex = 415; + this.label6.Text = "分组"; + // + // btnAddShop + // + this.btnAddShop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnAddShop.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnAddShop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnAddShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnAddShop.ForeColor = System.Drawing.Color.White; + this.btnAddShop.Location = new System.Drawing.Point(1, 9); + this.btnAddShop.Margin = new System.Windows.Forms.Padding(2); + this.btnAddShop.Name = "btnAddShop"; + this.btnAddShop.Size = new System.Drawing.Size(90, 25); + this.btnAddShop.TabIndex = 370; + this.btnAddShop.Text = "扫码添加店铺"; + this.btnAddShop.UseVisualStyleBackColor = false; + this.btnAddShop.Click += new System.EventHandler(this.btnAddShop_Click); + // + // splitContainer2 + // + this.splitContainer2.BackColor = System.Drawing.Color.White; + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + 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.pnlTopUp); + this.splitContainer2.Panel1.Controls.Add(this.btnRefreshAuth); + this.splitContainer2.Panel1.Controls.Add(this.pbLoading); + this.splitContainer2.Panel1.Controls.Add(this.btnImport); + this.splitContainer2.Panel1.Controls.Add(this.dgvShop); + this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); + // + // splitContainer2.Panel2 + // + this.splitContainer2.Panel2.Controls.Add(this.chkAutoDrag); + this.splitContainer2.Panel2.Controls.Add(this.statusBar); + this.splitContainer2.Size = new System.Drawing.Size(1394, 572); + this.splitContainer2.SplitterDistance = 540; + this.splitContainer2.TabIndex = 0; + // + // pnlTopUp + // + this.pnlTopUp.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pnlTopUp.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnlTopUp.Controls.Add(this.txtPrice); + this.pnlTopUp.Controls.Add(this.lblShopId); + this.pnlTopUp.Controls.Add(this.lblShopInfo); + this.pnlTopUp.Controls.Add(this.panel2); + this.pnlTopUp.Location = new System.Drawing.Point(460, 197); + this.pnlTopUp.Name = "pnlTopUp"; + this.pnlTopUp.Size = new System.Drawing.Size(474, 146); + this.pnlTopUp.TabIndex = 375; + this.pnlTopUp.Visible = false; + // + // txtPrice + // + this.txtPrice.Location = new System.Drawing.Point(125, 115); + this.txtPrice.Name = "txtPrice"; + this.txtPrice.Size = new System.Drawing.Size(322, 17); + this.txtPrice.TabIndex = 457; + this.txtPrice.Text = "预计续费点数:0"; + this.txtPrice.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lblShopId + // + this.lblShopId.AutoSize = true; + this.lblShopId.Location = new System.Drawing.Point(20, 115); + this.lblShopId.Name = "lblShopId"; + this.lblShopId.Size = new System.Drawing.Size(50, 17); + this.lblShopId.TabIndex = 456; + this.lblShopId.Text = "ShopId"; + this.lblShopId.Visible = false; + // + // lblShopInfo + // + this.lblShopInfo.AutoSize = true; + this.lblShopInfo.Location = new System.Drawing.Point(20, 19); + this.lblShopInfo.Name = "lblShopInfo"; + this.lblShopInfo.Size = new System.Drawing.Size(61, 17); + this.lblShopInfo.TabIndex = 455; + this.lblShopInfo.Text = "ShopInfo"; + // + // panel2 + // + this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.panel2.Controls.Add(this.label7); + this.panel2.Controls.Add(this.numAddTopUp); + this.panel2.Controls.Add(this.label8); + this.panel2.Controls.Add(this.btnTopUpCancel); + this.panel2.Controls.Add(this.btnTopUpOK); + this.panel2.Location = new System.Drawing.Point(23, 52); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(424, 57); + this.panel2.TabIndex = 454; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(191, 19); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(32, 17); + this.label7.TabIndex = 465; + this.label7.Text = "个月"; + // + // numAddTopUp + // + this.numAddTopUp.Location = new System.Drawing.Point(151, 16); + this.numAddTopUp.Maximum = new decimal(new int[] { 10000, 0, 0, 0}); - this.numAddTopUp.Minimum = new decimal(new int[] { + this.numAddTopUp.Minimum = new decimal(new int[] { 1, 0, 0, 0}); - this.numAddTopUp.Name = "numAddTopUp"; - this.numAddTopUp.ReadOnly = true; - this.numAddTopUp.Size = new System.Drawing.Size(36, 23); - this.numAddTopUp.TabIndex = 1; - this.numAddTopUp.Value = new decimal(new int[] { + this.numAddTopUp.Name = "numAddTopUp"; + this.numAddTopUp.ReadOnly = true; + this.numAddTopUp.Size = new System.Drawing.Size(36, 23); + this.numAddTopUp.TabIndex = 1; + this.numAddTopUp.Value = new decimal(new int[] { 1, 0, 0, 0}); - this.numAddTopUp.ValueChanged += new System.EventHandler(this.numAddTopUp_ValueChanged); - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(87, 19); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(68, 17); - this.label8.TabIndex = 456; - this.label8.Text = "店铺续费:"; - // - // btnTopUpCancel - // - this.btnTopUpCancel.CanvasColor = System.Drawing.SystemColors.Control; - this.btnTopUpCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnTopUpCancel.DisabledBackColor = System.Drawing.Color.Empty; - this.btnTopUpCancel.Location = new System.Drawing.Point(284, 16); - this.btnTopUpCancel.Name = "btnTopUpCancel"; - this.btnTopUpCancel.Size = new System.Drawing.Size(56, 23); - this.btnTopUpCancel.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnTopUpCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.btnTopUpCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); - this.btnTopUpCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.btnTopUpCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnTopUpCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.btnTopUpCancel.Style.GradientAngle = 90; - this.btnTopUpCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; - this.btnTopUpCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnTopUpCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnTopUpCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnTopUpCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.btnTopUpCancel.TabIndex = 458; - this.btnTopUpCancel.Text = "取消"; - this.btnTopUpCancel.Click += new System.EventHandler(this.btnTopUpCancel_Click); - // - // btnTopUpOK - // - this.btnTopUpOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnTopUpOK.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnTopUpOK.DisabledBackColor = System.Drawing.Color.Empty; - this.btnTopUpOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnTopUpOK.Location = new System.Drawing.Point(225, 16); - this.btnTopUpOK.Name = "btnTopUpOK"; - this.btnTopUpOK.Size = new System.Drawing.Size(56, 23); - this.btnTopUpOK.Style.Alignment = System.Drawing.StringAlignment.Center; - this.btnTopUpOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnTopUpOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnTopUpOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.btnTopUpOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.btnTopUpOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.btnTopUpOK.Style.ForeColor.Color = System.Drawing.Color.White; - this.btnTopUpOK.Style.GradientAngle = 90; - this.btnTopUpOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.btnTopUpOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnTopUpOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.btnTopUpOK.TabIndex = 453; - this.btnTopUpOK.Text = "确定"; - this.btnTopUpOK.Click += new System.EventHandler(this.btnTopUpOK_Click); - // - // btnRefreshAuth - // - this.btnRefreshAuth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnRefreshAuth.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnRefreshAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnRefreshAuth.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshAuth.ForeColor = System.Drawing.Color.White; - this.btnRefreshAuth.Location = new System.Drawing.Point(11, 35); - this.btnRefreshAuth.Margin = new System.Windows.Forms.Padding(2); - this.btnRefreshAuth.Name = "btnRefreshAuth"; - this.btnRefreshAuth.Size = new System.Drawing.Size(66, 26); - this.btnRefreshAuth.TabIndex = 374; - this.btnRefreshAuth.Text = "刷新授权"; - this.btnRefreshAuth.UseVisualStyleBackColor = false; - this.btnRefreshAuth.Visible = false; - this.btnRefreshAuth.Click += new System.EventHandler(this.btnRefreshAuth_Click); - // - // 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(672, 245); - 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; - // - // btnImport - // - this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand; - this.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnImport.ForeColor = System.Drawing.Color.White; - this.btnImport.Location = new System.Drawing.Point(81, 35); - this.btnImport.Margin = new System.Windows.Forms.Padding(2); - this.btnImport.Name = "btnImport"; - this.btnImport.Size = new System.Drawing.Size(66, 26); - this.btnImport.TabIndex = 371; - this.btnImport.Text = "导入店铺"; - this.btnImport.UseVisualStyleBackColor = false; - this.btnImport.Visible = false; - this.btnImport.Click += new System.EventHandler(this.btnImport_Click); - // - // dgvShop - // - this.dgvShop.AllowUserToAddRows = false; - this.dgvShop.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - this.dgvShop.AutoRowNumber = true; - this.dgvShop.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; - this.dgvShop.BackgroundColor = System.Drawing.Color.White; - this.dgvShop.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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; - this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.numAddTopUp.ValueChanged += new System.EventHandler(this.numAddTopUp_ValueChanged); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(87, 19); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(68, 17); + this.label8.TabIndex = 456; + this.label8.Text = "店铺续费:"; + // + // btnTopUpCancel + // + this.btnTopUpCancel.CanvasColor = System.Drawing.SystemColors.Control; + this.btnTopUpCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnTopUpCancel.DisabledBackColor = System.Drawing.Color.Empty; + this.btnTopUpCancel.Location = new System.Drawing.Point(284, 16); + this.btnTopUpCancel.Name = "btnTopUpCancel"; + this.btnTopUpCancel.Size = new System.Drawing.Size(56, 23); + this.btnTopUpCancel.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnTopUpCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnTopUpCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255))))); + this.btnTopUpCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.btnTopUpCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnTopUpCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.btnTopUpCancel.Style.GradientAngle = 90; + this.btnTopUpCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center; + this.btnTopUpCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnTopUpCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnTopUpCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnTopUpCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; + this.btnTopUpCancel.TabIndex = 458; + this.btnTopUpCancel.Text = "取消"; + this.btnTopUpCancel.Click += new System.EventHandler(this.btnTopUpCancel_Click); + // + // btnTopUpOK + // + this.btnTopUpOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnTopUpOK.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnTopUpOK.DisabledBackColor = System.Drawing.Color.Empty; + this.btnTopUpOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnTopUpOK.Location = new System.Drawing.Point(225, 16); + this.btnTopUpOK.Name = "btnTopUpOK"; + this.btnTopUpOK.Size = new System.Drawing.Size(56, 23); + this.btnTopUpOK.Style.Alignment = System.Drawing.StringAlignment.Center; + this.btnTopUpOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnTopUpOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnTopUpOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.btnTopUpOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; + this.btnTopUpOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; + this.btnTopUpOK.Style.ForeColor.Color = System.Drawing.Color.White; + this.btnTopUpOK.Style.GradientAngle = 90; + this.btnTopUpOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; + this.btnTopUpOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnTopUpOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); + this.btnTopUpOK.TabIndex = 453; + this.btnTopUpOK.Text = "确定"; + this.btnTopUpOK.Click += new System.EventHandler(this.btnTopUpOK_Click); + // + // btnRefreshAuth + // + this.btnRefreshAuth.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnRefreshAuth.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnRefreshAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnRefreshAuth.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnRefreshAuth.ForeColor = System.Drawing.Color.White; + this.btnRefreshAuth.Location = new System.Drawing.Point(11, 35); + this.btnRefreshAuth.Margin = new System.Windows.Forms.Padding(2); + this.btnRefreshAuth.Name = "btnRefreshAuth"; + this.btnRefreshAuth.Size = new System.Drawing.Size(66, 26); + this.btnRefreshAuth.TabIndex = 374; + this.btnRefreshAuth.Text = "刷新授权"; + this.btnRefreshAuth.UseVisualStyleBackColor = false; + this.btnRefreshAuth.Visible = false; + this.btnRefreshAuth.Click += new System.EventHandler(this.btnRefreshAuth_Click); + // + // 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(672, 245); + 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; + // + // btnImport + // + this.btnImport.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); + this.btnImport.Cursor = System.Windows.Forms.Cursors.Hand; + this.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnImport.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnImport.ForeColor = System.Drawing.Color.White; + this.btnImport.Location = new System.Drawing.Point(81, 35); + this.btnImport.Margin = new System.Windows.Forms.Padding(2); + this.btnImport.Name = "btnImport"; + this.btnImport.Size = new System.Drawing.Size(66, 26); + this.btnImport.TabIndex = 371; + this.btnImport.Text = "导入店铺"; + this.btnImport.UseVisualStyleBackColor = false; + this.btnImport.Visible = false; + this.btnImport.Click += new System.EventHandler(this.btnImport_Click); + // + // dgvShop + // + this.dgvShop.AllowUserToAddRows = false; + this.dgvShop.AllowUserToDeleteRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.dgvShop.AutoRowNumber = true; + this.dgvShop.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.dgvShop.BackgroundColor = System.Drawing.Color.White; + this.dgvShop.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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colSelect, this.colLoginName, this.colShopId, @@ -827,316 +884,316 @@ this.colCopyCookies, this.colEdit, this.colDelete}); - this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvShop.Location = new System.Drawing.Point(4, 0); - this.dgvShop.MultiSelectCheckBox = true; - this.dgvShop.Name = "dgvShop"; - this.dgvShop.ReadOnly = true; - this.dgvShop.RowTemplate.Height = 23; - this.dgvShop.Size = new System.Drawing.Size(1386, 540); - this.dgvShop.TabIndex = 5; - this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick); - // - // colSelect - // - 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; - // - // colLoginName - // - this.colLoginName.FillWeight = 70F; - this.colLoginName.HeaderText = "店铺登录号码"; - this.colLoginName.Name = "colLoginName"; - this.colLoginName.ReadOnly = true; - this.colLoginName.Visible = false; - // - // colShopId - // - this.colShopId.FillWeight = 70F; - this.colShopId.HeaderText = "店铺Id"; - this.colShopId.Name = "colShopId"; - this.colShopId.ReadOnly = true; - // - // colShopAccount - // - this.colShopAccount.FillWeight = 90F; - this.colShopAccount.HeaderText = "店铺账号"; - this.colShopAccount.Name = "colShopAccount"; - this.colShopAccount.ReadOnly = true; - // - // colAddTime - // - this.colAddTime.FillWeight = 65F; - this.colAddTime.HeaderText = "添加时间"; - this.colAddTime.Name = "colAddTime"; - this.colAddTime.ReadOnly = true; - // - // colExpireTime - // - this.colExpireTime.FillWeight = 65F; - this.colExpireTime.HeaderText = "到期时间"; - this.colExpireTime.Name = "colExpireTime"; - this.colExpireTime.ReadOnly = true; - this.colExpireTime.Visible = false; - // - // colRenewal - // - this.colRenewal.FillWeight = 35F; - this.colRenewal.HeaderText = "续期"; - this.colRenewal.Name = "colRenewal"; - this.colRenewal.ReadOnly = true; - this.colRenewal.Visible = false; - // - // colNotes - // - this.colNotes.FillWeight = 90F; - this.colNotes.HeaderText = "备注"; - this.colNotes.Name = "colNotes"; - this.colNotes.ReadOnly = true; - // - // colGroupName - // - this.colGroupName.FillWeight = 80F; - this.colGroupName.HeaderText = "店铺分组"; - this.colGroupName.Name = "colGroupName"; - this.colGroupName.ReadOnly = true; - // - // colCookie - // - this.colCookie.HeaderText = "店铺Cookie"; - this.colCookie.Name = "colCookie"; - this.colCookie.ReadOnly = true; - this.colCookie.Visible = false; - // - // colSubUser - // - this.colSubUser.FillWeight = 67F; - this.colSubUser.HeaderText = "子账户"; - this.colSubUser.Name = "colSubUser"; - this.colSubUser.ReadOnly = true; - // - // colSubUserAccount - // - this.colSubUserAccount.FillWeight = 75F; - this.colSubUserAccount.HeaderText = "子账户账号"; - this.colSubUserAccount.Name = "colSubUserAccount"; - this.colSubUserAccount.ReadOnly = true; - // - // colUploadAccount - // - this.colUploadAccount.FillWeight = 70F; - this.colUploadAccount.HeaderText = "上货账户"; - this.colUploadAccount.Name = "colUploadAccount"; - this.colUploadAccount.ReadOnly = true; - this.colUploadAccount.Visible = false; - // - // colBuyAccount - // - this.colBuyAccount.FillWeight = 70F; - this.colBuyAccount.HeaderText = "采购账户"; - this.colBuyAccount.Name = "colBuyAccount"; - this.colBuyAccount.ReadOnly = true; - this.colBuyAccount.Visible = false; - // - // colChatAccount - // - this.colChatAccount.FillWeight = 70F; - this.colChatAccount.HeaderText = "客服账户"; - this.colChatAccount.Name = "colChatAccount"; - this.colChatAccount.ReadOnly = true; - this.colChatAccount.Visible = false; - // - // colLoginStatus - // - this.colLoginStatus.HeaderText = "登录状态"; - this.colLoginStatus.Name = "colLoginStatus"; - this.colLoginStatus.ReadOnly = true; - this.colLoginStatus.Visible = false; - // - // colGotoShop - // - this.colGotoShop.FillWeight = 50F; - this.colGotoShop.HeaderText = "进入店铺"; - this.colGotoShop.Name = "colGotoShop"; - this.colGotoShop.ReadOnly = true; - this.colGotoShop.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colGotoShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colShopOperate - // - this.colShopOperate.FillWeight = 50F; - this.colShopOperate.HeaderText = "检测"; - this.colShopOperate.Name = "colShopOperate"; - this.colShopOperate.ReadOnly = true; - this.colShopOperate.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colShopOperate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.colShopOperate.Visible = false; - // - // colRelogin - // - this.colRelogin.FillWeight = 50F; - this.colRelogin.HeaderText = "登录"; - this.colRelogin.Name = "colRelogin"; - this.colRelogin.ReadOnly = true; - this.colRelogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colRelogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colSwitchLogin - // - this.colSwitchLogin.FillWeight = 50F; - this.colSwitchLogin.HeaderText = "批量登录"; - this.colSwitchLogin.Name = "colSwitchLogin"; - this.colSwitchLogin.ReadOnly = true; - this.colSwitchLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colSwitchLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colReLogin2 - // - this.colReLogin2.FillWeight = 50F; - this.colReLogin2.HeaderText = "国际版状态"; - this.colReLogin2.Name = "colReLogin2"; - this.colReLogin2.ReadOnly = true; - this.colReLogin2.Visible = false; - // - // colBuyApi - // - this.colBuyApi.FillWeight = 50F; - this.colBuyApi.HeaderText = "API购买"; - this.colBuyApi.Name = "colBuyApi"; - this.colBuyApi.ReadOnly = true; - this.colBuyApi.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colBuyApi.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colMultiLogin - // - this.colMultiLogin.FillWeight = 50F; - this.colMultiLogin.HeaderText = "多重登录"; - this.colMultiLogin.Name = "colMultiLogin"; - this.colMultiLogin.ReadOnly = true; - this.colMultiLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colMultiLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.colMultiLogin.Visible = false; - // - // colApiAuth - // - this.colApiAuth.FillWeight = 50F; - this.colApiAuth.HeaderText = "上货授权"; - this.colApiAuth.Name = "colApiAuth"; - this.colApiAuth.ReadOnly = true; - this.colApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.colApiAuth.Visible = false; - // - // colBuyApiAuth - // - this.colBuyApiAuth.FillWeight = 50F; - this.colBuyApiAuth.HeaderText = "拍单授权"; - this.colBuyApiAuth.Name = "colBuyApiAuth"; - this.colBuyApiAuth.ReadOnly = true; - this.colBuyApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colBuyApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.colBuyApiAuth.Visible = false; - // - // colUpdateCookies - // - this.colUpdateCookies.FillWeight = 55F; - this.colUpdateCookies.HeaderText = "导入Cookie"; - this.colUpdateCookies.Name = "colUpdateCookies"; - this.colUpdateCookies.ReadOnly = true; - this.colUpdateCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colUpdateCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colCopyCookies - // - this.colCopyCookies.FillWeight = 55F; - this.colCopyCookies.HeaderText = "复制Cookie"; - this.colCopyCookies.Name = "colCopyCookies"; - this.colCopyCookies.ReadOnly = true; - this.colCopyCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colCopyCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colEdit - // - this.colEdit.FillWeight = 35F; - this.colEdit.HeaderText = "编辑"; - this.colEdit.Name = "colEdit"; - this.colEdit.ReadOnly = true; - this.colEdit.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.colEdit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - // - // colDelete - // - this.colDelete.FillWeight = 35F; - this.colDelete.HeaderText = "删除"; - this.colDelete.Name = "colDelete"; - this.colDelete.ReadOnly = true; - // - // chkAutoDrag - // - this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.chkAutoDrag.AutoSize = true; - this.chkAutoDrag.BackColor = System.Drawing.Color.White; - this.chkAutoDrag.Location = new System.Drawing.Point(1238, 2); - this.chkAutoDrag.Name = "chkAutoDrag"; - this.chkAutoDrag.Size = new System.Drawing.Size(159, 21); - this.chkAutoDrag.TabIndex = 3; - this.chkAutoDrag.Text = "登录时自动滑动拼图验证"; - this.chkAutoDrag.UseVisualStyleBackColor = false; - this.chkAutoDrag.Visible = false; - this.chkAutoDrag.Click += new System.EventHandler(this.chkAutoDrag_Click); - // - // statusBar - // - this.statusBar.BackColor = System.Drawing.Color.White; - this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom; - 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, -1); - this.statusBar.Margin = new System.Windows.Forms.Padding(0); - this.statusBar.Name = "statusBar"; - this.statusBar.Size = new System.Drawing.Size(1394, 29); - this.statusBar.TabIndex = 1; - // - // WXShopListForm - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.BackColor = System.Drawing.Color.White; - this.ClientSize = new System.Drawing.Size(1394, 622); - this.Controls.Add(this.splitContainer1); - this.Controls.Add(this.label1); - this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.KeyPreview = true; - this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.Name = "WXShopListForm"; - this.Text = "ShopListForm"; - this.Load += new System.EventHandler(this.ShopListForm_Load); - this.VisibleChanged += new System.EventHandler(this.ShopListForm_VisibleChanged); - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); - this.splitContainer1.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - this.panel5.ResumeLayout(false); - this.panel4.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); - this.splitContainer2.Panel1.ResumeLayout(false); - this.splitContainer2.Panel2.ResumeLayout(false); - this.splitContainer2.Panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); - this.splitContainer2.ResumeLayout(false); - this.pnlTopUp.ResumeLayout(false); - this.pnlTopUp.PerformLayout(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numAddTopUp)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvShop.Location = new System.Drawing.Point(4, 0); + this.dgvShop.MultiSelectCheckBox = true; + this.dgvShop.Name = "dgvShop"; + this.dgvShop.ReadOnly = true; + this.dgvShop.RowTemplate.Height = 23; + this.dgvShop.Size = new System.Drawing.Size(1386, 540); + this.dgvShop.TabIndex = 5; + this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick); + // + // colSelect + // + 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; + // + // colLoginName + // + this.colLoginName.FillWeight = 70F; + this.colLoginName.HeaderText = "店铺登录号码"; + this.colLoginName.Name = "colLoginName"; + this.colLoginName.ReadOnly = true; + this.colLoginName.Visible = false; + // + // colShopId + // + this.colShopId.FillWeight = 70F; + this.colShopId.HeaderText = "店铺Id"; + this.colShopId.Name = "colShopId"; + this.colShopId.ReadOnly = true; + // + // colShopAccount + // + this.colShopAccount.FillWeight = 90F; + this.colShopAccount.HeaderText = "店铺账号"; + this.colShopAccount.Name = "colShopAccount"; + this.colShopAccount.ReadOnly = true; + // + // colAddTime + // + this.colAddTime.FillWeight = 65F; + this.colAddTime.HeaderText = "添加时间"; + this.colAddTime.Name = "colAddTime"; + this.colAddTime.ReadOnly = true; + // + // colExpireTime + // + this.colExpireTime.FillWeight = 65F; + this.colExpireTime.HeaderText = "到期时间"; + this.colExpireTime.Name = "colExpireTime"; + this.colExpireTime.ReadOnly = true; + this.colExpireTime.Visible = false; + // + // colRenewal + // + this.colRenewal.FillWeight = 35F; + this.colRenewal.HeaderText = "续期"; + this.colRenewal.Name = "colRenewal"; + this.colRenewal.ReadOnly = true; + this.colRenewal.Visible = false; + // + // colNotes + // + this.colNotes.FillWeight = 90F; + this.colNotes.HeaderText = "备注"; + this.colNotes.Name = "colNotes"; + this.colNotes.ReadOnly = true; + // + // colGroupName + // + this.colGroupName.FillWeight = 80F; + this.colGroupName.HeaderText = "店铺分组"; + this.colGroupName.Name = "colGroupName"; + this.colGroupName.ReadOnly = true; + // + // colCookie + // + this.colCookie.HeaderText = "店铺Cookie"; + this.colCookie.Name = "colCookie"; + this.colCookie.ReadOnly = true; + this.colCookie.Visible = false; + // + // colSubUser + // + this.colSubUser.FillWeight = 67F; + this.colSubUser.HeaderText = "子账户"; + this.colSubUser.Name = "colSubUser"; + this.colSubUser.ReadOnly = true; + // + // colSubUserAccount + // + this.colSubUserAccount.FillWeight = 75F; + this.colSubUserAccount.HeaderText = "子账户账号"; + this.colSubUserAccount.Name = "colSubUserAccount"; + this.colSubUserAccount.ReadOnly = true; + // + // colUploadAccount + // + this.colUploadAccount.FillWeight = 70F; + this.colUploadAccount.HeaderText = "上货账户"; + this.colUploadAccount.Name = "colUploadAccount"; + this.colUploadAccount.ReadOnly = true; + this.colUploadAccount.Visible = false; + // + // colBuyAccount + // + this.colBuyAccount.FillWeight = 70F; + this.colBuyAccount.HeaderText = "采购账户"; + this.colBuyAccount.Name = "colBuyAccount"; + this.colBuyAccount.ReadOnly = true; + this.colBuyAccount.Visible = false; + // + // colChatAccount + // + this.colChatAccount.FillWeight = 70F; + this.colChatAccount.HeaderText = "客服账户"; + this.colChatAccount.Name = "colChatAccount"; + this.colChatAccount.ReadOnly = true; + this.colChatAccount.Visible = false; + // + // colLoginStatus + // + this.colLoginStatus.HeaderText = "登录状态"; + this.colLoginStatus.Name = "colLoginStatus"; + this.colLoginStatus.ReadOnly = true; + this.colLoginStatus.Visible = false; + // + // colGotoShop + // + this.colGotoShop.FillWeight = 50F; + this.colGotoShop.HeaderText = "进入店铺"; + this.colGotoShop.Name = "colGotoShop"; + this.colGotoShop.ReadOnly = true; + this.colGotoShop.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colGotoShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colShopOperate + // + this.colShopOperate.FillWeight = 50F; + this.colShopOperate.HeaderText = "检测"; + this.colShopOperate.Name = "colShopOperate"; + this.colShopOperate.ReadOnly = true; + this.colShopOperate.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colShopOperate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colShopOperate.Visible = false; + // + // colRelogin + // + this.colRelogin.FillWeight = 50F; + this.colRelogin.HeaderText = "登录"; + this.colRelogin.Name = "colRelogin"; + this.colRelogin.ReadOnly = true; + this.colRelogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colRelogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colSwitchLogin + // + this.colSwitchLogin.FillWeight = 50F; + this.colSwitchLogin.HeaderText = "批量登录"; + this.colSwitchLogin.Name = "colSwitchLogin"; + this.colSwitchLogin.ReadOnly = true; + this.colSwitchLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colSwitchLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colReLogin2 + // + this.colReLogin2.FillWeight = 50F; + this.colReLogin2.HeaderText = "国际版状态"; + this.colReLogin2.Name = "colReLogin2"; + this.colReLogin2.ReadOnly = true; + this.colReLogin2.Visible = false; + // + // colBuyApi + // + this.colBuyApi.FillWeight = 50F; + this.colBuyApi.HeaderText = "API购买"; + this.colBuyApi.Name = "colBuyApi"; + this.colBuyApi.ReadOnly = true; + this.colBuyApi.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colBuyApi.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colMultiLogin + // + this.colMultiLogin.FillWeight = 50F; + this.colMultiLogin.HeaderText = "多重登录"; + this.colMultiLogin.Name = "colMultiLogin"; + this.colMultiLogin.ReadOnly = true; + this.colMultiLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colMultiLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colMultiLogin.Visible = false; + // + // colApiAuth + // + this.colApiAuth.FillWeight = 50F; + this.colApiAuth.HeaderText = "上货授权"; + this.colApiAuth.Name = "colApiAuth"; + this.colApiAuth.ReadOnly = true; + this.colApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colApiAuth.Visible = false; + // + // colBuyApiAuth + // + this.colBuyApiAuth.FillWeight = 50F; + this.colBuyApiAuth.HeaderText = "拍单授权"; + this.colBuyApiAuth.Name = "colBuyApiAuth"; + this.colBuyApiAuth.ReadOnly = true; + this.colBuyApiAuth.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colBuyApiAuth.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.colBuyApiAuth.Visible = false; + // + // colUpdateCookies + // + this.colUpdateCookies.FillWeight = 55F; + this.colUpdateCookies.HeaderText = "导入Cookie"; + this.colUpdateCookies.Name = "colUpdateCookies"; + this.colUpdateCookies.ReadOnly = true; + this.colUpdateCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colUpdateCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colCopyCookies + // + this.colCopyCookies.FillWeight = 55F; + this.colCopyCookies.HeaderText = "复制Cookie"; + this.colCopyCookies.Name = "colCopyCookies"; + this.colCopyCookies.ReadOnly = true; + this.colCopyCookies.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colCopyCookies.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colEdit + // + this.colEdit.FillWeight = 35F; + this.colEdit.HeaderText = "编辑"; + this.colEdit.Name = "colEdit"; + this.colEdit.ReadOnly = true; + this.colEdit.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.colEdit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // colDelete + // + this.colDelete.FillWeight = 35F; + this.colDelete.HeaderText = "删除"; + this.colDelete.Name = "colDelete"; + this.colDelete.ReadOnly = true; + // + // chkAutoDrag + // + this.chkAutoDrag.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.chkAutoDrag.AutoSize = true; + this.chkAutoDrag.BackColor = System.Drawing.Color.White; + this.chkAutoDrag.Location = new System.Drawing.Point(1238, 2); + this.chkAutoDrag.Name = "chkAutoDrag"; + this.chkAutoDrag.Size = new System.Drawing.Size(159, 21); + this.chkAutoDrag.TabIndex = 3; + this.chkAutoDrag.Text = "登录时自动滑动拼图验证"; + this.chkAutoDrag.UseVisualStyleBackColor = false; + this.chkAutoDrag.Visible = false; + this.chkAutoDrag.Click += new System.EventHandler(this.chkAutoDrag_Click); + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.White; + this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom; + 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, -1); + this.statusBar.Margin = new System.Windows.Forms.Padding(0); + this.statusBar.Name = "statusBar"; + this.statusBar.Size = new System.Drawing.Size(1394, 29); + this.statusBar.TabIndex = 1; + // + // WXShopListForm + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.BackColor = System.Drawing.Color.White; + this.ClientSize = new System.Drawing.Size(1394, 622); + this.Controls.Add(this.splitContainer1); + this.Controls.Add(this.label1); + this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.KeyPreview = true; + this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.Name = "WXShopListForm"; + this.Text = "ShopListForm"; + this.Load += new System.EventHandler(this.ShopListForm_Load); + this.VisibleChanged += new System.EventHandler(this.ShopListForm_VisibleChanged); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + this.panel5.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.splitContainer2.Panel1.ResumeLayout(false); + this.splitContainer2.Panel2.ResumeLayout(false); + this.splitContainer2.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); + this.splitContainer2.ResumeLayout(false); + this.pnlTopUp.ResumeLayout(false); + this.pnlTopUp.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numAddTopUp)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -1213,5 +1270,7 @@ private System.Windows.Forms.DataGridViewLinkColumn colCopyCookies; private System.Windows.Forms.DataGridViewLinkColumn colEdit; private System.Windows.Forms.DataGridViewLinkColumn colDelete; - } + private DevComponents.DotNetBar.PanelEx btnCancel; + private DevComponents.DotNetBar.PanelEx btnAutoBatchLogin; + } } \ No newline at end of file diff --git a/TEMUKJD/WXForms/ShopForms/WXShopListForm.cs b/TEMUKJD/WXForms/ShopForms/WXShopListForm.cs index 1709d32..0cf09eb 100644 --- a/TEMUKJD/WXForms/ShopForms/WXShopListForm.cs +++ b/TEMUKJD/WXForms/ShopForms/WXShopListForm.cs @@ -33,7 +33,10 @@ namespace TemuKJD.WXForms.ShopForms private static WXShopListForm _instance = null; public static WXShopListForm Instance { get { if (_instance == null) { _instance = new WXShopListForm(); } return _instance; } set { _instance = value; } } public static bool IsOperate { get; set; } = false; + + public List> shopSwitchInfoListList { get; set; } = new List>(); private bool isLoading { get; set; } = false; + private bool isCancel = false; #region 服务端店铺管理 public static void UpdateShop() @@ -1315,6 +1318,98 @@ namespace TemuKJD.WXForms.ShopForms numAddTopUp.Value = 1; pnlTopUp.Visible = true; } + + private async void btnAutoBatchLogin_Click(object sender, EventArgs e) + { + isCancel = false; + shopSwitchInfoListList = new List>(); + int i = 1; + foreach (var shop in GlobalConfig.ShopLoginList) + { + if (isCancel) + break; + + this.statusBar.pgbTaskProgress.Maximum = GlobalConfig.ShopLoginList.Count; + this.statusBar.pgbTaskProgress.Value = i; + this.statusBar.pgbTaskProgress.Text = i + "/" + GlobalConfig.ShopLoginList.Count; + this.statusBar.lblTaskStatus.Text = "第1步(共2步):正在获取批量登录信息 " + i + "/" + GlobalConfig.ShopLoginList.Count; + i++; + + if (shop.LoginStatus != "登录成功") + continue; + if (shopSwitchInfoListList.Any(ll => ll.Any(l => l.appid == shop.ShopId))) + continue; + + var shopSwitchRst = await WXShopSwitch.getShopSwitchListAsync(shop); + if (!shopSwitchRst.Contains("\"code\":0")) + { + continue; + } + string shopSwitchStr = JsonHelper.SerializeObject(JsonHelper.JObjectParse(shopSwitchRst)["list"]); + shopSwitchInfoListList.Add(JsonHelper.DeserializeJsonToList(shopSwitchStr)); + + await Task.Delay(100); + } + + i = 1; + var waitLoginShopList = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus != "登录成功").ToList(); + foreach (var shop in waitLoginShopList) + { + if (isCancel) + break; + + this.statusBar.pgbTaskProgress.Maximum = waitLoginShopList.Count; + this.statusBar.pgbTaskProgress.Value = i; + this.statusBar.pgbTaskProgress.Text = i + "/" + waitLoginShopList.Count; + this.statusBar.lblTaskStatus.Text = "第2步(共2步):正在自动批量登录 " + i + "/" + waitLoginShopList.Count; + i++; + + // 直接比较相等,但是带入if以后就不相等 ? + if (shop.LoginStatus.Equals("登录成功")) + { + continue; + } + + var switchInfoListList = shopSwitchInfoListList.Where(ll => ll.Any(l => l.appid == shop.ShopId)).ToList(); + if (switchInfoListList.Count == 0) + continue; + + ShopLoginInfo loginShop = null; + foreach (var switchInfoList in switchInfoListList) + { + for (int a = 0; a < 100 && loginShop?.LoginStatus != "登录成功"; a++) + { + loginShop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.LoginStatus == "登录成功" && switchInfoList.Any(l => l.appid == s.ShopId)); + if (loginShop == null) + break; + else + { + WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { loginShop }, false); + await Task.Delay(100); + } + } + if (loginShop != null) + break; + } + // 店铺不存在或者全部掉线了,继续 + if (loginShop?.LoginStatus != "登录成功") + continue; + + WXShopMultiLoginForm shopMultiLoginForm = new WXShopMultiLoginForm(loginShop); + shopMultiLoginForm.openType = EnumOpenType.multi_login; + shopMultiLoginForm.isAutoLogin = true; + shopMultiLoginForm.ShowDialog(); + RefreshDataGridView(true, shopMultiLoginForm.lstSwitchShop.ToList()); + + await Task.Delay(500); + } + this.statusBar.lblTaskStatus.Text += isCancel ? " 自动批量登录取消" : " 自动批量登录结束"; + } + + private void btnCancel_Click(object sender, EventArgs e) + { + isCancel = true; + } } public class ShopRenewResponse { diff --git a/TEMUKJD/WXForms/ShopForms/WXShopMultiLoginForm.cs b/TEMUKJD/WXForms/ShopForms/WXShopMultiLoginForm.cs index a099e52..0578896 100644 --- a/TEMUKJD/WXForms/ShopForms/WXShopMultiLoginForm.cs +++ b/TEMUKJD/WXForms/ShopForms/WXShopMultiLoginForm.cs @@ -34,6 +34,8 @@ namespace TemuKJD.WXForms.ShopForms { public static WXShopMultiLoginForm shopMultiLoginFormInstance { get; set; } = null; + public bool isAutoLogin = false; + public int CloseAfterSecond { get; set; } public EnumOpenType openType = EnumOpenType.manage; public bool isMultiLogin = false; @@ -100,6 +102,26 @@ namespace TemuKJD.WXForms.ShopForms { BaseMsgForm.ShowError("切换列表解析失败!"); } + + if (isAutoLogin) + { + Thread.Sleep(Randomx.GetId(2500, 3500)); + while(this.cefWebBrowser == null || this.cefWebBrowser.IsLoading) + { + if (!this.Created) + return; + + Thread.Sleep(100); + continue; + } + + if (!this.Created) + return; + Invoke(() => + { + btnRefreshNum_Click(null, null); + }); + } }); } @@ -416,12 +438,18 @@ namespace TemuKJD.WXForms.ShopForms Thread.Sleep(Randomx.GetId(2500, 5000)); } + if (!this.Created) + return; Invoke(new Action(() => { btnRefreshNum.Enabled = true; pbLoading.Visible = false; - BaseMsgForm.ShowInfo("操作完成!"); + + if (this.isAutoLogin) + this.Close(); + else + BaseMsgForm.ShowInfo("操作完成!"); })); }); } @@ -448,8 +476,15 @@ namespace TemuKJD.WXForms.ShopForms string refere = "https://store.weixin.qq.com/shop/home"; var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, refere); return result; - } - } + } + public static async Task getShopSwitchListAsync(ShopLoginInfo shop) + { + string url = "https://store.weixin.qq.com/shop-faas/mmecnodelogin/session/getShopSwitchList?token=&lang=zh_CN"; + string refere = "https://store.weixin.qq.com/shop/home"; + var result = await WXHttpResponseBLL.WeiXinGetResponseAsync(shop, url, refere); + return result; + } + } public class ShopSwitchInfo {