コード例 #1
0
 public static SelectFolderDialog AddFolderToSearchPath(VisualStudioApp app)
 {
     return(new SelectFolderDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddSearchPathFolder"))
                ));
 }
コード例 #2
0
 public static CredentialsDialog PublishSelection(VisualStudioApp app)
 {
     return(new CredentialsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Build.PublishSelection"))
                ));
 }
コード例 #3
0
 public static AddExistingItemDialog FromDte(VisualStudioApp app)
 {
     return(new AddExistingItemDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddExistingItem"))
                ));
 }
コード例 #4
0
ファイル: SaveDialog.cs プロジェクト: PeezoSlug/PTVS
 public static SaveDialog FromDte(VisualStudioApp app)
 {
     return(new SaveDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.SaveSelectedItemsAs"))
                ));
 }
コード例 #5
0
 public static ToolsOptionsDialog FromDte(VisualStudioApp app)
 {
     return(new ToolsOptionsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Tools.Options"))
                ));
 }
コード例 #6
0
 public static ChooseLocationDialog FromDte(VisualStudioApp app)
 {
     return(new ChooseLocationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.ProjectPickerMoveInto"))
                ));
 }
コード例 #7
0
 public static AutomationDialog FromDte(VisualStudioApp app, string commandName, string commandArgs = "")
 {
     return(new AutomationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand(commandName, commandArgs))
                ));
 }
コード例 #8
0
ファイル: NewAppDialog.cs プロジェクト: omnimark/PTVS
 public static NewAppDialog FromDte(VisualStudioApp app) {
     return new NewAppDialog(
         app,
         AutomationElement.FromHandle(
             app.OpenDialogWithDteExecuteCommand("ProjectandSolutionContextMenus.Project.Add.Djangoapp")
         )
     );
 }
コード例 #9
0
ファイル: NewAppDialog.cs プロジェクト: zyxws012/PTVS
 public static NewAppDialog FromDte(VisualStudioApp app)
 {
     return(new NewAppDialog(
                app,
                AutomationElement.FromHandle(
                    app.OpenDialogWithDteExecuteCommand("ProjectandSolutionContextMenus.Project.Add.Djangoapp")
                    )
                ));
 }
コード例 #10
0
 public static SelectFolderDialog AddFolderToSearchPath(VisualStudioApp app) {
     return new SelectFolderDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddSearchPathFolder"))
     );
 }
コード例 #11
0
ファイル: NewProjectDialog.cs プロジェクト: sramos30/ntvsiot
 public static NewItemDialog FromDte(VisualStudioApp app) {
     return new NewItemDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddNewItem"))
     );
 }
コード例 #12
0
ファイル: AutomationDialog.cs プロジェクト: RussBaz/PTVS
 public static AutomationDialog FromDte(VisualStudioApp app, string commandName, string commandArgs = "") {
     return new AutomationDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand(commandName, commandArgs))
     );
 }
コード例 #13
0
ファイル: ToolsOptionsDialog.cs プロジェクト: RussBaz/PTVS
 public static ToolsOptionsDialog FromDte(VisualStudioApp app) {
     return new ToolsOptionsDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Tools.Options"))
     );
 }
コード例 #14
0
 public static ChooseLocationDialog FromDte(VisualStudioApp app) {
     return new ChooseLocationDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.ProjectPickerMoveInto"))
     );
 }
コード例 #15
0
 public static AzureCloudServicePublishDialog FromDte(VisualStudioApp app) {
     var publishDialogHandle = app.OpenDialogWithDteExecuteCommand("Build.PublishSelection");
     return new AzureCloudServicePublishDialog(app, AutomationElement.FromHandle(publishDialogHandle));
 }
コード例 #16
0
 public static RemoveItemDialog FromDte(VisualStudioApp app)
 {
     return(new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete"))));
 }
コード例 #17
0
ファイル: RemoveItemDialog.cs プロジェクト: sramos30/ntvsiot
 public static RemoveItemDialog FromDte(VisualStudioApp app) {
     return new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete")));
 }
コード例 #18
0
ファイル: CredentialsDialog.cs プロジェクト: RussBaz/PTVS
 public static CredentialsDialog PublishSelection(VisualStudioApp app) {
     return new CredentialsDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Build.PublishSelection"))
     );
 }
コード例 #19
0
ファイル: SaveDialog.cs プロジェクト: sramos30/ntvsiot
 public static SaveDialog FromDte(VisualStudioApp app) {
     return new SaveDialog(
         app,
         AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.SaveSelectedItemsAs"))
     );
 }