/// <summary> /// Handles the CreatingDirectory event of the jobWorker control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FlagSync.Core.DirectoryCreationEventArgs"/> instance containing the event data.</param> private void jobWorker_CreatingDirectory(object sender, DirectoryCreationEventArgs e) { this.AddLogMessage(Resources.CreatingString, Resources.DirectoryString, e.Directory.FullName, e.TargetDirectory.FullName, false, null); }
/// <summary> /// Handles the CreatedDirectory event of the jobWorker control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FlagSync.Core.DirectoryCreationEventArgs"/> instance containing the event data.</param> private void jobWorker_CreatedDirectory(object sender, DirectoryCreationEventArgs e) { this.LastLogMessage.Progress = 100; }
/// <summary> /// Handles the DirectoryCreationError event of the jobWorker control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="FlagSync.Core.DirectoryCreationEventArgs"/> instance containing the event data.</param> private void jobWorker_DirectoryCreationError(object sender, DirectoryCreationEventArgs e) { this.DeleteLastLogMessage(); this.AddLogMessage(Resources.CreationErrorString, Resources.DirectoryString, e.Directory.FullName, e.TargetDirectory.FullName, true, null); }