Exemplo n.º 1
0
 public void ShowConfirmKey(PopupConfirm.Callback callback, string message_key, string confirm_key = "", string cancel_key = "", params object[] objs)
 {
     if (string.IsNullOrEmpty(confirm_key) == true)
     {
         confirm_key = "Confirm";
     }
     if (string.IsNullOrEmpty(cancel_key) == true)
     {
         cancel_key = "Cancel";
     }
     ShowConfirm(callback, Localization.Get(message_key), Localization.Get(confirm_key), Localization.Get(cancel_key), objs);
 }
Exemplo n.º 2
0
 public void ShowConfirm(PopupConfirm.Callback callback, string message, string confirm = "", string cancel = "", params object[] objs)
 {
     if (string.IsNullOrEmpty(confirm) == true)
     {
         confirm = Localization.Get("Confirm");
     }
     if (string.IsNullOrEmpty(cancel) == true)
     {
         cancel = Localization.Get("Cancel");
     }
     Show(ePopupMode.Confirm, callback, string.Format(message, objs), confirm, cancel);
 }