From 47e753b1bb7a0bbe9a9e4cc6f1f0e972dc07c0d5 Mon Sep 17 00:00:00 2001 From: "pauline.prady" Date: Sat, 23 Mar 2024 11:54:21 +0100 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20de=20la=20page=20d'accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mastermind/AppShell.xaml | 5 +++-- mastermind/Pages/Accueil.xaml | 12 ++++++++++++ mastermind/Pages/Accueil.xaml.cs | 9 +++++++++ mastermind/mastermind.csproj | 6 ++++++ 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 mastermind/Pages/Accueil.xaml create mode 100644 mastermind/Pages/Accueil.xaml.cs diff --git a/mastermind/AppShell.xaml b/mastermind/AppShell.xaml index f9c895b..3b2f2ff 100644 --- a/mastermind/AppShell.xaml +++ b/mastermind/AppShell.xaml @@ -4,12 +4,13 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:mastermind" + xmlns:pages="clr-namespace:mastermind.Pages" Shell.FlyoutBehavior="Disabled" Title="mastermind"> + ContentTemplate="{DataTemplate pages:Accueil}" + Route="pages:Accueil" /> diff --git a/mastermind/Pages/Accueil.xaml b/mastermind/Pages/Accueil.xaml new file mode 100644 index 0000000..48080bc --- /dev/null +++ b/mastermind/Pages/Accueil.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/mastermind/Pages/Accueil.xaml.cs b/mastermind/Pages/Accueil.xaml.cs new file mode 100644 index 0000000..cb80fba --- /dev/null +++ b/mastermind/Pages/Accueil.xaml.cs @@ -0,0 +1,9 @@ +namespace mastermind.Pages; + +public partial class Accueil : ContentPage +{ + public Accueil() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/mastermind/mastermind.csproj b/mastermind/mastermind.csproj index 0383953..18a0066 100644 --- a/mastermind/mastermind.csproj +++ b/mastermind/mastermind.csproj @@ -62,4 +62,10 @@ + + + MSBuild:Compile + + +