public virtual void ShowMenu()
{
if (menu.Visible == false && menu.Items.Count > 0)
{
if (RightToLeft == RightToLeft.No)
{
menu.Show(this, new Point(menuGlyph.Bounds.Left, menuGlyph.Bounds.Bottom));
}
else
{
menu.Show(this, new Point(menuGlyph.Bounds.Right, menuGlyph.Bounds.Bottom));
}
menuOpen = true;
}
}