Kamis, 15 November 2007

Drag n Drop on Control

Set the control property Allowdrop=true.


When mouse down thecontrol.Dodragdrop(object,DragdropEffectsEnum)


DragdropEffects.Copy | Move | ALL | None | Link | Scroll


and then on the control that you want to drop


put the logic on Drag Enter And Drag Drop


set the drag enter e.effect


and put the logic when data is drop.


 


 

Tidak ada komentar: