CK.WindowManager.WindowAutoBinder.OnPointerButtonUp C# (CSharp) Method

OnPointerButtonUp() public method

public OnPointerButtonUp ( object sender, PointerDeviceEventArgs e ) : void
sender object
e CommonServices.PointerDeviceEventArgs
return void
        void OnPointerButtonUp( object sender, PointerDeviceEventArgs e )
        {
            //DIRTYFIX
            //Allows the bypass the fact that Windows puts a window to the initial position
            //if the windows was moved during the PointerKeyUp treatment event
            if( _bindResult != null && _activationTimer == null )
            {
                _activationTimer = new DispatcherTimer();
                _activationTimer.Interval = new TimeSpan(0, 0, 0, 0, 50);
                _activationTimer.Tick += _activationTimer_Tick;
                _activationTimer.Start();
            }

            _pointerDownLock = true;
        }