CEngineSharp_Editor.MapEditor.mapScrollY_Scroll C# (CSharp) Method

mapScrollY_Scroll() private method

private mapScrollY_Scroll ( object sender, ScrollEventArgs e ) : void
sender object
e ScrollEventArgs
return void
        private void mapScrollY_Scroll(object sender, ScrollEventArgs e)
        {
            this.mapEditorProperties.MapView.Move(new Vector2f(0, (e.NewValue - e.OldValue) * 32));
            this.mapEditorProperties.MapEditorTop = e.NewValue;
        }