Hi....
In my application i am creating a user control(combination of different controls like timer,buttons etc)..and i consumed that user control in my windows Forms multiple times...but when i click on a reset button ..all the controls of my user controls are must be reset... and in my application i may have multiple copies of user controls in my win form.....please help me,to solve this issue.....

VulpesPosted May 3, 2014, 8:02 PM
http://msdn.microsoft.com/en-us/library/system.windows.forms.control(v=vs.110).aspx
You could write a method which does this automatically for your user control:
ResetControlProperties(userControl1);
Note, for instance, that the above code would even set a button's Text property to an empty string which I'm sure is not what you'd want.