private void CommandsCanExecuteChange() { DealCommand.RaiseCanExecuteChanged(); HitCommand.RaiseCanExecuteChanged(); StayCommand.RaiseCanExecuteChanged(); //SplitCommand.RaiseCanExecuteChanged(); MakeWagerCommand.RaiseCanExecuteChanged(); }
private void ShowWork(object sender, RoutedEventArgs e) { ICommand command = new StayCommand(); command.Execute(ExampleBlock); command = new WalkCommand(); command.Execute(ExampleBlock); }