/// <summary> /// Save the current settings. /// </summary> /// <param name="sender"></param> /// <param name="ea"></param> /// <developer>Paul Mrozowski</developer> /// <created>08/07/2006</created> private void OptInitials_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DevName, this.txtDevName.Text); ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DevInitials, this.txtDevInitials.Text); ea.Storage.WriteBoolean(CR_Initials.STR_Preferences, CR_Initials.STR_FullNameComment, this.chkFullname.Checked); ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DateFormat, this.txtDateFormat.Text); }
private void Options_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteString(PageName, "token", textEdit1.Text); ea.Storage.WriteString(PageName, "modelEditorPath", buttonEdit2.Text); ea.Storage.WriteString(PageName, "projectConverterPath", buttonEdit1.Text); string connectionStrings = ((BindingList<ConnectionString>)gridControl1.DataSource).Aggregate<ConnectionString, string>(null, (current, connectionString) => current + (connectionString.Name + ";")); ea.Storage.WriteString(PageName, "ConnectionStrings", connectionStrings); }
/// <summary> /// Save the current settings. /// </summary> /// <param name="sender"></param> /// <param name="ea"></param> /// <developer>Paul Mrozowski</developer> /// <created>08/07/2006</created> private void OptInitials_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DevName, this.txtDevName.Text); ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DevInitials, this.txtDevInitials.Text); ea.Storage.WriteBoolean(CR_Initials.STR_Preferences, CR_Initials.STR_FullNameComment, this.chkFullname.Checked); ea.Storage.WriteString(CR_Initials.STR_Preferences, CR_Initials.STR_DateFormat, this.txtDateFormat.Text); }
private void Options1_CommitChanges(object sender, CommitChangesEventArgs ea) { var settings = new Settings(); settings.AttributeNames = txtAttributeNames.Text; SaveSettings(ea.Storage, settings); }
private void UnitTestVisualizer_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean(kPreferencesSection, kShadeAttributeKey, shadeAttribute.Checked); ea.Storage.WriteBoolean(kPreferencesSection, kDrawArrowKey, arrowToFailed.Checked); ea.Storage.WriteBoolean(kPreferencesSection, kShortenLongStrings, shortenLongStrings.Checked); ea.Storage.WriteInt32(kPreferencesSection, kMaxContextLength, Convert.ToInt32(maxContextLength.Text)); ea.Storage.WriteBoolean(kPreferencesSection, kConvertEscape, convertEscape.Checked); }
private void CCStatus_Options_CommitChanges(object sender, CommitChangesEventArgs ea) { CCStatusConfig.Server = tbBuildServer.Text; CCStatusConfig.ProjectList = clbProjects.Items.Cast <string>().ToList(); CCStatusConfig.SelectedProjects = clbProjects.CheckedItems.Cast <string>().ToList(); CCStatusConfig.UpdateInterval = (int)nudUpdateInterval.Value; CCStatusConfig.NotifyOnFailure = cbNotifyOnFailure.Checked; }
private void CCStatus_Options_CommitChanges(object sender, CommitChangesEventArgs ea) { CCStatusConfig.Server = tbBuildServer.Text; CCStatusConfig.ProjectList = clbProjects.Items.Cast<string>().ToList(); CCStatusConfig.SelectedProjects = clbProjects.CheckedItems.Cast<string>().ToList(); CCStatusConfig.UpdateInterval = (int)nudUpdateInterval.Value; CCStatusConfig.NotifyOnFailure = cbNotifyOnFailure.Checked; }
private void SmartGenericsOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "UseSmartGenerics", this.cbSmartGenerics.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsAutoComplete", this.cbGenericsAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsUseTextFields", this.cbGenericsUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsAddSpace", this.cbGenericsAddSpaces.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsEasyDelete", this.cbGenericsEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsIgnoreClosingOperator", this.cbGenericsIgnoreClosingOperator.Checked); }
private void SmartGenericsOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "UseSmartGenerics", this.cbSmartGenerics.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsAutoComplete", this.cbGenericsAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsUseTextFields", this.cbGenericsUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsAddSpace", this.cbGenericsAddSpaces.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsEasyDelete", this.cbGenericsEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "SmartGenericsIgnoreClosingOperator", this.cbGenericsIgnoreClosingOperator.Checked); }
private void Options_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteString(PageName, Token, publicTokenTextEdit.Text); ea.Storage.WriteString(PageName, ModelEditorPath, modelEditorPathButtonEdit.Text); ea.Storage.WriteString(PageName, ProjectConverterPath, projectConverterPathButtonEdit.Text); ea.Storage.WriteString(PageName, GacUtilPath, gacUtilPathButtonEdit.Text); ea.Storage.WriteString(PageName, GacUtilRegex, gacUtilRegexButtonEdit.Text); ea.Storage.WriteBoolean(PageName, FormatOnSave, formatOnSaveCheckEdit.Checked); SaveDataSource(SerializeConnectionString, "ConnectionStrings", ea.Storage, (BindingList <ConnectionString>)gridControl1.DataSource); SaveDataSource(SerializeSourceCodeInfo, "SourceCodeInfos", ea.Storage, (BindingList <SourceCodeInfo>)gridControl2.DataSource); }
private void OptUpperCaseMenuItems_CommitChanges(object sender, CommitChangesEventArgs ea) { Microsoft.Win32.RegistryKey baseKey = Microsoft.Win32.Registry.CurrentUser; int newValue; if (rbnALLCAPS.Checked) newValue = 0; else newValue = 1; using (Microsoft.Win32.RegistryKey key = baseKey.OpenSubKey("Software\\Microsoft\\VisualStudio\\11.0\\General", true)) key.SetValue("SuppressUppercaseConversion", newValue, Microsoft.Win32.RegistryValueKind.DWord); }
private void SmartQuoteOptionsCommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "UseSmartDoubleQuotes", this.cbSmartDoubleQuotes.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesAutoComplete", this.cbDoubleQuotesAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesUseTextFields", this.cbDoubleQuotesUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesEasyDelete", this.cbDoubleQuotesEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesIgnoreClosingQuote", this.cbDoubleQuotesIgnoreClosingQuote.Checked); ea.Storage.WriteBoolean("Settings", "UseSmartQuotes", this.cbSmartQuotes.Checked); ea.Storage.WriteBoolean("Settings", "QuotesAutoComplete", this.cbQuotesAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "QuotesUseTextFields", this.cbQuotesUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "QuotesEasyDelete", this.cbQuotesEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "QuotesIgnoreClosingQuote", this.cbQuotesIgnoreClosingQuote.Checked); }
private void SmartQuoteOptionsCommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "UseSmartDoubleQuotes", this.cbSmartDoubleQuotes.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesAutoComplete", this.cbDoubleQuotesAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesUseTextFields", this.cbDoubleQuotesUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesEasyDelete", this.cbDoubleQuotesEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "DoubleQuotesIgnoreClosingQuote", this.cbDoubleQuotesIgnoreClosingQuote.Checked); ea.Storage.WriteBoolean("Settings", "UseSmartQuotes", this.cbSmartQuotes.Checked); ea.Storage.WriteBoolean("Settings", "QuotesAutoComplete", this.cbQuotesAutoComplete.Checked); ea.Storage.WriteBoolean("Settings", "QuotesUseTextFields", this.cbQuotesUseTextFields.Checked); ea.Storage.WriteBoolean("Settings", "QuotesEasyDelete", this.cbQuotesEasyDelete.Checked); ea.Storage.WriteBoolean("Settings", "QuotesIgnoreClosingQuote", this.cbQuotesIgnoreClosingQuote.Checked); }
private void Options_CommitChanges(object sender, CommitChangesEventArgs ea) { var decoupledStorage = ea.Storage; decoupledStorage.WriteString(PageName, Token, publicTokenTextEdit.Text); decoupledStorage.WriteString(PageName, ModelEditorPath, modelEditorPathButtonEdit.Text); decoupledStorage.WriteString(PageName, ProjectConverterPath, projectConverterPathButtonEdit.Text); decoupledStorage.WriteString(PageName, TestExecutorPath, testExecutorButtonEdit.Text); decoupledStorage.WriteBoolean(PageName, FormatOnSave, formatOnSaveCheckEdit.Checked); decoupledStorage.WriteBoolean(PageName, DebugME, checkEditDebugME.Checked); decoupledStorage.WriteString(PageName, "SourceCodeInfos", ""); SaveDataSource(SerializeConnectionString, "ConnectionStrings", decoupledStorage, (BindingList <ConnectionString>)gridControl1.DataSource); SaveDataSource(SerializeSourceCodeInfo, "SourceCodeInfos", decoupledStorage, (BindingList <SourceCodeInfo>)gridControl2.DataSource); }
private void Colorizer_Options_CommitChanges(object sender, CommitChangesEventArgs ea) { using (var storage = ea.Storage) { storage.WriteBoolean("Settings", "Enabled", checkBox1.Checked); foreach (var element in SupportedElements) { storage.WriteColor("Settings", element, _colors[element].Color); storage.WriteBoolean("Settings", element + "Enabled", ((CheckBox)_colors[element].Tag).Checked); } } if (UpdateCurrentDocument != null) { UpdateCurrentDocument(this, EventArgs.Empty); } }
private void OptRedGreenPlugIn_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteInt32("Preferences", "PassAlphaComponent", passColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "PassRedComponent", passColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "PassGreenComponent", passColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "PassBlueComponent", passColor.BackColor.B); ea.Storage.WriteInt32("Preferences", "FailAlphaComponent", failColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "FailRedComponent", failColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "FailGreenComponent", failColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "FailBlueComponent", failColor.BackColor.B); ea.Storage.WriteInt32("Preferences", "SkipAlphaComponent", skipColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "SkipRedComponent", skipColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "SkipGreenComponent", skipColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "SkipBlueComponent", skipColor.BackColor.B); }
private void BlockPainterPlusOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { IList <IBlockPaintingStrategySettings> settingsList = bindingSource.DataSource as IList <IBlockPaintingStrategySettings>; foreach (IBlockPaintingStrategySettings settings in settingsList) { ea.Storage.WriteBoolean(settings.BlockTypeName, SettingNames.Enabled, settings.Enabled); ea.Storage.WriteBoolean(settings.BlockTypeName, SettingNames.ShowDetailedBlockMetaData, settings.ShowDetailedBlockMetaData); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.MinimumBlockSize, settings.MinimumBlockSize); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixAlpha, settings.PrefixAlpha); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixBlue, settings.PrefixBlue); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixGreen, settings.PrefixGreen); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixRed, settings.PrefixRed); ea.Storage.WriteString(settings.BlockTypeName, SettingNames.PrefixText, settings.PrefixText); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataAlpha, settings.BlockMetaDataAlpha); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataBlue, settings.BlockMetaDataBlue); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataGreen, settings.BlockMetaDataGreen); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataRed, settings.BlockMetaDataRed); } }
private void BlockPainterPlusOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { IList<IBlockPaintingStrategySettings> settingsList = bindingSource.DataSource as IList<IBlockPaintingStrategySettings>; foreach (IBlockPaintingStrategySettings settings in settingsList) { ea.Storage.WriteBoolean(settings.BlockTypeName, SettingNames.Enabled, settings.Enabled); ea.Storage.WriteBoolean(settings.BlockTypeName, SettingNames.ShowDetailedBlockMetaData, settings.ShowDetailedBlockMetaData); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.MinimumBlockSize, settings.MinimumBlockSize); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixAlpha, settings.PrefixAlpha); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixBlue, settings.PrefixBlue); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixGreen, settings.PrefixGreen); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.PrefixRed, settings.PrefixRed); ea.Storage.WriteString(settings.BlockTypeName, SettingNames.PrefixText, settings.PrefixText); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataAlpha, settings.BlockMetaDataAlpha); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataBlue, settings.BlockMetaDataBlue); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataGreen, settings.BlockMetaDataGreen); ea.Storage.WriteInt32(settings.BlockTypeName, SettingNames.BlockMetaDataRed, settings.BlockMetaDataRed); } }
private void CodeIssueOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { SaveOptions(); }
private void ImpromptuOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Preferences", "DisplayRunIcon", dispalyTile.Checked); }
private void Options_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteString(PageName, "token", textEdit1.Text); ea.Storage.WriteString(PageName, "modelEditorPath", buttonEdit2.Text); ea.Storage.WriteString(PageName, "projectConverterPath", buttonEdit1.Text); ea.Storage.WriteString(PageName, connectionStringName.Name, connectionStringName.Text); string paths = getPaths(); ea.Storage.WriteString(PageName,"VsAssemblyPaths",paths); createPaths(paths); }
private void PluginOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ReadOptionsFromDialog(); //AussieALF: Added this so it gets the up to date settings before saving. SaveSettings(); }
private void ImpromptuOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Preferences", "DisplayRunIcon", dispalyTile.Checked); }
private void Options1_CommitChanges(object sender, CommitChangesEventArgs ea) { var settings = new Settings(); settings.AttributeNames = txtAttributeNames.Text; SaveSettings(ea.Storage, settings); }
private void Colorizer_Options_CommitChanges(object sender, CommitChangesEventArgs ea) { using (var storage = ea.Storage) { storage.WriteBoolean("Settings", "Enabled", checkBox1.Checked); foreach (var element in SupportedElements) { storage.WriteColor("Settings", element, _colors[element].Color); storage.WriteBoolean("Settings", element + "Enabled", ((CheckBox)_colors[element].Tag).Checked); } } if (UpdateCurrentDocument != null) UpdateCurrentDocument(this,EventArgs.Empty); }
private void OptExtractHqlNamedQuery_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
private void OptExtractHqlNamedQuery_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
void PluginOptionsPage_CommitChanges(object sender, CommitChangesEventArgs ea) { this.Options = this.SyncOptionsFromForm(); this.Options.Save(Storage); }
private void Options1_CommitChanges(object sender, CommitChangesEventArgs ea) { // Save Changes ea.Storage.WriteStrings("Fader", "Prefixes", txtPrefixes.Lines); }
private void Opt_MarkerExtensions_CommitChanges(object sender, CommitChangesEventArgs ea) { ControlsToSettings(); _settings.Save(ea.Storage); }
private void OptNavigateToDefinition_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
private void OptXkeysLayout_CommitChanges(object sender, CommitChangesEventArgs ea) { xkeyLayout.Save(); }
private void OptNavigateToDefinition_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
private void SplitStringOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "SmartEnterSplitString", this.cbSmartEnterSplitString.Checked); ea.Storage.WriteBoolean("Settings", "LeaveConcatenationOperatorAtTheEndOfLine", this.rbLeaveOperator.Checked); ea.Storage.WriteBoolean("Settings", "UseAmpersandInVb", this.cbUseAmpersand.Checked); }
private void UnitTestVisualizer_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean(kPreferencesSection, kShadeAttributeKey, shadeAttribute.Checked); ea.Storage.WriteBoolean(kPreferencesSection, kDrawArrowKey, arrowToFailed.Checked); ea.Storage.WriteBoolean(kPreferencesSection, kShortenLongStrings, shortenLongStrings.Checked); ea.Storage.WriteInt32(kPreferencesSection, kMaxContextLength, Convert.ToInt32(maxContextLength.Text)); ea.Storage.WriteBoolean(kPreferencesSection, kConvertEscape, convertEscape.Checked); }
private void OptRedGreenPlugIn_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteInt32("Preferences", "PassAlphaComponent", passColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "PassRedComponent", passColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "PassGreenComponent", passColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "PassBlueComponent", passColor.BackColor.B); ea.Storage.WriteInt32("Preferences", "FailAlphaComponent", failColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "FailRedComponent", failColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "FailGreenComponent", failColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "FailBlueComponent", failColor.BackColor.B); ea.Storage.WriteInt32("Preferences", "SkipAlphaComponent", skipColor.BackColor.A); ea.Storage.WriteInt32("Preferences", "SkipRedComponent", skipColor.BackColor.R); ea.Storage.WriteInt32("Preferences", "SkipGreenComponent", skipColor.BackColor.G); ea.Storage.WriteInt32("Preferences", "SkipBlueComponent", skipColor.BackColor.B); }
private void PluginOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ReadOptionsFromDialog(); //AussieALF: Added this so it gets the up to date settings before saving. SaveSettings(); }
void PluginOptionsPage_CommitChanges(object sender, CommitChangesEventArgs ea) { this.Options = this.SyncOptionsFromForm(); this.Options.Save(Storage); }
private void SplitStringOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("Settings", "SmartEnterSplitString", this.cbSmartEnterSplitString.Checked); ea.Storage.WriteBoolean("Settings", "LeaveConcatenationOperatorAtTheEndOfLine", this.rbLeaveOperator.Checked); ea.Storage.WriteBoolean("Settings", "UseAmpersandInVb", this.cbUseAmpersand.Checked); }
private void OnCommitChanges(Object sender, CommitChangesEventArgs ea) { // Save changes here. ea.Storage.WriteBoolean(My_Options, OPT_EnableLogging, chkEnableLogging.Checked); }
private void OptProjectDefaults_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteEnum("ProjectDefaults", "SpecificVersion", chkSpecificVersion.CheckState); ea.Storage.WriteEnum("ProjectDefaults", "CopyLocal", chkCopyLocal.CheckState); }
private void OptDrawLinesBetweenMethods_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
private void OptConvertSpacesToCamelCase_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteBoolean("SpacesToCamelCase", "Enabled", chkEnabled.Checked); ea.Storage.WriteBoolean("SpacesToCamelCase", "Parameters", chkEnableInParameters.Checked); ea.Storage.WriteBoolean("SpacesToCamelCase", "Locals", chkEnableLocalVariables.Checked); }
private void OptMultiSelect_CommitChanges(object sender, CommitChangesEventArgs ea) { ea.Storage.WriteColor(KEY_Appearance, KEY_SelectionColor, clrSelection.Color); }
private void OptDrawLinesBetweenMethods_CommitChanges(object sender, CommitChangesEventArgs ea) { saveSettings(); }
private void CodeIssueOptions_CommitChanges(object sender, CommitChangesEventArgs ea) { SaveOptions(); }
private void Opt_MarkerExtensions_CommitChanges(object sender, CommitChangesEventArgs ea) { ControlsToSettings(); _settings.Save(ea.Storage); }