private void ExecuteButtonAction(Action action) { buttonAction = true; action(); activeMenuItem.OnDrawContent(); buttonAction = false; }
public void SetFocus(IChildItem item) { activeMenuItem = item; if (!buttonAction) { activeMenuItem.OnDrawContent(); } }
public void SetFocus (IChildItem item) { activeMenuItem = item; if (!buttonAction) { activeMenuItem.OnDrawContent (); } }