Modif patch pour que ce soit mieux
continuous-integration/drone/push Build is passing Details

pull/116/head
Hugo LIVET 2 years ago
parent c930afdf9c
commit 81201329d3

@ -8,7 +8,7 @@
Shell.NavBarIsVisible="False"> Shell.NavBarIsVisible="False">
<ShellContent <ShellContent
ContentTemplate="{DataTemplate local:MainPage_Windows}" ContentTemplate="{DataTemplate local:MainPage}"
Route="Inscription" /> Route="Inscription" />
</Shell> </Shell>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.MainPage_Windows" x:Class="IHM.Desktop.MainPage"
Title="MainPage_Windows"> Title="MainPage_Windows">
<StackLayout BackgroundColor="{StaticResource Primary}"> <StackLayout BackgroundColor="{StaticResource Primary}">

@ -3,10 +3,10 @@ using System.Windows.Input;
namespace IHM.Desktop; namespace IHM.Desktop;
public partial class MainPage_Windows : ContentPage public partial class MainPage : ContentPage
{ {
public Manager Mgr => (App.Current as App).Manager; public Manager Mgr => (App.Current as App).Manager;
public MainPage_Windows() public MainPage()
{ {
InitializeComponent(); InitializeComponent();
BindingContext = this; BindingContext = this;

@ -80,6 +80,9 @@
<Compile Update="AppShellDesktop.xaml.cs"> <Compile Update="AppShellDesktop.xaml.cs">
<DependentUpon>AppShellDesktop.xaml</DependentUpon> <DependentUpon>AppShellDesktop.xaml</DependentUpon>
</Compile> </Compile>
<Compile Update="Desktop\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@ -104,7 +107,7 @@
<MauiXaml Update="Inscription.xaml"> <MauiXaml Update="Inscription.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</MauiXaml> </MauiXaml>
<MauiXaml Update="Desktop\MainPage_Windows.xaml"> <MauiXaml Update="Desktop\MainPage.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</MauiXaml> </MauiXaml>
</ItemGroup> </ItemGroup>

Loading…
Cancel
Save