diff --git a/MyFirstMauiApp/WeatherClient/App.xaml.cs b/MyFirstMauiApp/WeatherClient/App.xaml.cs index df96028..e97670e 100644 --- a/MyFirstMauiApp/WeatherClient/App.xaml.cs +++ b/MyFirstMauiApp/WeatherClient/App.xaml.cs @@ -1,4 +1,5 @@ -namespace WeatherClient + +namespace WeatherClient { public partial class App : Application { @@ -8,5 +9,15 @@ MainPage = new AppShell(); } + + protected override Window CreateWindow(IActivationState activationState) + { + Window window = base.CreateWindow(activationState); +#if WINDOWS + window.Width = 500; + window.Height = 300; +#endif + return window; + } } } diff --git a/MyFirstMauiApp/WeatherClient/WeatherClient.sln b/MyFirstMauiApp/WeatherClient/WeatherClient.sln new file mode 100644 index 0000000..286a3fa --- /dev/null +++ b/MyFirstMauiApp/WeatherClient/WeatherClient.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WeatherClient", "WeatherClient.csproj", "{7628391E-6231-4B22-9EB9-4855B8426860}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7628391E-6231-4B22-9EB9-4855B8426860}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7628391E-6231-4B22-9EB9-4855B8426860}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7628391E-6231-4B22-9EB9-4855B8426860}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7628391E-6231-4B22-9EB9-4855B8426860}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {AD30111B-1180-41AC-93B0-BE512D191AB8} + EndGlobalSection +EndGlobal