From f0e77b1e098556d30948b0931083eaaf5aa4b3dd Mon Sep 17 00:00:00 2001 From: Cedric CHARBONNEL Date: Fri, 26 May 2023 12:03:46 +0200 Subject: [PATCH] view1 --- LOLAPP/LOLAPP/AppShell.xaml | 9 +++--- LOLAPP/LOLAPP/LOLAPP.csproj | 12 +++++++ LOLAPP/LOLAPP/MainPage.xaml | 50 ----------------------------- LOLAPP/LOLAPP/MainPage.xaml.cs | 16 --------- LOLAPP/LOLAPP/View/Main.xaml | 31 ++++++++++++++++++ LOLAPP/LOLAPP/View/Main.xaml.cs | 20 ++++++++++++ LOLAPP/LOLAPP/View/Register.xaml | 12 +++++++ LOLAPP/LOLAPP/View/Register.xaml.cs | 9 ++++++ LOLAPP/LOLAPP/View/Strat.xaml | 12 +++++++ LOLAPP/LOLAPP/View/Strat.xaml.cs | 9 ++++++ 10 files changed, 110 insertions(+), 70 deletions(-) delete mode 100644 LOLAPP/LOLAPP/MainPage.xaml delete mode 100644 LOLAPP/LOLAPP/MainPage.xaml.cs create mode 100644 LOLAPP/LOLAPP/View/Main.xaml create mode 100644 LOLAPP/LOLAPP/View/Main.xaml.cs create mode 100644 LOLAPP/LOLAPP/View/Register.xaml create mode 100644 LOLAPP/LOLAPP/View/Register.xaml.cs create mode 100644 LOLAPP/LOLAPP/View/Strat.xaml create mode 100644 LOLAPP/LOLAPP/View/Strat.xaml.cs diff --git a/LOLAPP/LOLAPP/AppShell.xaml b/LOLAPP/LOLAPP/AppShell.xaml index 0cd8fa1..17ee620 100644 --- a/LOLAPP/LOLAPP/AppShell.xaml +++ b/LOLAPP/LOLAPP/AppShell.xaml @@ -4,11 +4,12 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:LOLAPP" + xmlns:view="clr-namespace:LOLAPP.View" Shell.FlyoutBehavior="Disabled"> - - + - + diff --git a/LOLAPP/LOLAPP/LOLAPP.csproj b/LOLAPP/LOLAPP/LOLAPP.csproj index 18a6d92..24af873 100644 --- a/LOLAPP/LOLAPP/LOLAPP.csproj +++ b/LOLAPP/LOLAPP/LOLAPP.csproj @@ -52,4 +52,16 @@ + + + MSBuild:Compile + + + MSBuild:Compile + + + MSBuild:Compile + + + diff --git a/LOLAPP/LOLAPP/MainPage.xaml b/LOLAPP/LOLAPP/MainPage.xaml deleted file mode 100644 index f6e9d70..0000000 --- a/LOLAPP/LOLAPP/MainPage.xaml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/LOLAPP/LOLAPP/MainPage.xaml.cs b/LOLAPP/LOLAPP/MainPage.xaml.cs deleted file mode 100644 index 559bb4d..0000000 --- a/LOLAPP/LOLAPP/MainPage.xaml.cs +++ /dev/null @@ -1,16 +0,0 @@ -using LOLAPP.Modele; - -namespace LOLAPP; - -public partial class MainPage : ContentPage -{ - int count = 0; - public Manager Cmanager => (App.Current as App).ChampionManager; - - public MainPage() - { - InitializeComponent(); - BindingContext = Cmanager; - champ.BindingContext = Cmanager._champions; - } -} \ No newline at end of file diff --git a/LOLAPP/LOLAPP/View/Main.xaml b/LOLAPP/LOLAPP/View/Main.xaml new file mode 100644 index 0000000..7e880bc --- /dev/null +++ b/LOLAPP/LOLAPP/View/Main.xaml @@ -0,0 +1,31 @@ + + + + + + + + + +