예제 #1
0
        internal virtual void OnRaiseUploadFinishedEvent(UploadCompletedEventArgs e)
        {
            EventHandler <UploadCompletedEventArgs> handler = UploadFinished;

            if (handler != null)
            {
                e.Message  = this.Message;
                e.Duration = this.Duration;

                handler(this, e);
            }
        }
 private void OnVideoUploadFinished(object sender, UploadCompletedEventArgs e)
 {
     AddOrRemoveTask(videoUploadMessage, false, ((Video)sender).Title);
     IsBusy = false;
 }
 private void ReactToSingleElementUploadFinished(object sender, UploadCompletedEventArgs e)
 {
     StartFirstWaitingQueueItem();
 }