Be.Windows.Forms.HexBox.PerformScrollThumpPosition C# (CSharp) 메소드

PerformScrollThumpPosition() 개인적인 메소드

private PerformScrollThumpPosition ( long pos ) : void
pos long
리턴 void
        void PerformScrollThumpPosition(long pos)
        {
            // Bug fix: Scroll to end, do not scroll to end
            int difference = (_scrollVmax > 65535) ? 10 : 9;

            if (ToScrollPos(pos) == ToScrollMax(_scrollVmax) - difference)
                pos = _scrollVmax;
            // End Bug fix


            PerformScrollToLine(pos);
        }
HexBox