private void Connect_Tapped(object sender, MIRIA.Interaction.MultiTouch.FingerTouchEventArgs e) { try { wiiremote.RequestConnect(); } catch (Exception ex) { } }
private void ButtonZoomOut_Tapped(object sender, MIRIA.Interaction.MultiTouch.FingerTouchEventArgs e) { _vec.Zoom(0.5, new Point(this.ActualWidth / 2, this.ActualHeight / 2)); }
private void ButtonZoomIn_Tapped(object sender, MIRIA.Interaction.MultiTouch.FingerTouchEventArgs e) { TouchScaleImage.Zoom(2.0, new Point(this.ActualWidth / 2, this.ActualHeight / 2)); }
private void ButtonUnZoom_Tapped(object sender, MIRIA.Interaction.MultiTouch.FingerTouchEventArgs e) { PhotoList.ScrollerTransformHelper.Delay = 0.25; PhotoList.ZoomToFullHeight(); }
private void ButtonPrevious_Tapped(object sender, MIRIA.Interaction.MultiTouch.FingerTouchEventArgs e) { PhotoList.ScrollerTransformHelper.Delay = 0.5; PhotoList.SimulateGesture(TouchGesture.MOVE_EAST); }
void PhotoList_ElementTapped(object sender, MIRIA.UIKit.ScrollView.ElementTappedEventArgs e) { Gallery.PhotoList.ScrollerTransformHelper.Delay = 1.0; Gallery.PhotoList.ZoomToElementHeight(e.TappedElement); }
private void ButtonMenuPrevious_DragLimitReached(object element, MIRIA.UIKit.DragLimitReachedEventArgs e) { ButtonMenuPrevious_Tapped(null, null); }