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