Beispiel #1
0
 /// <summary>
 /// Generates a UploadFinished event when all uploads are complete
 /// </summary>
 /// <param name="sender">Event source object</param>
 /// <param name="args">Event arguments</param>
 private void RaiseUploadFinished(object sender, UploadEventArgs args)
 {
     if (UploadFinished != null)
     {
         UploadFinished(sender, args);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Generates a UploadProgressChange event when upload progress changes
 /// </summary>
 /// <param name="sender">Event source object</param>
 /// <param name="args">Event arguments</param>
 private void RaiseUploadProgressChange(object sender, UploadEventArgs args)
 {
     if (UploadProgressChange != null)
     {
         UploadProgressChange(sender, args);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Generates a UploadedItem event when an item has been fully uploaded
 /// </summary>
 /// <param name="sender">Event source object</param>
 /// <param name="args">Event arguments</param>
 private void RaiseUploadedItem(object sender, UploadEventArgs args)
 {
     if (UploadedItem != null)
     {
         UploadedItem(sender, args);
     }
 }