private void ShuffleButton_Click(object sender, RoutedEventArgs e) { ShouldRun = false; SortModel.Shuffle(100); RecalcDataDrawGroup(); m_Iterator = SortModel.CalculateCoroutine(); }
private void FastRunButton_Click(object sender, RoutedEventArgs e) { FastRunButton.Content = "Calculating..."; SortModel.Reset(); SortModel.Shuffle(100); SortModel.Calculate(); FastRunButton.Content = "Fast Run"; RecalcDataDrawGroup(); }