test du prof

dictionnaire
Vianney JOURDY 2 years ago
parent a67bc818d2
commit 09d3c28ba4

@ -7,6 +7,7 @@
<ImageButton Source="logo.png" <ImageButton Source="logo.png"
MaximumHeightRequest="30" MaximumHeightRequest="30"
MaximumWidthRequest="30" MaximumWidthRequest="30"
VerticalOptions="Center"/> VerticalOptions="Center"
Clicked="ImageButton_Clicked"/>
</Grid> </Grid>
</ContentView> </ContentView>

@ -1,3 +1,4 @@
using MangaMap.Views;
namespace MangaMap; namespace MangaMap;
public partial class NewContent1 : ContentView public partial class NewContent1 : ContentView
@ -6,4 +7,9 @@ public partial class NewContent1 : ContentView
{ {
InitializeComponent(); InitializeComponent();
} }
void ImageButton_Clicked(System.Object sender, System.EventArgs e)
{
Navigation.PushAsync(new homePage());
}
} }

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MangaMap.Model
{
internal class Manager
{
}
}

@ -8,18 +8,9 @@ namespace MangaMap.Model
{ {
public class Personne public class Personne
{ {
public string MotDePasse { get; private set; } public string MotDePasse { get; set; }
public string Email { get; private set; } public string Email { get; set; }
public string Pseudo { get; private set; } public string Pseudo { get; set; }
/*public Liste[] Listes { get; private set; }*/
public Personne(string mdp, string email, string pseudo)
{
Email = email;
Pseudo = pseudo;
MotDePasse = mdp;
}
public bool MofifierMotDePasse(string MotDePasse) public bool MofifierMotDePasse(string MotDePasse)
{ {

@ -1,9 +1,14 @@
<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"
xmlns:local="clr-namespace:MangaMap"
x:Class="MangaMap.Views.listPage" x:Class="MangaMap.Views.listPage"
BackgroundColor="Black"> BackgroundColor="Black">
<ScrollView> <Grid RowDefinitions="40, *">
<local:NewContent1 HeightRequest="40" VerticalOptions="Start" Padding="10, 0"/>
<ScrollView
Grid.Row="1">
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
@ -168,4 +173,6 @@
</ScrollView> </ScrollView>
</Grid>
</ContentPage> </ContentPage>
Loading…
Cancel
Save