Posts

Showing posts from September, 2011

C# Simple drag and drop example

Sometimes back i wanted to create a XML design tool to development with some GUI based tool kit. But unfortunately i had no time to continue with the project. I tried with some available code from internet to test the requirements..... just a copy past is here, till re-start the project sooner. C# Simple drag and drop example : // Form load event or a similar place private void Form_Load(object sender, EventArgs e) {     // Enable drag and drop for this form // (this can also be applied to any controls) this.AllowDrop = true;     // Add event handlers for the drag & drop functionality this.DragEnter += new DragEventHandler(Form_DragEnter);     this.DragDrop += new DragEventHand...