I have a windows forms which has a few settings in it (saves my time manually setting them in each form)
However i have a method which sets the behavious of controls on the form
So mymaster Form (also know as formMaster) has a method
Expand|Select|Wrap|Line Numbers
- protected void setBackColour()
- {
- //iterate all controls and set their backColour to blue
- }
At the moment i have to write one line of code in those forms which is
Expand|Select|Wrap|Line Numbers
- this.setBackColour()
Thanks