public void SetSelectedConfig() { SelectedConfig = string.Empty; string selected = RegistrySaver.FindSelectedRegValue(RegistrySaver.RegCategoryConfigList); if (!string.IsNullOrEmpty(selected)) { SelectedConfig = Configs.Find(x => x == selected); } }
private void SetSelectedApp() { SelectedApplication = string.Empty; string selected = RegistrySaver.FindSelectedRegValue(RegistrySaver.RegCategoryAppList); if (!string.IsNullOrEmpty(selected)) { SelectedApplication = Applications.Find(x => x == selected); } }