using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace solitaire { public partial class PreferencesDialog : UserControl { public PreferencesDialog() { InitializeComponent(); } private void cbEnableVegas_Checked(object sender, RoutedEventArgs e) { cbEnableVegas.IsChecked = true; } private void cbTimedGame_Unchecked(object sender, RoutedEventArgs e) { cbEnableVegas.IsChecked = false; } private void cbTimedGame_Checked(object sender, RoutedEventArgs e) { cbTimedGame.IsChecked = true; } private void cbEnableVegas_Unchecked(object sender, RoutedEventArgs e) { cbTimedGame.IsChecked = false; } } }