From 2bb20fc10756b9fdf5395fc2a95d9c0ba84ff2ba Mon Sep 17 00:00:00 2001 From: chfei Date: Sun, 20 Sep 2026 19:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=8E=BB=E9=99=A4=20=E7=BB=93=E7=AE=97?= =?UTF-8?q?=E6=94=B9=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WXShopOemWithdrawalForm.Designer.cs | 56 +++++-------------- .../ShopForms/WXShopOemWithdrawalForm.cs | 32 +++++------ 2 files changed, 30 insertions(+), 58 deletions(-) diff --git a/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.Designer.cs b/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.Designer.cs index efe2b81..ecf8e69 100644 --- a/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.Designer.cs +++ b/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.Designer.cs @@ -30,8 +30,8 @@ namespace TemuKJD.WXForms.ShopForms private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXShopOemWithdrawalForm)); this.panel1 = new System.Windows.Forms.Panel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); @@ -67,7 +67,6 @@ namespace TemuKJD.WXForms.ShopForms this.colPayTradeNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage(); this.statusBar = new TemuKJD.UserControls.StatusBarUserControl(); - this.bt_RefreshAmount = new DevComponents.DotNetBar.PanelEx(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); @@ -137,7 +136,6 @@ namespace TemuKJD.WXForms.ShopForms // this.ucGroupBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); this.ucGroupBox1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND; - this.ucGroupBox1.Controls.Add(this.bt_RefreshAmount); this.ucGroupBox1.Controls.Add(this.btnRefreshBalance); this.ucGroupBox1.Controls.Add(this.lblWithdrawnLabel); this.ucGroupBox1.Controls.Add(this.lblTotalWithdrawn); @@ -160,7 +158,7 @@ namespace TemuKJD.WXForms.ShopForms this.btnRefreshBalance.Cursor = System.Windows.Forms.Cursors.Hand; this.btnRefreshBalance.DisabledBackColor = System.Drawing.Color.Empty; this.btnRefreshBalance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRefreshBalance.Location = new System.Drawing.Point(1146, 41); + this.btnRefreshBalance.Location = new System.Drawing.Point(702, 42); this.btnRefreshBalance.Name = "btnRefreshBalance"; this.btnRefreshBalance.Size = new System.Drawing.Size(60, 23); this.btnRefreshBalance.Style.Alignment = System.Drawing.StringAlignment.Center; @@ -176,7 +174,7 @@ namespace TemuKJD.WXForms.ShopForms this.btnRefreshBalance.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); this.btnRefreshBalance.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; this.btnRefreshBalance.TabIndex = 6; - this.btnRefreshBalance.Text = "结算"; + this.btnRefreshBalance.Text = "刷新"; this.btnRefreshBalance.Click += new System.EventHandler(this.btnRefreshBalance_Click); // // lblWithdrawnLabel @@ -419,20 +417,20 @@ namespace TemuKJD.WXForms.ShopForms // this.dgvWithdrawal.AllowUserToAddRows = false; this.dgvWithdrawal.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; - this.dgvWithdrawal.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke; + this.dgvWithdrawal.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3; this.dgvWithdrawal.AutoRowNumber = true; this.dgvWithdrawal.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dgvWithdrawal.BackgroundColor = System.Drawing.Color.White; this.dgvWithdrawal.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.dgvWithdrawal.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvWithdrawal.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; this.dgvWithdrawal.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvWithdrawal.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colNo, @@ -545,31 +543,6 @@ namespace TemuKJD.WXForms.ShopForms this.statusBar.Size = new System.Drawing.Size(1218, 25); this.statusBar.TabIndex = 1; // - // bt_RefreshAmount - // - this.bt_RefreshAmount.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.bt_RefreshAmount.Cursor = System.Windows.Forms.Cursors.Hand; - this.bt_RefreshAmount.DisabledBackColor = System.Drawing.Color.Empty; - this.bt_RefreshAmount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.bt_RefreshAmount.Location = new System.Drawing.Point(694, 42); - this.bt_RefreshAmount.Name = "bt_RefreshAmount"; - this.bt_RefreshAmount.Size = new System.Drawing.Size(60, 23); - this.bt_RefreshAmount.Style.Alignment = System.Drawing.StringAlignment.Center; - this.bt_RefreshAmount.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.bt_RefreshAmount.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255))))); - this.bt_RefreshAmount.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.bt_RefreshAmount.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash; - this.bt_RefreshAmount.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None; - this.bt_RefreshAmount.Style.ForeColor.Color = System.Drawing.Color.White; - this.bt_RefreshAmount.Style.GradientAngle = 90; - this.bt_RefreshAmount.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center; - this.bt_RefreshAmount.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.bt_RefreshAmount.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255))))); - this.bt_RefreshAmount.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White; - this.bt_RefreshAmount.TabIndex = 13; - this.bt_RefreshAmount.Text = "刷新"; - this.bt_RefreshAmount.Click += new System.EventHandler(this.bt_RefreshAmount_Click); - // // WXShopOemWithdrawalForm // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -641,6 +614,5 @@ namespace TemuKJD.WXForms.ShopForms private System.Windows.Forms.DataGridViewTextBoxColumn colAuditRemark; private System.Windows.Forms.DataGridViewTextBoxColumn colAuditTime; private System.Windows.Forms.DataGridViewTextBoxColumn colPayTradeNo; - private DevComponents.DotNetBar.PanelEx bt_RefreshAmount; } } diff --git a/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.cs b/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.cs index 1d1e7ba..9118574 100644 --- a/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.cs +++ b/TEMUKJD/WXForms/ShopForms/WXShopOemWithdrawalForm.cs @@ -223,22 +223,22 @@ namespace TemuKJD.WXForms.ShopForms #region 事件 - private async void bt_RefreshAmount_Click(object sender, EventArgs e) - { - try - { - bt_RefreshAmount.Enabled = false; - await RefreshOMEAmount(); - } - catch (Exception ex) - { - BaseMsgForm.ShowError(ex.Message); - } - finally - { - bt_RefreshAmount.Enabled = true; - } - } + //private async void bt_RefreshAmount_Click(object sender, EventArgs e) + //{ + // try + // { + // bt_RefreshAmount.Enabled = false; + // await RefreshOMEAmount(); + // } + // catch (Exception ex) + // { + // BaseMsgForm.ShowError(ex.Message); + // } + // finally + // { + // bt_RefreshAmount.Enabled = true; + // } + //} /// 刷新可提现总额等账户统计 private async void btnRefreshBalance_Click(object sender, EventArgs e)