Exemplo n.º 1
0
 /// <summary>
 /// Handle the user pressing the clockwise button.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Handle_Clockwise(object sender, RoutedEventArgs e)
 {
     if (_pSurface == null)
     {
         return;
     }
     _pSurface.RotateSurface(true);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Rotate the surface by 90 degrees.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void RotateSurface(object sender, RoutedEventArgs e)
 {
     if (_pSurface == null)
     {
         return;
     }
     _pSurface.RotateSurface(false);
 }