private void LoadSettings() { CodeLocationTextBox.Text = Properties.Settings.Default.DCSLastChoosenFolder; ChoosenFilesExtensionsTextBox.Text = Properties.Settings.Default.DCSLastChoosenFilesExtensions; var LangComboBoxInitializer = new CComboBoxInitializer <ICloneExtension>(ref ChooseLangComboBox, new EventHandler(ChooseLangComboBox_DropDownClosed), CAvailableExtentions.GetExtentionsList().Values, CAvailableExtentions.GetExtention((LANGUAGES)Properties.Settings.Default.CSWLastChoosenLanguage)); }
/// <summary> /// Загрузить параметры /// </summary> public override void LoadSettings() { MemorizeLastRunParamsCheckBox.Checked = Properties.Settings.Default.CSWMemorizeLastRunParams; CodeLocationTextBox.Text = Properties.Settings.Default.CSWLastChoosenFolder; SkippingFoldersTextBox.Text = Properties.Settings.Default.CSWSkippingFolders; IsUseParallelExtensionsCheckBox.Checked = Properties.Settings.Default.CSWIsUseParallelExtensions; var LangComboBoxInitializer = new CComboBoxInitializer <ICloneExtension>(ref ChooseLangComboBox, new EventHandler(ChooseLangComboBox_DropDownClosed), CAvailableExtentions.GetExtentionsList().Values, CAvailableExtentions.GetExtention((LANGUAGES)Properties.Settings.Default.CSWLastChoosenLanguage)); var AlgorithmComboBoxInitializer = new CComboBoxInitializer <CBaseCloneSearchStrategy>(ref ChooseAlgorithmComboBox, new EventHandler(ChooseAlgorithmComboBox_DropDownClosed), CAvailableCloneSearchAlgorithms.GetAlgorithmsList().Values, CAvailableCloneSearchAlgorithms.GetAlgorithm((CloneSearchAlgoritms)Properties.Settings.Default.CSWLastChoosenAlgorithm)); }