private static void UpdateSetting(string key, string value){Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);configuration.AppSettings.Settings[key].Value = value;configuration.Save();ConfigurationManager.RefreshSection("appSettings");}
'wpf' 카테고리의 다른 글
MVVM을 쓰면서... (3) | 2016.10.24 |
---|---|
ListBox Drag and Drop (0) | 2016.08.23 |
[WPF] IsolatedStorageManager (0) | 2016.06.08 |
프로그램 죽을때 바로 재시작하게 하기 (0) | 2016.05.19 |
ListBox에서 Item 스크롤 터치시 화면 전체가 움직이던 문제 (0) | 2016.04.25 |