コード例 #1
0
		public void SetSelectedConfig()
		{
			SelectedConfig = string.Empty;
			string selected = RegistrySaver.FindSelectedRegValue(RegistrySaver.RegCategoryConfigList);
			if (!string.IsNullOrEmpty(selected))
			{
				SelectedConfig = Configs.Find(x => x == selected);
			}
		}
コード例 #2
0
		private void SetSelectedApp()
		{
			SelectedApplication = string.Empty;
			string selected = RegistrySaver.FindSelectedRegValue(RegistrySaver.RegCategoryAppList);
			if (!string.IsNullOrEmpty(selected))
			{
				SelectedApplication = Applications.Find(x => x == selected);
			}
		}