From 0895fb9962db16ca30e2913275396211d6094e13 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 08 十二月 2024 11:23:14 +0800
Subject: [PATCH] 细节
---
DevApp/Gs.DevApp/UserControl/UcPageBar.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcPageBar.cs b/DevApp/Gs.DevApp/UserControl/UcPageBar.cs
index e0c5213..27932ad 100644
--- a/DevApp/Gs.DevApp/UserControl/UcPageBar.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcPageBar.cs
@@ -22,10 +22,10 @@
private void cbxRowCount_SelectedIndexChanged(object sender,
EventArgs e)
{
- RowsCount = Convert.ToInt32(cbxRowCount.Text);
+ int _RowsCount = Convert.ToInt32(cbxRowCount.Text);
CurrentPage = 1;
if (PagerEvent != null)
- if (RecordCount > 0 && RowsCount>0)
+ if (_RowsCount > 0 && _RowsCount > 0)
BtnEvents(sender, e);
}
@@ -132,7 +132,7 @@
/// <summary>
/// 姣忛〉鏉℃暟
/// </summary>
- public int RowsCount { get; set; }
+ public int RowsCount { get { return int.Parse(this.cbxRowCount.Text); } }
int _RecordCount;
--
Gitblit v1.9.3