Esempio n. 1
0
 private void bStart_Click(object sender, EventArgs e)
 {
     this.initPicture();
     this.ball = this.ballFactory.createBall(10, 15);
     this.timerBall.Enabled = true;
 }
Esempio n. 2
0
 private void Start_Click(object sender, RoutedEventArgs e)
 {
     this.ball = this.ballFactory.createBall(10, 15);
     this.canvas.Children.Add(this.ball.getEllipse());
     this.timerSingle.Start();
 }