private async void ExecuteSequenceCommand_Executed(object sender, ExecutedRoutedEventArgs e) { e.Command.SetIsRunning(true); await Task.Run(() => Cube.ExecuteSequence(e.Parameter.ToString())); }
private void MainWindow_OnClosing(object sender, CancelEventArgs e) { Cube.StopProcessing(); }
private async void SolveCommand_Executed(object sender, ExecutedRoutedEventArgs e) { e.Command.SetIsRunning(true); await Task.Run(() => Cube.Solve()); }