From 81201329d36e88e5d745764128d55544f09c6b96 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Thu, 17 Nov 2022 14:52:30 +0100 Subject: [PATCH] Modif patch pour que ce soit mieux --- Sources/IHM/AppShellDesktop.xaml | 2 +- Sources/IHM/Desktop/{MainPage_Windows.xaml => MainPage.xaml} | 2 +- .../Desktop/{MainPage_Windows.xaml.cs => MainPage.xaml.cs} | 4 ++-- Sources/IHM/IHM.csproj | 5 ++++- 4 files changed, 8 insertions(+), 5 deletions(-) rename Sources/IHM/Desktop/{MainPage_Windows.xaml => MainPage.xaml} (97%) rename Sources/IHM/Desktop/{MainPage_Windows.xaml.cs => MainPage.xaml.cs} (95%) diff --git a/Sources/IHM/AppShellDesktop.xaml b/Sources/IHM/AppShellDesktop.xaml index a1e8bdc..a84f38e 100644 --- a/Sources/IHM/AppShellDesktop.xaml +++ b/Sources/IHM/AppShellDesktop.xaml @@ -8,7 +8,7 @@ Shell.NavBarIsVisible="False"> diff --git a/Sources/IHM/Desktop/MainPage_Windows.xaml b/Sources/IHM/Desktop/MainPage.xaml similarity index 97% rename from Sources/IHM/Desktop/MainPage_Windows.xaml rename to Sources/IHM/Desktop/MainPage.xaml index 35e5964..30488e8 100644 --- a/Sources/IHM/Desktop/MainPage_Windows.xaml +++ b/Sources/IHM/Desktop/MainPage.xaml @@ -1,7 +1,7 @@ diff --git a/Sources/IHM/Desktop/MainPage_Windows.xaml.cs b/Sources/IHM/Desktop/MainPage.xaml.cs similarity index 95% rename from Sources/IHM/Desktop/MainPage_Windows.xaml.cs rename to Sources/IHM/Desktop/MainPage.xaml.cs index d098707..6aa33e5 100644 --- a/Sources/IHM/Desktop/MainPage_Windows.xaml.cs +++ b/Sources/IHM/Desktop/MainPage.xaml.cs @@ -3,10 +3,10 @@ using System.Windows.Input; namespace IHM.Desktop; -public partial class MainPage_Windows : ContentPage +public partial class MainPage : ContentPage { public Manager Mgr => (App.Current as App).Manager; - public MainPage_Windows() + public MainPage() { InitializeComponent(); BindingContext = this; diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj index 4c6f59b..29540bc 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -80,6 +80,9 @@ AppShellDesktop.xaml + + MainPage.xaml + @@ -104,7 +107,7 @@ MSBuild:Compile - + MSBuild:Compile