コード例 #1
0
 public static ToolsOptionsDialog FromDte(VisualStudioApp app)
 {
     return(new ToolsOptionsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Tools.Options"))
                ));
 }
コード例 #2
0
 public static ChooseLocationDialog FromDte(VisualStudioApp app)
 {
     return(new ChooseLocationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.ProjectPickerMoveInto"))
                ));
 }
コード例 #3
0
ファイル: AutomationDialog.cs プロジェクト: xNUTs/PTVS
 public static AutomationDialog FromDte(VisualStudioApp app, string commandName, string commandArgs = "")
 {
     return(new AutomationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand(commandName, commandArgs))
                ));
 }
コード例 #4
0
ファイル: CredentialsDialog.cs プロジェクト: xNUTs/PTVS
 public static CredentialsDialog PublishSelection(VisualStudioApp app)
 {
     return(new CredentialsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Build.PublishSelection"))
                ));
 }
コード例 #5
0
 public static SelectFolderDialog AddFolderToSearchPath(VisualStudioApp app)
 {
     return(new SelectFolderDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddSearchPathFolder"))
                ));
 }
コード例 #6
0
 public static AddCondaEnvironmentDialogWrapper FromDte(VisualStudioApp app)
 {
     return(new AddCondaEnvironmentDialogWrapper(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Python.AddCondaEnvironment"))
                ));
 }
コード例 #7
0
 public static NewItemDialog FromDte(VisualStudioApp app)
 {
     return(new NewItemDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddNewItem"))
                ));
 }
コード例 #8
0
ファイル: SaveDialog.cs プロジェクト: xNUTs/PTVS
 public static SaveDialog FromDte(VisualStudioApp app)
 {
     return(new SaveDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.SaveSelectedItemsAs"))
                ));
 }
コード例 #9
0
        public static AzureWebSitePublishDialog FromDte(VisualStudioApp app)
        {
            var publishDialogHandle = app.OpenDialogWithDteExecuteCommand("Build.PublishSelection");

            return(new AzureWebSitePublishDialog(app, AutomationElement.FromHandle(publishDialogHandle)));
        }
コード例 #10
0
 public static RemoveItemDialog FromDte(VisualStudioApp app)
 {
     return(new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete"))));
 }