using System; using System.Collections; using System.Collections.Specialized; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication2 { public partial class Form1 : Form { private int indexofsource, indexoftarget; ArrayList checkedList = new ArrayList(); public Form1() { InitializeComponent(); } private void checkedListBox1_DragDrop(object sender, DragEventArgs e) { try { CheckedListBox checkedListBox1 = (CheckedListBox)sender; indexoftarget = checkedListBox1.IndexFromPoint(checkedListBox1.PointToClient(new Point(e.X, e.Y))); if (indexofsource == indexoftarget) return;