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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -