Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have wrote a program using C#. I have created a Usercontrol associated the right-mouse-click event handler and loaded in the program. But I found that when I click the usercontrol with the right or left mouse button ,the application screen will refresh. I just want the usercontrol refresh. What will I do?
Posted
Comments
bowlturner 10-Dec-13 9:22am    
winforms or WPF?
hjgc2001 14-Jul-14 10:39am    
winform
Sergey Alexandrovich Kryukov 10-Dec-13 11:43am    
Nothing happens unless you code it to happen. How do you know that something is "refreshed"? What exactly do you mean by that? Could you produce some short code sample to demonstrate the problem? (Read: http://www.sscce.org.) Don't forget to describe it.
—SA

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