osu.Framework.Tests/Visual/UserInterface/TestCaseNestedMenus.cs
/// <summary>
/// Click an item in a menu.
/// </summary>
/// <param name="menuIndex">The level of menu our click targets.</param>
/// <param name="itemIndex">The item to click in the menu.</param>
Click an item in a menu.
Click an item in a menu .
private void clickItem(int menuIndex, int itemIndex)
        {
            InputManager.MoveMouseTo(menus.GetSubStructure(menuIndex).GetMenuItems()[itemIndex]);
            InputManager.Click(MouseButton.Left);
        }
private void clickItem ( int menuIndex , int itemIndex ) { InputManager . MoveMouseTo ( menus . GetSubStructure ( menuIndex ) . GetMenuItems ( ) [ itemIndex ] ) ; InputManager . Click ( MouseButton . Left ) ; }
Click an item in a menu.
Click an item in a menu .
menuIndex
int
The level of menu our click targets.
The level of menu our click targets .
itemIndex
int
The item to click in the menu.
The item to click in the menu .