From d35bb711f8d3d267b44b4a80c20e31dabf309ae7 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 14 一月 2025 08:17:18 +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