private void ResetDefaultsButton_Click(object sender, RoutedEventArgs e) { App.CreateDefaultAppSettings(); AssignSettingsValues(); if (App.Settings.Virtualization != _oldVirtValue) { AppRestartRequired.Invoke(); } }
private void VirtualizationToggle_Click(object sender, RoutedEventArgs e) { bool ToggleValue = VirtualizationToggle.IsChecked.HasValue && VirtualizationToggle.IsChecked.Value; if (ToggleValue == _oldVirtValue) { return; } App.Settings.Virtualization = ToggleValue; AppRestartRequired.Invoke(); }