From a8d240dc6e34797233b3aebf878460b8ce6aa177 Mon Sep 17 00:00:00 2001 From: nimaye Date: Mon, 28 Nov 2022 10:46:00 +0100 Subject: [PATCH 01/21] =?UTF-8?q?creation=20des=20vues=20windows=20inscrip?= =?UTF-8?q?tion=20,=20dashboard,=20op=C3=A9ration=20et=20planification=20+?= =?UTF-8?q?=20navigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Data/PersLinqToPgSQL.cs | 2 +- Sources/IHM/AppShellDesktop.xaml.cs | 2 ++ Sources/IHM/Desktop/DashBoard.xaml | 14 ++++++++++++++ Sources/IHM/Desktop/Dashboard.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/Inscription.xaml | 12 ++++++++++++ Sources/IHM/Desktop/Inscription.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/MainPage.xaml | 9 +++++---- Sources/IHM/Desktop/MainPage.xaml.cs | 5 +++++ Sources/IHM/Desktop/Operations.xaml | 12 ++++++++++++ Sources/IHM/Desktop/Operations.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/Planification.xaml | 12 ++++++++++++ Sources/IHM/Desktop/Planification.xaml.cs | 9 +++++++++ Sources/IHM/IHM.csproj | 15 +++++++++++++++ 13 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 Sources/IHM/Desktop/DashBoard.xaml create mode 100644 Sources/IHM/Desktop/Dashboard.xaml.cs create mode 100644 Sources/IHM/Desktop/Inscription.xaml create mode 100644 Sources/IHM/Desktop/Inscription.xaml.cs create mode 100644 Sources/IHM/Desktop/Operations.xaml create mode 100644 Sources/IHM/Desktop/Operations.xaml.cs create mode 100644 Sources/IHM/Desktop/Planification.xaml create mode 100644 Sources/IHM/Desktop/Planification.xaml.cs diff --git a/Sources/Data/PersLinqToPgSQL.cs b/Sources/Data/PersLinqToPgSQL.cs index c20020c..7e865f4 100644 --- a/Sources/Data/PersLinqToPgSQL.cs +++ b/Sources/Data/PersLinqToPgSQL.cs @@ -19,7 +19,7 @@ namespace LinqToPgSQL public class PersLinqToPgSQL : IPersistanceManager { private Hash hash = new Hash(); - string connexionBDD = String.Format("Server=90.114.135.116; Username=postgres; Database=conseco; Port=5432; Password=lulu; SSLMode=Prefer"); + string connexionBDD = String.Format("Server=2.3.8.130; Username=postgres; Database=conseco; Port=5432; Password=lulu; SSLMode=Prefer"); public string LoadInscrit(string id, string mdp) { diff --git a/Sources/IHM/AppShellDesktop.xaml.cs b/Sources/IHM/AppShellDesktop.xaml.cs index 5193cab..6ecd0d7 100644 --- a/Sources/IHM/AppShellDesktop.xaml.cs +++ b/Sources/IHM/AppShellDesktop.xaml.cs @@ -1,4 +1,5 @@ using IHM.Desktop; +using IHM.Mobile; using Model; namespace IHM @@ -10,6 +11,7 @@ namespace IHM public AppShellDesktop() { InitializeComponent(); + } diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml new file mode 100644 index 0000000..6ecc950 --- /dev/null +++ b/Sources/IHM/Desktop/DashBoard.xaml @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs new file mode 100644 index 0000000..7f99d57 --- /dev/null +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -0,0 +1,9 @@ +namespace IHM.Desktop; + +public partial class Dashboard : ContentPage +{ + public Dashboard() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/IHM/Desktop/Inscription.xaml b/Sources/IHM/Desktop/Inscription.xaml new file mode 100644 index 0000000..d83bb54 --- /dev/null +++ b/Sources/IHM/Desktop/Inscription.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/Sources/IHM/Desktop/Inscription.xaml.cs b/Sources/IHM/Desktop/Inscription.xaml.cs new file mode 100644 index 0000000..6908912 --- /dev/null +++ b/Sources/IHM/Desktop/Inscription.xaml.cs @@ -0,0 +1,9 @@ +namespace IHM.Desktop; + +public partial class Inscription : ContentPage +{ + public Inscription() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/IHM/Desktop/MainPage.xaml b/Sources/IHM/Desktop/MainPage.xaml index 30488e8..07f566e 100644 --- a/Sources/IHM/Desktop/MainPage.xaml +++ b/Sources/IHM/Desktop/MainPage.xaml @@ -71,16 +71,17 @@ Text="Pas de compte ?" /> -