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; }
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); }
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; }