diff --git a/Samples.sln b/Samples.sln index ffedb54..6012216 100644 --- a/Samples.sln +++ b/Samples.sln @@ -29,6 +29,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ch04_Navigation", "ch04_Nav EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_ShellRoutes", "ch04_Navigation\ex_ShellRoutes\ex_ShellRoutes.csproj", "{1559C59B-727D-402D-A140-30B111DBF224}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_CustomThemes", "ch02_DesigningViews\ex_CustomThemes\ex_CustomThemes.csproj", "{E1F1F0CA-6E77-414E-B6D0-3302D850121C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ch06_Others", "ch06_Others", "{CD52E1B3-6246-4940-88A1-1313E1273839}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_Preferences", "ch06_Others\ex_Preferences\ex_Preferences.csproj", "{1D959883-1D6E-4E29-A575-69173C9BBC97}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_Localization", "ch06_Others\ex_Localization\ex_Localization.csproj", "{9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_Localization2", "ch06_Others\ex_Localization2\ex_Localization2.csproj", "{17CBE4C6-9579-4B76-9520-F902C932C535}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_Localization3", "ch06_Others\ex_Localization3\ex_Localization3.csproj", "{94DB81BA-1FCB-4E65-B1AD-BA68B445C457}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -81,6 +93,26 @@ Global {1559C59B-727D-402D-A140-30B111DBF224}.Debug|Any CPU.Build.0 = Debug|Any CPU {1559C59B-727D-402D-A140-30B111DBF224}.Release|Any CPU.ActiveCfg = Release|Any CPU {1559C59B-727D-402D-A140-30B111DBF224}.Release|Any CPU.Build.0 = Release|Any CPU + {E1F1F0CA-6E77-414E-B6D0-3302D850121C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E1F1F0CA-6E77-414E-B6D0-3302D850121C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E1F1F0CA-6E77-414E-B6D0-3302D850121C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E1F1F0CA-6E77-414E-B6D0-3302D850121C}.Release|Any CPU.Build.0 = Release|Any CPU + {1D959883-1D6E-4E29-A575-69173C9BBC97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1D959883-1D6E-4E29-A575-69173C9BBC97}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1D959883-1D6E-4E29-A575-69173C9BBC97}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1D959883-1D6E-4E29-A575-69173C9BBC97}.Release|Any CPU.Build.0 = Release|Any CPU + {9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE}.Release|Any CPU.Build.0 = Release|Any CPU + {17CBE4C6-9579-4B76-9520-F902C932C535}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17CBE4C6-9579-4B76-9520-F902C932C535}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17CBE4C6-9579-4B76-9520-F902C932C535}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17CBE4C6-9579-4B76-9520-F902C932C535}.Release|Any CPU.Build.0 = Release|Any CPU + {94DB81BA-1FCB-4E65-B1AD-BA68B445C457}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94DB81BA-1FCB-4E65-B1AD-BA68B445C457}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94DB81BA-1FCB-4E65-B1AD-BA68B445C457}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94DB81BA-1FCB-4E65-B1AD-BA68B445C457}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -96,5 +128,10 @@ Global {5F26E535-4541-4C99-BD92-2DDB4EB65705} = {E9273679-4D52-465F-8C23-8096DD8C2A7B} {CE13BDA5-D5E5-42A2-BF2B-17942919E7E6} = {E9273679-4D52-465F-8C23-8096DD8C2A7B} {1559C59B-727D-402D-A140-30B111DBF224} = {0E6296E1-F020-4A0D-9F98-4284F38FD68B} + {E1F1F0CA-6E77-414E-B6D0-3302D850121C} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9} + {1D959883-1D6E-4E29-A575-69173C9BBC97} = {CD52E1B3-6246-4940-88A1-1313E1273839} + {9F174F30-18D0-4B6B-A8E0-A4D0EB12FBEE} = {CD52E1B3-6246-4940-88A1-1313E1273839} + {17CBE4C6-9579-4B76-9520-F902C932C535} = {CD52E1B3-6246-4940-88A1-1313E1273839} + {94DB81BA-1FCB-4E65-B1AD-BA68B445C457} = {CD52E1B3-6246-4940-88A1-1313E1273839} EndGlobalSection EndGlobal diff --git a/ch02_DesigningViews/ex_CustomThemes/App.xaml b/ch02_DesigningViews/ex_CustomThemes/App.xaml new file mode 100644 index 0000000..15cc82a --- /dev/null +++ b/ch02_DesigningViews/ex_CustomThemes/App.xaml @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff --git a/ch02_DesigningViews/ex_CustomThemes/App.xaml.cs b/ch02_DesigningViews/ex_CustomThemes/App.xaml.cs new file mode 100644 index 0000000..7c27b93 --- /dev/null +++ b/ch02_DesigningViews/ex_CustomThemes/App.xaml.cs @@ -0,0 +1,11 @@ +namespace ex_CustomThemes; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } +} diff --git a/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml b/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml new file mode 100644 index 0000000..55b9b3b --- /dev/null +++ b/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml @@ -0,0 +1,15 @@ + + + + + + diff --git a/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml.cs b/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml.cs new file mode 100644 index 0000000..4989883 --- /dev/null +++ b/ch02_DesigningViews/ex_CustomThemes/AppShell.xaml.cs @@ -0,0 +1,9 @@ +namespace ex_CustomThemes; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } +} diff --git a/ch02_DesigningViews/ex_CustomThemes/MainPage.xaml b/ch02_DesigningViews/ex_CustomThemes/MainPage.xaml new file mode 100644 index 0000000..007e219 --- /dev/null +++ b/ch02_DesigningViews/ex_CustomThemes/MainPage.xaml @@ -0,0 +1,46 @@ + + + + + +