* UITransfer:将两个ListBox释放出来可以绑定数据。

This commit is contained in:
Sunny 2021-05-13 21:44:35 +08:00
parent b504d895bb
commit d2f6e31b1d
5 changed files with 7 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -78,6 +78,13 @@ namespace Sunny.UI
[Description("右侧列表"), Category("SunnyUI")]
public ListBox.ObjectCollection ItemsRight => l2.Items;
[Browsable(false)]
public ListBox ListBoxLeft => l1.ListBox;
[Browsable(false)]
public ListBox ListBoxRight => l2.ListBox;
private void b1_Click(object sender, EventArgs e)
{
foreach (object item in l1.Items)