/// <summary> /// Handle actions which are available on this dialog /// </summary> /// <param name="action">Action to execute</param> /// <param name="index">Index (e.g. needed for lists)</param> public override void HandleAction(String action, int index) { base.HandleAction(action, index); if (action.Equals("yes")) { GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_CLICKED, 0, 11, 11, 0, 0, null); dialogMenu.OnMessage(msg); } if (action.Equals("no")) { GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_CLICKED, 0, 10, 10, 0, 0, null); dialogMenu.OnMessage(msg); } }