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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -