* UITransfer:将两个ListBox释放出来可以绑定数据。
This commit is contained in:
parent
b504d895bb
commit
d2f6e31b1d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -78,6 +78,13 @@ namespace Sunny.UI
|
|||||||
[Description("右侧列表"), Category("SunnyUI")]
|
[Description("右侧列表"), Category("SunnyUI")]
|
||||||
public ListBox.ObjectCollection ItemsRight => l2.Items;
|
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)
|
private void b1_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
foreach (object item in l1.Items)
|
foreach (object item in l1.Items)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user