Click here to Skip to main content
15,900,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to change the color of rectangle, when we drag another rectangle over that rectangle.

It should be done on mouse up event.

Same as in visual studio, there when we drag a rectangle over the controls on form the all controls getting selected.

What to do ?

Please give suggestion.
Posted
v2

1 solution

Read this: Performing Drag and Drop Operations in Windows Forms[^], then change the code to your needs.
 
Share this answer
 
Comments
Neelendu Kumar 21-Mar-13 9:41am    
please give some more explanation.
Maciej Los 21-Mar-13 10:08am    
I can give you some explanation, but about what?
Please, try to do something and when you stuck, post new detailed question, describe your problem and share your code.
Here we can help you solve issues, but not to write tutorials. Sorry, but those are the rules.
Is it better to get cookie or to get recipe for cookie? If i give you cookie, you'll eat it (but once), but when i give you recipe, you'll learn how to make cookies to eat them anytime ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900