protected override void OnMouseDown(MouseEventArgs e)
{
if (this.Style == CommandBarStyle.Menu)
{
if ((e.Button == MouseButtons.Left) && (e.Clicks == 1))
{
Point point = new Point(e.X, e.Y);
int index = this.HitTest(point);
if (this.IsValid(index))
{
this.TrackDropDown(index);
return;
}
}
}
base.OnMouseDown(e);
}