Drag and drop buttons at runtime c#
I'm interested in creating an interface in a program I have coded where a list of items is provided somehow (be it a listview, datagridview, or a panel full of buttons etc...) and allow a user at runtime to click those items and drag them onto another panel, positioning them as they please, with the resulting panel being saved.
Now, the only way I can think of doing this involves using the cursor position overriding paint methods.
Is there a simpler way? I'd love to be able to also have the buttons be resizable on the panel.
Any ideas or pointers would be much appreciated. :)