Request for extension of ToolStripMenuItemTester
Brought to you by:
charliepoole,
lukemaxon
I would like the following new member functions in ToolStripMenuItemTester
/// <summary>
/// ShowDropDown of a menu.
/// </summary>
public virtual void ShowDropDown()
{
if (Component.Visible)
{
(Component as ToolStripMenuItem).ShowDropDown();
}
else
{
throw new ControlNotVisibleException(name);
}
}
/// <summary>
/// HideDropDown of a menu.
/// </summary>
public virtual void HideDropDown()
{
if (Component.Visible)
{
(Component as ToolStripMenuItem).HideDropDown();
}
else
{
throw new ControlNotVisibleException( name );
}
}