in wwauth/Google.Solutions.WWAuth/View/DropDownButton.cs [52:76]
protected override void OnMouseDown(MouseEventArgs args)
{
var splitRect = new Rectangle(
this.Width - this.SplitWidth,
0,
this.SplitWidth,
this.Height);
if (this.Menu != null &&
args.Button == MouseButtons.Left &&
splitRect.Contains(args.Location))
{
//
// Split arrow clicked.
//
this.Menu.Show(this, 0, this.Height);
}
else
{
//
// Main button clicked.
//
base.OnMouseDown(args);
}
}