c# - How can I set control properties when my form is loading or initialized (by atributes or without)? -


i have searched couldn't find answer.there form witch users can set property controls buttons, textbox , etc.i able set these properties(whitch users choosed) when forms loading or initialized.is there attribute setting these properties?

whats best way? (the project has 20 forms , every form has more 10 controls)

implement form's load event handler , set properties there. example:

public void myform_onload(object sender, eventargs e) {     mytextbox.text = "hello!"; } 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -