コード例 #1
0
        private void saveUiSettings()
        {
            UISettings = new UISetting
            {
                LastWindowSize     = Size,
                LastWindowLocation = Location,
                RememberMeCheckBox = f_CheckBoxRememberMe.Checked
            };

            UISettings.SaveToFile();
        }
コード例 #2
0
 private void restoreSettings()
 {
     UISettings = new UISetting().LoadFromFile() as UISetting;
     applySettings();
 }