diff --git a/MyFirstMauiApp/MyFirstMauiApp.sln b/MyFirstMauiApp/MyFirstMauiApp.sln index 4f7cf5f..915ee51 100644 --- a/MyFirstMauiApp/MyFirstMauiApp.sln +++ b/MyFirstMauiApp/MyFirstMauiApp.sln @@ -5,9 +5,11 @@ VisualStudioVersion = 17.8.34511.84 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Phoneword", "Phoneword\Phoneword.csproj", "{B3546A62-5BF5-4659-A76C-626F5781CDA4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MauiUI", "MauiUI\MauiUI.csproj", "{62F41B46-D4DA-492C-B4B1-7B09FDC97E9F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiUI", "MauiUI\MauiUI.csproj", "{62F41B46-D4DA-492C-B4B1-7B09FDC97E9F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PageLayout", "PageLayout\PageLayout.csproj", "{6115FFF0-9453-4924-9419-B1660B2BD2CB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PageLayout", "PageLayout\PageLayout.csproj", "{6115FFF0-9453-4924-9419-B1660B2BD2CB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharedResources", "SharedResources\SharedResources.csproj", "{9A9A55D0-AD77-4510-97E7-A345ABFB5C28}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -33,6 +35,12 @@ Global {6115FFF0-9453-4924-9419-B1660B2BD2CB}.Release|Any CPU.ActiveCfg = Release|Any CPU {6115FFF0-9453-4924-9419-B1660B2BD2CB}.Release|Any CPU.Build.0 = Release|Any CPU {6115FFF0-9453-4924-9419-B1660B2BD2CB}.Release|Any CPU.Deploy.0 = Release|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Release|Any CPU.Build.0 = Release|Any CPU + {9A9A55D0-AD77-4510-97E7-A345ABFB5C28}.Release|Any CPU.Deploy.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MyFirstMauiApp/SharedResources/App.xaml b/MyFirstMauiApp/SharedResources/App.xaml new file mode 100644 index 0000000..ce5dee9 --- /dev/null +++ b/MyFirstMauiApp/SharedResources/App.xaml @@ -0,0 +1,25 @@ + + + + + + + + + + #C0C0C0 + #0000AD + 22 + + + + + + diff --git a/MyFirstMauiApp/SharedResources/App.xaml.cs b/MyFirstMauiApp/SharedResources/App.xaml.cs new file mode 100644 index 0000000..ef2408f --- /dev/null +++ b/MyFirstMauiApp/SharedResources/App.xaml.cs @@ -0,0 +1,12 @@ +namespace SharedResources +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } + } +} diff --git a/MyFirstMauiApp/SharedResources/AppShell.xaml b/MyFirstMauiApp/SharedResources/AppShell.xaml new file mode 100644 index 0000000..4d6a62d --- /dev/null +++ b/MyFirstMauiApp/SharedResources/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/MyFirstMauiApp/SharedResources/AppShell.xaml.cs b/MyFirstMauiApp/SharedResources/AppShell.xaml.cs new file mode 100644 index 0000000..992c2ac --- /dev/null +++ b/MyFirstMauiApp/SharedResources/AppShell.xaml.cs @@ -0,0 +1,14 @@ +namespace SharedResources +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + + Routing.RegisterRoute(nameof(CustomTipPage), typeof(CustomTipPage)); + + Application.Current.UserAppTheme = AppTheme.Light; + } + } +} diff --git a/MyFirstMauiApp/SharedResources/CustomTipPage.xaml b/MyFirstMauiApp/SharedResources/CustomTipPage.xaml new file mode 100644 index 0000000..8f08746 --- /dev/null +++ b/MyFirstMauiApp/SharedResources/CustomTipPage.xaml @@ -0,0 +1,36 @@ + + + + +