c# - tutorial create and use a configuration file manager -


hello novice , wish use configuration manager file in wpf insert variables there use in method have example of file , of how use it?

thank help

if using wpf, use app settings store , retrieve so

//saveselection name of variable properties.settings.default.saveselection = txtname.text;  //to commit save properties.settings.default.save(); 

to access settings , make variables availible right click on application -> properties -> settings add variables here

you can retrieve same way set them

txtname.text = properties.settings.default.saveselection; 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -