void imageUpLoader_UpLoaded(object sender, BackgroundImageUpLoaderEventArgs e)
 {
     try
     {
         if (!e.Cancelled)
         {
             if (e.HasError)
             {
                 MessageBoxEx.Error(e.Error);
             }
             else
             {
                 this.ImageURL = this.imageUpLoader.SaveName;
             }
         }
     }
     catch (Exception ex)
     {
         if (splashScreenManager1.IsSplashFormVisible)
             splashScreenManager1.CloseWaitForm();
         MessageBoxEx.Error(ex);
     }
     finally
     {
         if (splashScreenManager1.IsSplashFormVisible)
             splashScreenManager1.CloseWaitForm();
     }
 }
 void imageUpLoader_UpLoaded(object sender, BackgroundImageUpLoaderEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.HasError)
         {
             this.Image = this.imageUpLoader.LastImage;
             MessageBoxEx.Error(e.Error);
         }
         else
         {
             this.Image = System.Drawing.Image.FromFile(this.imageUpLoader.UpLoadName);
             this._Photo = this.imageUpLoader.SaveName;
         }
     }
     else
     {
         this.Image = this.imageUpLoader.LastImage;
     }
 }