Esempio n. 1
0
        protected virtual void OnHostGesture(HostGestureEventArgs e)
        {
            EventHandler <HostGestureEventArgs> handler = HostGesture;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
        protected void RaiseOnHostGesture(InterceptedEventArgs e)
        {
            if (HostGesture != null)
            {
                var args = new HostGestureEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostGesture(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Esempio n. 3
0
 protected virtual void OnHostGesture(HostGestureEventArgs e)
 {
     EventHandler<HostGestureEventArgs> handler = HostGesture;
     if (handler != null) handler(this, e);
 }
Esempio n. 4
0
        protected void RaiseOnHostGesture(InterceptedEventArgs e)
        {
            if (HostGesture != null)
            {
                var args = new HostGestureEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostGesture(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }