ARCed.Controls.AnimationSourceXnaPanel.AnimationSourceXnaPanel_MouseDown C# (CSharp) Method

AnimationSourceXnaPanel_MouseDown() private method

private AnimationSourceXnaPanel_MouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void
        void AnimationSourceXnaPanel_MouseDown(object sender, MouseEventArgs e)
        {
            if (this._frames > 0)
                this.SelectedId = e.X / (Width / this._frames);
        }