/// <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); }
/// <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); }