注册 登录
编程论坛 C# 论坛

两个listbox窗口,如何选中listbox1中的文字呈现在listbox2窗体中?

黑色的火鸟 发布于 2017-04-19 19:47, 1973 次点击
两个listbox窗口,如何选中listbox1中的文字呈现在listbox2窗体中?
1 回复
#2
yhlvht2017-04-19 20:43
listBox2.Items.Add(listBox1.SelectedItem);
1