I am just dragging a text file & dropping here.
Gaurav Goyal
I am just dragging a text file & dropping here.
Gaurav Goyal
I put some sample code there. but still not working. I am just dragging a text file from windows explorer & dropping here.
Gaurav Goyal
Hi, I am creating a simple application for drag & drop. I am using Windows 10 OS, Visual Studio 2015 & creating windows application using c#. I have added pannel on the form. AllowDrop is true for the panel. I have added 3 events from event windows for Panel : private void panel1_DragEnter(object sender, DragEventArgs e) { e.Effect = DragDropEffects.All; } private void panel1_DragOver(object sender, DragEventArgs e) { e.Effect = DragDropEffects.All; } private void panel1_DragDrop(object sender, DragEventArgs e) { } But it is not allowing me to drop files here. Please let me know what is wrong with the code.
Gaurav Goyal