* UIFlowLayoutPanel:增加一个移除控件函数

This commit is contained in:
Sunny 2020-11-22 23:17:45 +08:00
parent 359586ab7a
commit 361f155ae0
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -92,6 +92,11 @@ namespace Sunny.UI
Panel.Controls.Add(ctrl);
}
public void RemoveControl(Control ctrl)
{
Panel.Controls.Remove(ctrl);
}
public void Clear()
{
Panel.Controls.Clear();