0

I would like to add drag&drop feature to my winform app developed in .Net 4.5 by using C#. I try the first solution in this question but it did not works.

I downloaded the example project from codeproject. when I compile and run the example code in example solution, it works. However when I copy the example code in my project again it does not work!

Even no events triggered about drag&drop!

The codeproject example compiled in .Net 2, does it matter?

Is there any one who implements drag&drop file into winform app by using .Net 4.5? Can you help me?

Community
  • 1
  • 1
srcnaks
  • 243
  • 3
  • 13
  • ***Copy & paste*** without caring about `event handler register` would be your problem. – King King Sep 25 '13 at 06:17
  • Change target framework of projects in codeproject.com in order to debug them. – Jorge Jan 13 '14 at 14:23
  • [Check this question](http://stackoverflow.com/questions/14557077/drag-and-drop-files-and-saving-it-using-mvc) i have asked and its answer if it could help you a bit – Neel Sep 25 '13 at 06:13

1 Answers1

0

After I wrote the question, I discover a question which says that it is about user role elevation. When I compile my code and it from compiled exe it works. But still I did not debugging it!

Community
  • 1
  • 1
srcnaks
  • 243
  • 3
  • 13