Esempio n. 1
0
 public GesturesEngine()
 {
     this.parameters = GestureDetectionParameters.Current;
     this.holdTimer = new Timer();
     this.holdTimer.Tick += (obj, ev) => {
         this.holdTimer.Enabled = false;
         if (this.canBeHold)
         {
             this.RaiseHold();
             this.canBeHold = false;
             this.MouseUp(this.prevDownPoint);
         }
     };
 }
Esempio n. 2
0
 public GesturesEngine()
 {
     this.parameters      = GestureDetectionParameters.Current;
     this.holdTimer       = new Timer();
     this.holdTimer.Tick += (obj, ev) => {
         this.holdTimer.Enabled = false;
         if (this.canBeHold)
         {
             this.RaiseHold();
             this.canBeHold = false;
             this.MouseUp(this.prevDownPoint);
         }
     };
 }
Esempio n. 3
0
        public GesturesEngine()
        {
            this.parameters = GestureDetectionParameters.Current;

            //! Fork: fleuxdesktop2, Change Set c3b9c68e6c31
            this.holdTimer = new Timer();
            this.holdTimer.Tick += (obj, ev) => {
                this.holdTimer.Enabled = false;
                if (this.canBeHold)
                {
                    this.RaiseHold();
                    this.canBeHold = false;
                    this.MouseUp(this.prevDownPoint);
                }
            };
        }