Example #1
0
 private void MoveWallClick(object sender, RoutedEventArgs e)
 {
     //if (actualSimulationThreshold < MaxSimulationThreshold) {
     //    SimulationStepMove();
     //    Paint();
     //}
     //else {
     //    MessageBox.Show("Simulation threshold exit. Optimum reached.");
     //}
     s.Move(LineGrid.SelectedItem as MyLine, 10);
     Paint();
     //model.MoveLine(10, LineGrid.SelectedItem as MyLine);
     //Paint();
 }