ImageGlass.ImageBox.AdjustScroll C# (CSharp) Method

AdjustScroll() protected method

Adjusts the scroll.
protected AdjustScroll ( int x, int y ) : void
x int The x.
y int The y.
return void
        protected virtual void AdjustScroll(int x, int y)
        {
            Point scrollPosition;

            scrollPosition = new Point(HorizontalScroll.Value + x, VerticalScroll.Value + y);

            UpdateScrollPosition(scrollPosition);
        }
ImageBox