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