ZForge.Controls.ExplorerBar.Expando.OnMouseDown C# (CSharp) Method

OnMouseDown() protected method

Raises the MouseDown event
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data
return void
        protected override void OnMouseDown(MouseEventArgs e)
        {
            base.OnMouseDown(e);

            // we're not doing anything here yet...
            // but we might later :)

            if (e.Button == MouseButtons.Left)
            {
                if (this.TaskPane != null && this.TaskPane.AllowExpandoDragging && !this.Animating)
                {
                    this.dragStart = this.PointToScreen(new Point(e.X, e.Y));
                }
            }
        }