Exemple #1
0
 public void Show(string content, StyleExt styl)
 {
     MsgBoxStyleExt = styl;
     this.Open(() => {
         if (!string.IsNullOrEmpty(content))
         {
             Content = content;
         }
     });
 }
Exemple #2
0
    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;
            }
        });
    }