How to drag and drop an image from panel 1 to panel 2

Posted by Nufshm under Visual Studio on 4/23/2013 | Points: 10 | Views : 2729 | Status : [Member] | Replies : 1
Fellows i need some help.

I have two panels on a form. one panel has some controls like buttons or images and second panel is empty. i want to drag a control from panel 1 and drop it to panel 2. but it should create a copy of control, and while dragging a rectangle should be shown of same size as control and when dropped in panel 2 the dragged shape should appear there at mouse position Actually i want to create a simulator like thing. that has some tools in panel 1 and when someone drag and drop a tool on panel 2 it should appear there at mouse position .

language doesn't matter may be C# or Vb.net

Thanks.




Responses

Posted by: aswinialuri-19361 on: 4/23/2013 [Member] Starter | Points: 25

Up
0
Down
hi
http://stackoverflow.com/questions/2439061/move-controls-when-drag-and-drop-on-panel-in-c-sharp
http://stackoverflow.com/questions/2414377/change-the-size-of-the-panel-dynamically

Thanks & Regards


Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

Nufshm, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response