/// <summary>
 /// Clicks the "Cancel" button and waits for the Extract Interface operation to complete.
 /// </summary>
 public void ClickCancel()
 {
     DialogHelpers.PressButton(GetMainWindowHWnd(), ExtractInterfaceDialogID, "CancelButton");
     VisualStudioInstance.Workspace.WaitForAsyncOperations(Helper.HangMitigatingTimeout, FeatureAttribute.LightBulb);
 }
 /// <summary>
 ///  Clicks the "Select All" button.
 /// </summary>
 public void ClickSelectAll()
 {
     DialogHelpers.PressButton(GetMainWindowHWnd(), ExtractInterfaceDialogID, "SelectAllButton");
 }
 public void ClickRestoreButton()
 => DialogHelpers.PressButton(GetMainWindowHWnd(), ChangeSignatureDialogAutomationId, "RestoreButton");
 public void ClickCancel()
 => DialogHelpers.PressButton(GetMainWindowHWnd(), ChangeSignatureDialogAutomationId, "CancelButton");
Пример #5
0
 /// <summary>
 /// Clicks the "OK" button and waits for the Extract Interface operation to complete.
 /// </summary>
 public void ClickOK()
 {
     DialogHelpers.PressButton(GetMainWindowHWnd(), ExtractInterfaceDialogID, "OkButton");
     VisualStudioInstance.Workspace.WaitForAsyncOperations(FeatureAttribute.LightBulb);
 }
Пример #6
0
 /// <summary>
 /// Clicks the "Cancel" button and waits for the Pick Members operation to complete.
 /// </summary>
 public void ClickCancel()
 {
     DialogHelpers.PressButton(GetMainWindowHWnd(), PickMembersDialogID, "CancelButton");
     VisualStudioInstance.Workspace.WaitForAsyncOperations(FeatureAttribute.LightBulb);
 }