Change Controls property: pattern?
-
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 (i remember to have read in codeproject something like that, but i still haven't found the article). best regards.
-
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 (i remember to have read in codeproject something like that, but i still haven't found the article). best regards.