public static ToolsOptionsDialog FromDte(VisualStudioApp app) { return(new ToolsOptionsDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Tools.Options")) )); }
public static ChooseLocationDialog FromDte(VisualStudioApp app) { return(new ChooseLocationDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.ProjectPickerMoveInto")) )); }
public static AutomationDialog FromDte(VisualStudioApp app, string commandName, string commandArgs = "") { return(new AutomationDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand(commandName, commandArgs)) )); }
public static CredentialsDialog PublishSelection(VisualStudioApp app) { return(new CredentialsDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Build.PublishSelection")) )); }
public static SelectFolderDialog AddFolderToSearchPath(VisualStudioApp app) { return(new SelectFolderDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddSearchPathFolder")) )); }
public static AddCondaEnvironmentDialogWrapper FromDte(VisualStudioApp app) { return(new AddCondaEnvironmentDialogWrapper( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Python.AddCondaEnvironment")) )); }
public static NewItemDialog FromDte(VisualStudioApp app) { return(new NewItemDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddNewItem")) )); }
public static SaveDialog FromDte(VisualStudioApp app) { return(new SaveDialog( app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.SaveSelectedItemsAs")) )); }
public static AzureWebSitePublishDialog FromDte(VisualStudioApp app) { var publishDialogHandle = app.OpenDialogWithDteExecuteCommand("Build.PublishSelection"); return(new AzureWebSitePublishDialog(app, AutomationElement.FromHandle(publishDialogHandle))); }
public static RemoveItemDialog FromDte(VisualStudioApp app) { return(new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete")))); }