lu
2024-12-03 b7b06604c4057163332b4017e02fe38bb40f51e4
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;