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; } } }