C#

Properties.Settings.Default

Louiey 2019. 9. 24. 10:34

How to use properties settings?

 

1. Open property at project

2. Click "Settings"

3. Add what you need

  - For example, added string type ipAddr

4. Creates function which load properties params

  - For example, LoadParams()

5. Creates function which save properties params

  - For example, SaveParams()

 

* SaveParams() should includes below at the end of method so application save its params

Properties.Settings.Default.Save();