A
Amos
I have several controls (textboxes, comboboxes, etc...) and, on an event,
I'd like to change the forecolor property of each one of these. Instead of
writing this.myControl.Forecolor = Color.Black on each event of every
control, I'd like to call a method, with a control as parameter, that does
that. Since this new method will have to work with all these controls (they
all have the forecolor property), what whould the parameter type be?
Thanks again.
I'd like to change the forecolor property of each one of these. Instead of
writing this.myControl.Forecolor = Color.Black on each event of every
control, I'd like to call a method, with a control as parameter, that does
that. Since this new method will have to work with all these controls (they
all have the forecolor property), what whould the parameter type be?
Thanks again.