コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <summary>
 ///  Clicks the "Select All" button.
 /// </summary>
 public void ClickSelectAll()
 {
     DialogHelpers.PressButton(GetMainWindowHWnd(), ExtractInterfaceDialogID, "SelectAllButton");
 }
コード例 #3
0
 public void ClickRestoreButton()
 => DialogHelpers.PressButton(GetMainWindowHWnd(), ChangeSignatureDialogAutomationId, "RestoreButton");
コード例 #4
0
 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);
 }