protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected override void OnMouseDown(MouseEventArgs e)
{
base.OnMouseDown(e);
if (this._icon != null && this._iconIsButton)
{
if (e.Button == MouseButtons.Left && this.IconRect.Contains(e.Location))
{
this.IconMouseState = EMouseState.Down;
}
}
}