From 2066a7e10e20433f7445431d6d34a9026c29f663 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 23 十二月 2024 08:43:43 +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