/// <summary> /// On action /// </summary> /// <param name="action"></param> public override void OnAction(Action action) { switch (action.wID) { case Action.ActionType.ACTION_CONTEXT_MENU: //_running = false; PageDestroy(); return; case Action.ActionType.ACTION_PREVIOUS_MENU: //_running = false; _canceled = true; PageDestroy(); return; case Action.ActionType.ACTION_MOVE_LEFT: case Action.ActionType.ACTION_TVGUIDE_PREV_GROUP: // switch group spinGroup.MoveUp(); return; case Action.ActionType.ACTION_MOVE_RIGHT: case Action.ActionType.ACTION_TVGUIDE_NEXT_GROUP: // switch group spinGroup.MoveDown(); return; } base.OnAction(action); }