小编him*_*hra的帖子

如何将多个选定项目从一个列表框移动到另一个列表框?

我有两个名为的列表框listBox1listBox2两个列表框中都有 4 个项目(字符串)。我可以从两个列表框中选择多个项目。我也有两个按钮。

单击时button1,我必须将多个选定项目从 移动listBox1listBox2。同样,单击 时button2,我必须将多个选定项目从 移动listBox2listBox1

如何做呢?

c# listbox winforms

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

c# ×1

listbox ×1

winforms ×1