Esempio n. 1
0
        void uploadPhotoViewModel_UploadCompleted(object sender, PhotoUploadCompletedEventArgs e)
        {
            var model = (UploadPhotoViewModel)sender;

            model.UploadCanceled  -= uploadPhotoViewModel_UploadCanceled;
            model.UploadCompleted -= uploadPhotoViewModel_UploadCompleted;

            StartNextPendingTasks();
        }
        void uploadPhotoViewModel_UploadCompleted(object sender, PhotoUploadCompletedEventArgs e)
        {
            var model = (UploadPhotoViewModel)sender;
            model.UploadCanceled -= uploadPhotoViewModel_UploadCanceled;
            model.UploadCompleted -= uploadPhotoViewModel_UploadCompleted;

            StartNextPendingTasks();
        }