From c69fe4a92936bede79d515dff46b403864786af0 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Wed, 12 Oct 2022 09:54:34 +0200 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20des=20diff=C3=A9rents=20UC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/IHM/App.xaml | 22 ++++++ Code/IHM/UCConnexion.xaml | 138 ++++++++++----------------------- Code/IHM/UCInscription.xaml | 89 ++++++++++++++++++++- Code/IHM/UCInscription.xaml.cs | 6 ++ 4 files changed, 154 insertions(+), 101 deletions(-) diff --git a/Code/IHM/App.xaml b/Code/IHM/App.xaml index 01ae433..1f1d72d 100644 --- a/Code/IHM/App.xaml +++ b/Code/IHM/App.xaml @@ -13,6 +13,8 @@ + + + + diff --git a/Code/IHM/UCConnexion.xaml b/Code/IHM/UCConnexion.xaml index 5406984..492a35b 100644 --- a/Code/IHM/UCConnexion.xaml +++ b/Code/IHM/UCConnexion.xaml @@ -9,109 +9,53 @@ Style="{StaticResource ImageFondRessource}"> - - - White - - + Connexion + Connectez vous à un compte déjà existant - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + Nom d'utilisateur + + + + + + + + + Mot de passe + + + + + + + + diff --git a/Code/IHM/UCInscription.xaml b/Code/IHM/UCInscription.xaml index 128e46f..8a31bd9 100644 --- a/Code/IHM/UCInscription.xaml +++ b/Code/IHM/UCInscription.xaml @@ -6,8 +6,89 @@ xmlns:local="clr-namespace:IHM" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800" - Background="DarkSalmon"> - - - + Style="{StaticResource ImageFondRessource}"> + + + Inscription + Veuillez créer votre compte en retrant vos informations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Code/IHM/UCInscription.xaml.cs b/Code/IHM/UCInscription.xaml.cs index e70213e..13c4220 100644 --- a/Code/IHM/UCInscription.xaml.cs +++ b/Code/IHM/UCInscription.xaml.cs @@ -20,9 +20,15 @@ namespace IHM /// public partial class UCInscription : UserControl { + public Navigator Nav => (App.Current as App).Navigator; + public UCInscription() { InitializeComponent(); } + private void Button_Click_Acceuil(object sender, RoutedEventArgs e) + { + Nav.NavigateTo(Navigator.PART_CONNEXION, Navigator.PART_MAIN); + } } }