Пример #1
0
 public PopViewParam(string title, string content, PopViewType type = PopViewType.PopOneButton, string ok = "确定", string cancel = "取消", PopViewTask popViewTask = null)
 {
     this._title       = title;
     this._content     = content;
     this._type        = type;
     this._strOk       = ok;
     this._strCancel   = cancel;
     this._popViewTask = popViewTask;
 }
Пример #2
0
 public static void ShowMsgBox(string title, string content, Action callback, PopViewType type = PopViewType.PopOneButton, string ok = "确定", string cancel = "取消", PopViewTask task = null)
 {
     MobaMessageManagerTools.SendClientMsg(ClientC2V.PopView_enqueue, new PopViewParam(title, content, callback, type, ok, cancel, task), false);
 }
Пример #3
0
 public PopViewParam(string title, string content, Action <EPopViewRet> callback, PopViewType type = PopViewType.PopOneButton, string ok = "确定", string cancel = "取消", PopViewTask popViewTask = null) : this(title, content, type, ok, cancel, popViewTask)
 {
     this._callback_enum = callback;
 }