private void bStart_Click(object sender, EventArgs e) { this.initPicture(); this.ball = this.ballFactory.createBall(10, 15); this.timerBall.Enabled = true; }
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(); }