コード例 #1
0
 /// <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));
         });
     }
 }
コード例 #2
0
 /// <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;
 }