Tinkr2/4.2/AphelionCore/AphelionCore/Controls/Control.cs
/// <summary>
/// Method for detecting Tap &amp; Hold
/// </summary>
Method for detecting Tap & Hold
Method for detecting Tap & Hold
private void TapHoldWaiter()
      {
         while (DateTime.Now.Ticks < _lStop)
         {
            Thread.Sleep(10);
            if (_eTapHold == TapState.Normal)
            {
               return;
            }
         }
         if (_eTapHold == TapState.Normal || !_enabled || !_visible || _suspended)
         {
            return;
         }
         _eTapHold = TapState.Normal;
         OnTapHold(this, _ptTapHold);
      }
private void TapHoldWaiter ( ) { while ( DateTime . Now . Ticks < _lStop ) { Thread . Sleep ( 10 ) ; if ( _eTapHold == TapState . Normal ) { return ; } } if ( _eTapHold == TapState . Normal || ! _enabled || ! _visible || _suspended ) { return ; } _eTapHold = TapState . Normal ; OnTapHold ( this , _ptTapHold ) ; }
Method for detecting Tap & Hold
Method for detecting Tap & Hold
//_mDown = false;