private void DisableCustomFolder_CheckBox_Click(object sender, RoutedEventArgs e) { if (DisableCustomFolder_CheckBox.IsChecked == true) { Reg.Set(DisableCustomFolderKey, DisableCustomFolderValue, 1, RegistryValueKind.DWord); } else { Reg.Delete(DisableCustomFolderKey, DisableCustomFolderValue); } }
private void ExcludeMRT_CheckBox_Click(object sender, RoutedEventArgs e) { if (ExcludeMRT_CheckBox.IsChecked == true) { Reg.Set(ExcludeMRTKey, ExcludeMRTValue, 1, RegistryValueKind.DWord); } else { Reg.Delete(ExcludeMRTKey, ExcludeMRTValue); } }
private void DisableCortana_CheckBox_Click(object sender, RoutedEventArgs e) { if (DisableCortana_CheckBox.IsChecked == true) { Reg.Set(DisableCortanaKey, AllowCortanaValue, 0, RegistryValueKind.DWord); } else { Reg.Delete(DisableCortanaKey, AllowCortanaValue); } }