CEngineSharp_Editor.NpcEditor.npcTextureScrollBar_Scroll C# (CSharp) Method

npcTextureScrollBar_Scroll() private method

private npcTextureScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void
sender object
e System.Windows.Forms.ScrollEventArgs
return void
        private void npcTextureScrollBar_Scroll(object sender, ScrollEventArgs e)
        {
            this.selectedNpc.TextureNumber = e.NewValue;
            this.npcSprite = new Sprite(new Texture(Constants.FILEPATH_GRAPHICS + "/Characters/" + e.NewValue + ".png"));
        }