Drag and Drop Controls within a Container


The attached source code is a C# application that demonstrates the dragging and dropping of a Windows control within a container.

Simply run the code and you will see a form like this:

Now drag and drop the button and you will see the results like this:

See the attached source code for more details.