 ---------------------------------------------------
|                                                   |
| Drag-n-Drop                                       |
|                                                   |
| iGrid.NET 1.60 Extra Samples                      |
| Copyright (c) 10Tec Company                       |
| All rights reserved                               |
|                                                   |
| Environment: .NET Framework 1.1, VS2003           |
|                                                   |
 ---------------------------------------------------

Description:
============
This example shows you how to implement drag and drop functionality to enable 
interaction between two iGrid.NET controls.

Short Code Explanation:
=======================
iGrid.NET does not have built-in implementation of drag and drop functionality 
but it provides you with a wide range of events which allow you to implement it 
exactly for your needs. 

The implementation is based on the DragOver, DragDrop, and DragLeave events and 
the DoDragDrop method of iGrid.NET which are derived from the Control class. 
When the user presses the left mouse button over a cell (the CellMouseDown 
event) and moves the mouse pointer out of the cell (the CellMouseMove event), we 
invoke the DoDragDrop method (which starts dragging) and pass the cells value 
to it. After it all the controls start to receive the DragOver event. In this 
event we analyze whether the current grid (which has received the DragOver 
event) can accept the data and whether there is a cell under the mouse pointer. 
If so and the user releases the left mouse button, the grid receives the 
DragDrop event and in this event we save the dragged value to the cell under the 
mouse pointer.

All the described above is implemented within the iGDragAndDropManager class, 
which has only one public method named SetupGrid. In this method the manager 
connects itself to the needed events of the grid passed to it and manages the 
drag and drop operations.
