* UIFlowLayoutPanel:增加一个移除控件函数
This commit is contained in:
parent
359586ab7a
commit
361f155ae0
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
@ -92,6 +92,11 @@ namespace Sunny.UI
|
|||||||
Panel.Controls.Add(ctrl);
|
Panel.Controls.Add(ctrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void RemoveControl(Control ctrl)
|
||||||
|
{
|
||||||
|
Panel.Controls.Remove(ctrl);
|
||||||
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
{
|
{
|
||||||
Panel.Controls.Clear();
|
Panel.Controls.Clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user