public void Show(string content, StyleExt styl) { MsgBoxStyleExt = styl; this.Open(() => { if (!string.IsNullOrEmpty(content)) { Content = content; } }); }
public void Show(string content, StyleExt styl, params object[] Args) { MsgBoxStyleExt = styl; string strContent = string.Format(content, Args); this.Open(() => { if (!string.IsNullOrEmpty(content)) { Content = strContent; } }); }