Esempio n. 1
0
 public void ShowSuccessMsg(string successText)
 {
     if (_msgBox != null)
     {
         SystemContext.Instance.AsyncOperation.SynchronizationContext.Post(
             state => { _msgBox.ShowSuccessMsg(successText); }, null);
     }
     else
     {
         MessageBox.Show(successText, "成功");
     }
 }