/// <summary> /// 通知成功信息 /// </summary> /// <param name="msg">内容</param> private void NotifyMessage(Album msg) { if (CreateAlbumCompleted != null) { System.Windows.Deployment.Current.Dispatcher.BeginInvoke(delegate() { CreateAlbumCompleted(this, new CreateAlbumCompletedEventArgs(msg)); }); } }
/// <summary> /// Creates a new instance of DownloadStringCompletedEventArgs with the specified result data. /// </summary> /// <param name="result">The data that is downloaded by a DownloadStringAsync method.</param> public CreateAlbumCompletedEventArgs(Album result) { Result = result; }