From 0e714529186bd1df360cc92f839acba189237aee Mon Sep 17 00:00:00 2001 From: GasparAcevedoZainSouthworks Date: Fri, 18 Jan 2019 12:08:52 -0300 Subject: [PATCH 01/52] Visual Studio Extension for creating Bot files --- BotFileCreator.sln | 25 ++ BotFileCreator/BaseDialogWindow.cs | 13 ++ BotFileCreator/BotFileCreationWizard.xaml | 16 ++ BotFileCreator/BotFileCreationWizard.xaml.cs | 60 +++++ BotFileCreator/BotFileCreator.csproj | 214 ++++++++++++++++++ BotFileCreator/BotFileCreatorCommand.cs | 125 ++++++++++ BotFileCreator/BotFileCreatorManager.cs | 110 +++++++++ BotFileCreator/BotFileCreatorPackage.cs | 77 +++++++ BotFileCreator/BotFileCreatorPackage.vsct | 93 ++++++++ BotFileCreator/GeneralSettings.Designer.cs | 51 +++++ BotFileCreator/GeneralSettings.settings | 12 + BotFileCreator/Key.snk | Bin 0 -> 596 bytes BotFileCreator/Properties/AssemblyInfo.cs | 33 +++ .../Resources/BotFileCreatorCommand.png | Bin 0 -> 1172 bytes .../Resources/BotFileCreatorPackage.ico | Bin 0 -> 428446 bytes BotFileCreator/VSPackage.resx | 140 ++++++++++++ BotFileCreator/index.html | 65 ++++++ BotFileCreator/packages.config | 25 ++ BotFileCreator/source.extension.vsixmanifest | 21 ++ BotFileCreator/stylesheet.css | 129 +++++++++++ 20 files changed, 1209 insertions(+) create mode 100644 BotFileCreator.sln create mode 100644 BotFileCreator/BaseDialogWindow.cs create mode 100644 BotFileCreator/BotFileCreationWizard.xaml create mode 100644 BotFileCreator/BotFileCreationWizard.xaml.cs create mode 100644 BotFileCreator/BotFileCreator.csproj create mode 100644 BotFileCreator/BotFileCreatorCommand.cs create mode 100644 BotFileCreator/BotFileCreatorManager.cs create mode 100644 BotFileCreator/BotFileCreatorPackage.cs create mode 100644 BotFileCreator/BotFileCreatorPackage.vsct create mode 100644 BotFileCreator/GeneralSettings.Designer.cs create mode 100644 BotFileCreator/GeneralSettings.settings create mode 100644 BotFileCreator/Key.snk create mode 100644 BotFileCreator/Properties/AssemblyInfo.cs create mode 100644 BotFileCreator/Resources/BotFileCreatorCommand.png create mode 100644 BotFileCreator/Resources/BotFileCreatorPackage.ico create mode 100644 BotFileCreator/VSPackage.resx create mode 100644 BotFileCreator/index.html create mode 100644 BotFileCreator/packages.config create mode 100644 BotFileCreator/source.extension.vsixmanifest create mode 100644 BotFileCreator/stylesheet.css diff --git a/BotFileCreator.sln b/BotFileCreator.sln new file mode 100644 index 0000000000..5fd28ae3bb --- /dev/null +++ b/BotFileCreator.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28010.2041 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BotFileCreator", "BotFileCreator\BotFileCreator.csproj", "{90E69D82-3623-4AE8-9F25-3E4BB7362508}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {90E69D82-3623-4AE8-9F25-3E4BB7362508}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {90E69D82-3623-4AE8-9F25-3E4BB7362508}.Debug|Any CPU.Build.0 = Debug|Any CPU + {90E69D82-3623-4AE8-9F25-3E4BB7362508}.Release|Any CPU.ActiveCfg = Release|Any CPU + {90E69D82-3623-4AE8-9F25-3E4BB7362508}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {63432931-989E-4E26-9D1B-F9C39DF3BD91} + EndGlobalSection +EndGlobal diff --git a/BotFileCreator/BaseDialogWindow.cs b/BotFileCreator/BaseDialogWindow.cs new file mode 100644 index 0000000000..66562fd699 --- /dev/null +++ b/BotFileCreator/BaseDialogWindow.cs @@ -0,0 +1,13 @@ +using Microsoft.VisualStudio.PlatformUI; + +namespace BotFileCreator +{ + public class BaseDialogWindow : DialogWindow + { + public BaseDialogWindow() + { + this.HasMaximizeButton = true; + this.HasMinimizeButton = true; + } + } +} diff --git a/BotFileCreator/BotFileCreationWizard.xaml b/BotFileCreator/BotFileCreationWizard.xaml new file mode 100644 index 0000000000..3ee6baccdb --- /dev/null +++ b/BotFileCreator/BotFileCreationWizard.xaml @@ -0,0 +1,16 @@ + + +