From ed45412d5a6dd9e30140671cc2d004e6bffcc0eb Mon Sep 17 00:00:00 2001 From: avgolberg Date: Sat, 23 Jul 2022 00:28:40 +0300 Subject: [PATCH 1/4] Routes --- GoogleMapsApi.sln | 18 ++++- GoogleMapsApi/GoogleMapsApi.csproj | 4 + GoogleMapsWPF/App.xaml | 16 ++++ GoogleMapsWPF/App.xaml.cs | 17 +++++ GoogleMapsWPF/AssemblyInfo.cs | 10 +++ GoogleMapsWPF/GoogleMapsWPF.csproj | 15 ++++ GoogleMapsWPF/GoogleMapsWPF.sln | 25 +++++++ GoogleMapsWPF/MainWindow.xaml | 59 +++++++++++++++ GoogleMapsWPF/MainWindow.xaml.cs | 114 +++++++++++++++++++++++++++++ 9 files changed, 276 insertions(+), 2 deletions(-) create mode 100644 GoogleMapsWPF/App.xaml create mode 100644 GoogleMapsWPF/App.xaml.cs create mode 100644 GoogleMapsWPF/AssemblyInfo.cs create mode 100644 GoogleMapsWPF/GoogleMapsWPF.csproj create mode 100644 GoogleMapsWPF/GoogleMapsWPF.sln create mode 100644 GoogleMapsWPF/MainWindow.xaml create mode 100644 GoogleMapsWPF/MainWindow.xaml.cs diff --git a/GoogleMapsApi.sln b/GoogleMapsApi.sln index 1e9b9e3..aec9da9 100644 --- a/GoogleMapsApi.sln +++ b/GoogleMapsApi.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31808.319 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31129.286 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GoogleMapsApi.Test", "GoogleMapsApi.Test\GoogleMapsApi.Test.csproj", "{AD9AD8E9-0E2C-470E-9004-373679F9D954}" EndProject @@ -17,6 +17,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "artifacts", "artifacts", "{ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GoogleMapsApi", "GoogleMapsApi\GoogleMapsApi.csproj", "{61E9FC82-47B0-43C3-8749-95D3A9967060}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GoogleMapsWPF", "GoogleMapsWPF\GoogleMapsWPF.csproj", "{F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -50,6 +52,18 @@ Global {61E9FC82-47B0-43C3-8749-95D3A9967060}.Release|Mixed Platforms.Build.0 = Release|Any CPU {61E9FC82-47B0-43C3-8749-95D3A9967060}.Release|x86.ActiveCfg = Release|Any CPU {61E9FC82-47B0-43C3-8749-95D3A9967060}.Release|x86.Build.0 = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|x86.ActiveCfg = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Debug|x86.Build.0 = Debug|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|Any CPU.Build.0 = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|x86.ActiveCfg = Release|Any CPU + {F81C2FF9-8C3F-4654-ADE1-C93EFA03CB43}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/GoogleMapsApi/GoogleMapsApi.csproj b/GoogleMapsApi/GoogleMapsApi.csproj index a764014..8947408 100644 --- a/GoogleMapsApi/GoogleMapsApi.csproj +++ b/GoogleMapsApi/GoogleMapsApi.csproj @@ -35,4 +35,8 @@ + + + + diff --git a/GoogleMapsWPF/App.xaml b/GoogleMapsWPF/App.xaml new file mode 100644 index 0000000..bef698c --- /dev/null +++ b/GoogleMapsWPF/App.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/GoogleMapsWPF/App.xaml.cs b/GoogleMapsWPF/App.xaml.cs new file mode 100644 index 0000000..7120122 --- /dev/null +++ b/GoogleMapsWPF/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace GoogleMapsWPF +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/GoogleMapsWPF/AssemblyInfo.cs b/GoogleMapsWPF/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/GoogleMapsWPF/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/GoogleMapsWPF/GoogleMapsWPF.csproj b/GoogleMapsWPF/GoogleMapsWPF.csproj new file mode 100644 index 0000000..dee133a --- /dev/null +++ b/GoogleMapsWPF/GoogleMapsWPF.csproj @@ -0,0 +1,15 @@ + + + + WinExe + netcoreapp3.1 + true + + + + + + + + + diff --git a/GoogleMapsWPF/GoogleMapsWPF.sln b/GoogleMapsWPF/GoogleMapsWPF.sln new file mode 100644 index 0000000..fa88b24 --- /dev/null +++ b/GoogleMapsWPF/GoogleMapsWPF.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31129.286 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GoogleMapsWPF", "GoogleMapsWPF.csproj", "{2841EEDA-D859-46DB-B2C4-6827D09775CB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2841EEDA-D859-46DB-B2C4-6827D09775CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2841EEDA-D859-46DB-B2C4-6827D09775CB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2841EEDA-D859-46DB-B2C4-6827D09775CB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2841EEDA-D859-46DB-B2C4-6827D09775CB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F4B6628F-98BB-409C-A09C-9489B1479D25} + EndGlobalSection +EndGlobal diff --git a/GoogleMapsWPF/MainWindow.xaml b/GoogleMapsWPF/MainWindow.xaml new file mode 100644 index 0000000..76c8a66 --- /dev/null +++ b/GoogleMapsWPF/MainWindow.xaml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + +