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