* UIFlowLayoutPanel:增加Scroll事件

This commit is contained in:
Sunny 2021-10-18 16:10:14 +08:00
parent 46eccd7b74
commit e3ad3afb5d
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -20,6 +20,7 @@
* 2021-07-10: V3.0.4
* 2021-07-31: V3.0.5 Controls.Add增加
* 2021-08-11: V3.0.5 Focus事件
* 2021-10-18: V3.0.8 Scroll事件
******************************************************************************/
using System;
@ -62,6 +63,8 @@ namespace Sunny.UI
timer.Start();
}
public new event ScrollEventHandler Scroll;
public Control ExToolTipControl()
{
return Panel;
@ -339,6 +342,7 @@ namespace Sunny.UI
private void Panel_Scroll(object sender, ScrollEventArgs e)
{
Scroll?.Invoke(this, e);
VBar.Value = Panel.VerticalScroll.Value;
}