c# - Winforms button properties -


i using windows forms application in visual studio. want change button , textbox properties programmatically , not use the properties tab. how do this? there way access code of ui of button/textbox after changed in properties tab?

of course can change programmatically. if have example button called btnstart, have in form access properties:

btnstart.text = "start"; 

have at: change properties of programmatically created buttons

edit:

if change programmatically after initializecomponent(); override changed properties set manually in properties tab.


Comments

Popular posts from this blog

java - Callback from new thread to class from which thread was initiated -

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -