private void Reset() { ShouldRun = false; SortModel.Reset(); 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(); }