c# - Drag and Drop ListView to Listview(Listbox) -


i´m writing little audio player in c#.

now want drag , drop items music library (listview) playlist(listview or listbox).

will work?

im using windows forms, best way solve problem?

yes work. prepare playlist control:

((control)playlist).allowdrop = true; playlist.dragenter += playlist_dragenter; playlist.dragdrop += playlist_dragdrop; 

and initiate drag library listview:

dodragdrop( new dataobject( dataformats.filedrop, paths ), dragdropeffects.link ); 

(just modify parameters need)


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -