Esempio n. 1
0
 public HorizontalThrowModelingAnimationView(List <Tuple <double, double> > xy)
 {
     InitializeComponent();
     Form.Width  = 600;
     Form.Height = 400;
     DataContext = new HorizontalThrowModelingAnimationViewModel(xy, ExperimentCanvas);
 }
Esempio n. 2
0
 private void RestartBtnClick(object sender, RoutedEventArgs e)
 {
     DataContext = new HorizontalThrowModelingAnimationViewModel(((HorizontalThrowModelingAnimationViewModel)DataContext).Xy, ExperimentCanvas);
 }