예제 #1
0
 private static void TiltEffect_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     TiltEffect.TryStartTiltEffect(sender as FrameworkElement, e);
 }
 private void buttonTakeOff_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
 }
        internal ManipulationStartedRoutedEventArgs(UIElement source, UIElement container, GestureRecognizer recognizer, ManipulationStartedEventArgs args)
            : base(source)
        {
            Container = container;

            _recognizer = recognizer;

            Pointers          = args.Pointers;
            PointerDeviceType = args.PointerDeviceType;
            Position          = args.Position;
            Cumulative        = args.Cumulative;
        }
 protected void GestureRecognizer_ManipulationStarted(ManipulationStartedEventArgs args)
 {
     InputManager.Instance.RaiseManipulationStarted(this, args.source.id);
 }
 private void tbRecordGroove_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     this.NavigationService.Navigate(new Uri("/VirtualDrum.xaml", UriKind.Relative));
     e.Complete();
     e.Handled = true;
 }
        // When a manipulation begins, change the color of the object to reflect
        // that a manipulation is in progress
        void OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            JobControl jc = element as JobControl;

            jc.Highlight = new SolidColorBrush(Colors.Red);
        }
 private void DebugBorder_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
 }
예제 #8
0
 protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
 {
     e.Handled = true;
     base.OnManipulationStarted(e);
 }
예제 #9
0
 private void OnMainBorderManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     _dismissTimer.Stop();
     e.Handled = true;
 }
예제 #10
0
        // When a manipulation begins, change the color of the object to reflect
        // that a manipulation is in progress
        void OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            Border b = element as Border;

            b.Background = new SolidColorBrush(Windows.UI.Colors.DeepSkyBlue);
        }
예제 #11
0
 private void OnManipulationStartedMinutes(object sender, ManipulationStartedEventArgs e)
 {
     MinutesAngleAnimation.SkipToFill();
     MinutesAngleAnimation.Stop();
     GrabberMinutes.Fill = Application.Current.Resources["NormalBrush"] as SolidColorBrush;
 }
예제 #12
0
 private void OnManipulationStarted(ManipulationStartedEventArgs obj)
 {
     //throw new NotImplementedException();
 }
예제 #13
0
 private void OnMegaHeaderLogoManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     SdkService.ChangeApiUrlActionStarted();
 }
 private void buttonRight_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     setRoll(yawSpeed);
 }
예제 #15
0
 private void Element_OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     e.Handled = true;
 }
예제 #16
0
		protected override void OnManipulationStarted(ManipulationStartedEventArgs e)
		{
			e.Handled = true;
			base.OnManipulationStarted(e);
		}
예제 #17
0
 private void LayoutRoot_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     e.Handled = true;
 }
예제 #18
0
 private void pageCanvas_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     viewMoved       = false;
     initialPosition = Canvas.GetLeft(layoutRoot);
 }
예제 #19
0
 void CNode_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     //throw new NotImplementedException();
 }
 private void tbMetronome_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     this.NavigationService.Navigate(new Uri("/Metronome.xaml", UriKind.Relative));
     e.Complete();
     e.Handled = true;
 }
 /// <summary>
 /// Event handler for ManipulationStarted
 /// </summary>
 /// <param name="sender">sender of the event - this will be the tilt container (eg, entire page)</param>
 /// <param name="e">event args</param>
 static void TiltEffect_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     Debug.WriteLine("Started: " + e.ManipulationOrigin.X + ", " + e.ManipulationOrigin.Y);
     TryStartTiltEffect(sender as FrameworkElement, e);
 }
예제 #22
0
 private void StickManImage_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     ReportEvent("Manipulation Started Event: ");
 }
예제 #23
0
 private void ContentBorder_OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     e.Handled = true;
 }
예제 #24
0
 private void OnManipulationStart(ManipulationStartedEventArgs obj)
 {
     startManipulationThisFrame = true;
     isManipulating             = true;
 }
예제 #25
0
 void PhoneApplicationPage_ManupualtionStarted(object sender, ManipulationStartedEventArgs e)
 {
     //Ändern der Kantenfarbe und des Textes, um Bewegung des Stackpanels zu visualisieren
     this.borderInStack.BorderBrush = _manipulationInProgress;
     this.stateDescription.Text     = "Bewegung!";
 }
 void AssociatedObject_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     // Save the current manipulation origin and MSI view point origin
     MsiOrigin          = new Point(Msi.ViewportOrigin.X, Msi.ViewportOrigin.Y);
     ManipulationOrigin = e.ManipulationOrigin;
 }
예제 #27
0
 private void OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     Manipulation.SetManipulationMode(this, ManipulationMode);
 }
예제 #28
0
        void ToastPromptManipulationStarted(object sender, ManipulationStartedEventArgs e)
#endif
        {
            PauseTimer();
        }
예제 #29
0
 /// <summary>
 /// Handler for the ManipulationStarted event. Set initial state in case
 /// it becomes a pinch later.
 /// </summary>
 void OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     _pinching      = false;
     _originalScale = _scale;
 }
 private void buttonDown_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     setPitch(speedf);
 }
예제 #31
0
 private void Files_OnManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     ((ISliceLoadable)DataContext).LoadNextSlice();
 }
예제 #32
0
 private void canvas_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     _viewMoved = false;
     initialPosition = Canvas.GetLeft(LayoutRoot);
 }
예제 #33
0
 private void PhoneApplicationPage_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
 {
     // Specified from Sequence Diagram PhoneApplicationPage_ManipulationStarted
     if (this.game.IsPlaying && e.ManipulationContainer is Image && e.ManipulationContainer.GetValue(FrameworkElement.NameProperty).ToString().StartsWith(&quot;PuzzleImage_&quot;))
     {
         if (piece != null)
         {
             for(int i = 0; i < totalPieces; i++)
             {
                 if (piece == this.puzzlePieces[i] && this.game.CanMovePiece(i) > 0)
                 {
                 }
             }
         }
     }
 }