예제 #1
0
 /// <summary>
 /// Handles the DeletingDirectory event of the jobWorker control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="FlagSync.Core.DirectoryDeletionEventArgs"/> instance containing the event data.</param>
 private void jobWorker_DeletingDirectory(object sender, DirectoryDeletionEventArgs e)
 {
     this.IsDeleting = true;
     this.AddLogMessage(Resources.DeletingString, Resources.DirectoryString, e.DirectoryPath, String.Empty, false, null);
 }
예제 #2
0
 /// <summary>
 /// Handles the DeletedDirectory event of the jobWorker control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="FlagSync.Core.DirectoryDeletionEventArgs"/> instance containing the event data.</param>
 private void jobWorker_DeletedDirectory(object sender, DirectoryDeletionEventArgs e)
 {
     this.LastLogMessage.Progress = 100;
 }
예제 #3
0
 /// <summary>
 /// Handles the DirectoryDeletionError event of the jobWorker control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="FlagSync.Core.DirectoryDeletionEventArgs"/> instance containing the event data.</param>
 private void jobWorker_DirectoryDeletionError(object sender, DirectoryDeletionEventArgs e)
 {
     this.DeleteLastLogMessage();
     this.AddLogMessage(Resources.DeletionErrorString, Resources.DirectoryString, e.DirectoryPath, String.Empty, true, null);
 }