Drag and Drop between 2 list boxes
问题 Trying to implement drag and drop between 2 listboxes and all examples I've seen so far don't really smell good. Can someone point me to or show me a good implementation? 回答1: Here's a sample form. Get started with a new WF project and drop two list boxes on the form. Make the code look like this: public partial class Form1 : Form { public Form1() { InitializeComponent(); listBox1.Items.AddRange(new object[] { "one", "two", "three" }); listBox1.MouseDown += new MouseEventHandler(listBox1