void service_DownloadFinish(object sender, PictureServiceEventArgs eventArgs)
 {
     throw new System.NotImplementedException();
 }
 void service_ErrorOccured(object sender, PictureServiceEventArgs eventArgs)
 {
     throw new System.NotImplementedException();
 }
 protected virtual void OnDownloadPart(PictureServiceEventArgs e)
 {
     if (DownloadPart != null)
     {
         try
         {
             DownloadPart(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }
 protected virtual void OnMessageReady(PictureServiceEventArgs e)
 {
     if (MessageReady != null)
     {
         try
         {
             MessageReady(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }
 protected virtual void OnErrorOccured(PictureServiceEventArgs e)
 {
     if (ErrorOccured != null)
     {
         try
         {
             ErrorOccured(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }
 protected virtual void OnUploadFinish(PictureServiceEventArgs e)
 {
     if (UploadFinish != null)
     {
         try
         {
             UploadFinish(this, e);
         }
         catch (Exception)
         {
             //Always continue after a missed event
         }
     }
 }