Example #1
0
 private void squareButton_Click(object sender, RoutedEventArgs e)
 {
     if (square == null)
     {
         square = new Square();
         square.CreatePhysicalShape(paperCanvas);
     }
     else
     {
         square.MoveRight();
     }
 }