drag and drop
C#
3
Posts
3
Posters
0
Views
1
Watching
-
how to drag and drop a file to my form? and how to get the property of selected file(files)? thanks for help. erfan
Set the
AllowDrop
property to true and handle theDragEnter
andDragDrop
events. In theDragEnter
event, you'll have to set theEffect
property of theDragEventArgs
to something else butNone
, otherwise theDragDrop
event will not be called. Regards, mav -- Black holes are the places where god divided by 0... -
how to drag and drop a file to my form? and how to get the property of selected file(files)? thanks for help. erfan
Maybe this article[^] helps.