Commit 83440906 冰封一夏 Gitee 提交于

update HZH_Controls/HZH_Controls/Controls/Page/UCPagerControl2.cs.

修复分页控件页面跳转问题
1 个父辈 c6ba110c
// *********************************************************************** // ***********************************************************************
// Assembly : HZH_Controls // Assembly : HZH_Controls
// Created : 08-15-2019 // Created : 08-15-2019
// //
...@@ -123,7 +123,6 @@ namespace HZH_Controls.Controls ...@@ -123,7 +123,6 @@ namespace HZH_Controls.Controls
} }
} }
} }
public override int PageCount public override int PageCount
{ {
get get
...@@ -132,10 +131,18 @@ namespace HZH_Controls.Controls ...@@ -132,10 +131,18 @@ namespace HZH_Controls.Controls
} }
set set
{ {
base.PageCount = value; if (PageModel == HZH_Controls.Controls.PageModel.Soure)
{
base.PageCount = value;
}
else
{
txtPage.MaxValue = base.PageCount = value;
}
ReloadPage(); ReloadPage();
} }
} }
public override int PageIndex public override int PageIndex
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!