Nuaj.Cirrus.Utility.IntegerTrackbarControl.CancelDrag C# (CSharp) 메소드

CancelDrag() 공개 메소드

Cancels the current drag
public CancelDrag ( ) : void
리턴 void
        public void CancelDrag()
        {
            if ( !m_bSliderDragging )
                return;	// Not dragging anyway...

            m_bSliderDragging = false;

            // Restore start value
            Value = m_StartValue;

            // Notify of the stop of value change
            if ( SliderDragStop != null )
                SliderDragStop( this, m_StartValue );
        }