WindowsFormで設定値を使う
なんでかいつも忘れちゃうのでメモ
- AppConfigから値を取る
Configuration.ConfigurationManager.AppSettings.GetValues("XXX")[0];
- Settingsに保存
Properties.Setting.Default.XXX;
Properties.Setting.Default.Save();
なんでかいつも忘れちゃうのでメモ
Configuration.ConfigurationManager.AppSettings.GetValues("XXX")[0];
Properties.Setting.Default.XXX;
Properties.Setting.Default.Save();