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