Use the Drag-and-Drop Feature
You want to use the drag-and-drop feature to exchange information between two controls (possibly in separate windows or in separate applications).
Start a drag-and-drop operation using DoDragDrop, and then respond to the DragEnter and DragDrop events.
A drag-and-drop operation allows the user to transfer information from one place to another by clicking an item and "dragging" it to another location. A drag-and-drop operation consists of three basics steps:
The user clicks a control, holds the mouse button down, and begins dragging. If the control supports the drag-and-drop feature, it sets aside some information.
The user drags the mouse over another control. If this control accepts the dragged ...