Ejemplo n.º 1
0
 private void ShowYesNo(UIMenu goBackTo, UIMenuActionCallFunction.Function onYes)
 {
     this._yesNoNo.menuAction = (UIMenuAction) new UIMenuActionCallFunction((UIMenuActionCallFunction.Function)(() =>
     {
         this._yesNoMenu.Close();
         goBackTo.Open();
     }));
     this._yesNoYes.menuAction = (UIMenuAction) new UIMenuActionCallFunction(onYes);
     new UIMenuActionOpenMenu((UIComponent)this._editModMenu, (UIComponent)this._yesNoMenu).Activate();
 }
 public UIMenuActionCallFunction(UIMenuActionCallFunction.Function f) => this._function = f;