From f966490576b881b53f619a6d2463ce4b1a0c1920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Fri, 22 Mar 2024 17:21:56 +0100 Subject: [PATCH] Ajout d'un dossier vue et correction d'un bug au niveau de la solution --- source/Trek-12/Trek-12.sln | 2 +- source/Trek-12/Trek-12/AppShell.xaml | 5 +- source/Trek-12/Trek-12/Trek-12.csproj | 6 +- .../Trek-12/Trek-12/Views/PageConnexion.xaml | 83 +++++++++++++++++++ .../Trek-12/Views/PageConnexion.xaml.cs | 9 ++ 5 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 source/Trek-12/Trek-12/Views/PageConnexion.xaml create mode 100644 source/Trek-12/Trek-12/Views/PageConnexion.xaml.cs diff --git a/source/Trek-12/Trek-12.sln b/source/Trek-12/Trek-12.sln index 6f24e37..4dee142 100644 --- a/source/Trek-12/Trek-12.sln +++ b/source/Trek-12/Trek-12.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.8.34408.163 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Trek-12", "Trek-12\Trek-12.csproj", "{41EE7BF8-DDE6-4B00-9434-076589C0B419}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Trek-12", "Trek-12\Trek-12.csproj", "{41EE7BF8-DDE6-4B00-9434-076589C0B419}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/source/Trek-12/Trek-12/AppShell.xaml b/source/Trek-12/Trek-12/AppShell.xaml index c9ead11..88cf947 100644 --- a/source/Trek-12/Trek-12/AppShell.xaml +++ b/source/Trek-12/Trek-12/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:Trek_12" + xmlns:views="clr-namespace:Trek_12.Views" Shell.FlyoutBehavior="Disabled" Title="Trek_12"> + ContentTemplate="{DataTemplate views:PageConnexion}" + Route="PageConnexion" /> diff --git a/source/Trek-12/Trek-12/Trek-12.csproj b/source/Trek-12/Trek-12/Trek-12.csproj index ab6ecbc..a9426da 100644 --- a/source/Trek-12/Trek-12/Trek-12.csproj +++ b/source/Trek-12/Trek-12/Trek-12.csproj @@ -24,7 +24,7 @@ Trek-12 - com.companyname.trek_12 + com.iutclinf.trek-12 1.0 @@ -63,7 +63,9 @@ - + + MSBuild:Compile + diff --git a/source/Trek-12/Trek-12/Views/PageConnexion.xaml b/source/Trek-12/Trek-12/Views/PageConnexion.xaml new file mode 100644 index 0000000..1b656e1 --- /dev/null +++ b/source/Trek-12/Trek-12/Views/PageConnexion.xaml @@ -0,0 +1,83 @@ + + + + + + +