1
Reply

change controls (textbox, combobox) property: can i use a pattern?

Francesco Biacca

Francesco Biacca

Apr 29 2008 4:59 AM
3.9k
hi there,
i developed a complex windows form application which contains a lot of controls (textbox, combobox). I use following code, when i've to change their text properties:

this.mytextbox.text = "smth";

considering that i've more than 50 textboxes and comboboxes, i'd like to know if there is another way to write down more efficient and structured code.

I was thinking about using a pattern. any tips?

best regards.

Answers (1)