Ajout du visuel
continuous-integration/drone/push Build is failing Details

pull/18/head
Leana BESSON 2 years ago
parent a26c2a7804
commit 93aec4f370

@ -7,8 +7,13 @@
Shell.FlyoutBehavior="Disabled">
<ShellContent
Title="Home"
Title="Acceuil"
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage" />
<ShellContent
Title="Les espèces"
ContentTemplate="{DataTemplate local:Especes}"
Route="Especes" />
</Shell>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Views.Especes"
Title="Especes">
<VerticalStackLayout>
<Label
Text="Les espèces"
VerticalOptions="Center"
HorizontalOptions="Center" />
</VerticalStackLayout>
</ContentPage>

@ -0,0 +1,9 @@
namespace Views;
public partial class Especes : ContentPage
{
public Especes()
{
InitializeComponent();
}
}

@ -16,25 +16,18 @@
HorizontalOptions="Center" />
<Label
Text="Hello, World!"
Text="Wikipet's"
SemanticProperties.HeadingLevel="Level1"
FontSize="32"
HorizontalOptions="Center" />
<Label
Text="Welcome to .NET Multi-platform App UI"
Text="Bienvenue dans le monde des animaux domestiques"
SemanticProperties.HeadingLevel="Level2"
SemanticProperties.Description="Welcome to dot net Multi platform App U I"
FontSize="18"
HorizontalOptions="Center" />
<Button
x:Name="CounterBtn"
Text="Click me"
SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked"
HorizontalOptions="Center" />
</VerticalStackLayout>
</ScrollView>

@ -8,17 +8,5 @@
{
InitializeComponent();
}
private void OnCounterClicked(object sender, EventArgs e)
{
count++;
if (count == 1)
CounterBtn.Text = $"Clicked {count} time";
else
CounterBtn.Text = $"Clicked {count} times";
SemanticScreenReader.Announce(CounterBtn.Text);
}
}
}

@ -8,7 +8,7 @@
<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
<mp:PhoneIdentity PhoneProductId="B45269F8-D31D-4CDB-A69B-5596639C2B21" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<mp:PhoneIdentity PhoneProductId="3B45322D-321D-4222-BA65-C4107D8E4118" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>$placeholder$</DisplayName>

@ -16,7 +16,7 @@
<!-- App Identifier -->
<ApplicationId>com.companyname.views</ApplicationId>
<ApplicationIdGuid>d3847f31-5042-4f5e-9185-e7666ac56268</ApplicationIdGuid>
<ApplicationIdGuid>89315e73-85a7-4786-8542-6423c34898ac</ApplicationIdGuid>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
@ -52,4 +52,16 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Especes.xaml.cs">
<DependentUpon>Especes.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<MauiXaml Update="Especes.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>
</Project>

@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Views", "Views\Views.csproj", "{5D9910CE-1DC8-4025-9489-41167E41D55B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Console", "Console\Console.csproj", "{66D1B4E7-A14F-4DCE-89D1-31CC53E5F3B9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Console", "Console\Console.csproj", "{66D1B4E7-A14F-4DCE-89D1-31CC53E5F3B9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model", "Model\Model.csproj", "{83309215-075B-406F-A72E-45E40AD47E43}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Model", "Model\Model.csproj", "{83309215-075B-406F-A72E-45E40AD47E43}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Views", "Views\Views.csproj", "{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,12 +15,6 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Release|Any CPU.Build.0 = Release|Any CPU
{5D9910CE-1DC8-4025-9489-41167E41D55B}.Release|Any CPU.Deploy.0 = Release|Any CPU
{66D1B4E7-A14F-4DCE-89D1-31CC53E5F3B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{66D1B4E7-A14F-4DCE-89D1-31CC53E5F3B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{66D1B4E7-A14F-4DCE-89D1-31CC53E5F3B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -29,6 +23,12 @@ Global
{83309215-075B-406F-A72E-45E40AD47E43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{83309215-075B-406F-A72E-45E40AD47E43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{83309215-075B-406F-A72E-45E40AD47E43}.Release|Any CPU.Build.0 = Release|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Release|Any CPU.Build.0 = Release|Any CPU
{6FB34AC9-C9A0-4223-96A0-C8D3D7C3242F}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Loading…
Cancel
Save