public override void ShowChangesetDetails(int changesetId) { if (VersionControlExt != null) { VersionControlExt.ViewChangesetDetails(changesetId); } }
/// <summary> /// Handles the DoubleClick event of the ResultsList control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> private void ResultsList_DoubleClick(object sender, EventArgs e) { if (ResultsList.SelectedItems.Count == 0) { return; } foreach (Changeset changeset in changes) { if (changeset.ChangesetId.ToString() == ResultsList.SelectedItems[0].Text) { versionControlExt.ViewChangesetDetails(changeset.ChangesetId); break; } } }
/// <summary> /// Shows the changeset details dilaog, see <b>Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlExplorerExt.ViewChangesetDetails</b>. /// </summary> /// <param name="ch">The ch.</param> static internal void ShowChangesetDetailsDlg(int ch) { vcext.ViewChangesetDetails(ch); }