From 4a473fdf43818fe49b0cdf0e47122ce38001308b Mon Sep 17 00:00:00 2001 From: Raphael LACOTE Date: Fri, 2 Dec 2022 15:05:08 +0100 Subject: [PATCH 1/2] Lot de vues windows --- Sources/IHM/App.xaml | 13 ------- Sources/IHM/AppShellDesktop.xaml.cs | 5 +++ Sources/IHM/Desktop/ChangePassword.xaml | 35 +++++++++++++++++ Sources/IHM/Desktop/ChangePassword.xaml.cs | 45 ++++++++++++++++++++++ Sources/IHM/Desktop/Compte.xaml | 26 +++++++++++++ Sources/IHM/Desktop/Compte.xaml.cs | 9 +++++ Sources/IHM/Desktop/ForgetPassword.xaml | 11 ++++-- Sources/IHM/Desktop/ForgetPassword.xaml.cs | 2 +- Sources/IHM/IHM.csproj | 9 +++++ Sources/IHM/Resources/Styles/Styles.xaml | 14 +++++++ 10 files changed, 151 insertions(+), 18 deletions(-) create mode 100644 Sources/IHM/Desktop/ChangePassword.xaml create mode 100644 Sources/IHM/Desktop/ChangePassword.xaml.cs create mode 100644 Sources/IHM/Desktop/Compte.xaml create mode 100644 Sources/IHM/Desktop/Compte.xaml.cs diff --git a/Sources/IHM/App.xaml b/Sources/IHM/App.xaml index 2d107eb..d5a6223 100644 --- a/Sources/IHM/App.xaml +++ b/Sources/IHM/App.xaml @@ -5,19 +5,6 @@ x:Class="IHM.App"> - - - - - diff --git a/Sources/IHM/AppShellDesktop.xaml.cs b/Sources/IHM/AppShellDesktop.xaml.cs index 3d3f738..6775d2f 100644 --- a/Sources/IHM/AppShellDesktop.xaml.cs +++ b/Sources/IHM/AppShellDesktop.xaml.cs @@ -1,6 +1,8 @@ using IHM.Desktop; using IHM.Mobile; using Model; +using ChangePassword = IHM.Desktop.ChangePassword; +using Compte = IHM.Desktop.Compte; using ForgetPassword = IHM.Desktop.ForgetPassword; namespace IHM @@ -13,6 +15,9 @@ namespace IHM { InitializeComponent(); Routing.RegisterRoute("ForgetPassword", typeof(ForgetPassword)); + Routing.RegisterRoute("ChangePassword", typeof(ChangePassword)); + Routing.RegisterRoute("Compte", typeof(Compte)); + } } diff --git a/Sources/IHM/Desktop/ChangePassword.xaml b/Sources/IHM/Desktop/ChangePassword.xaml new file mode 100644 index 0000000..1c94806 --- /dev/null +++ b/Sources/IHM/Desktop/ChangePassword.xaml @@ -0,0 +1,35 @@ + + + +