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