Exemplo n.º 1
0
 private void UndonePendingChangeHandler(Object sender, PendingChangeEventArgs e)
 {
     Console.WriteLine("Forced Undo on " + e.PendingChange.ToString());
 }
Exemplo n.º 2
0
 internal static void OnNewPendingChange(Object sender, PendingChangeEventArgs e)
 {
     Console.WriteLine("  Pending " + PendingChange.GetLocalizedStringForChangeType(e.PendingChange.ChangeType) +
                       " on " + e.PendingChange.LocalItem);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the UndonePendingChange event of the versionControlServer control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Microsoft.TeamFoundation.VersionControl.Client.PendingChangeEventArgs"/> instance containing the event data.</param>
 /// <remarks>Documented by CFI, 2010-06-27</remarks>
 protected void versionControlServer_UndonePendingChange(object sender, PendingChangeEventArgs e)
 {
     UpdatePendingChanges(CurrentWorkingFolder.LocalItem);
 }
Exemplo n.º 4
0
 private void VersionControlServer_NewPendingChange(object sender, PendingChangeEventArgs e)
 {
     RefreshPendingChanges();
 }