1
Answer

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

Francesco Biacca

Francesco Biacca

16y
3.9k
1
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)