/// <summary> /// Handles the Renamed event of the Target control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RenamedProjectEventArgs" /> instance containing the event data.</param> private void Target_Renamed(object sender, RenamedProjectEventArgs e) { Renamed?.Invoke(this, e); }
/// <summary> /// Handles the Renamed event of the ProjectProxy control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ProjectModel.RenamedProjectEventArgs" /> instance containing the event data.</param> private void ProjectProxy_Renamed(object sender, RenamedProjectEventArgs e) { Target.OnRenamedProject(e.OldName, e.NewName); }