diff --git a/MVVM/.vs/MVVM/DesignTimeBuild/.dtbcache.v2 b/MVVM/.vs/MVVM/DesignTimeBuild/.dtbcache.v2 index 13d015f1..46c30b78 100644 Binary files a/MVVM/.vs/MVVM/DesignTimeBuild/.dtbcache.v2 and b/MVVM/.vs/MVVM/DesignTimeBuild/.dtbcache.v2 differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/08d0f316-e49f-4ad4-a2dd-6a8304b3244a.vsidx b/MVVM/.vs/MVVM/FileContentIndex/08d0f316-e49f-4ad4-a2dd-6a8304b3244a.vsidx new file mode 100644 index 00000000..3570767a Binary files /dev/null and b/MVVM/.vs/MVVM/FileContentIndex/08d0f316-e49f-4ad4-a2dd-6a8304b3244a.vsidx differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/3cc963ed-849e-4136-aa76-0db3c211d235.vsidx b/MVVM/.vs/MVVM/FileContentIndex/3cc963ed-849e-4136-aa76-0db3c211d235.vsidx new file mode 100644 index 00000000..901f27ee Binary files /dev/null and b/MVVM/.vs/MVVM/FileContentIndex/3cc963ed-849e-4136-aa76-0db3c211d235.vsidx differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/4aad28be-8710-4a10-8e35-b9745635839f.vsidx b/MVVM/.vs/MVVM/FileContentIndex/4aad28be-8710-4a10-8e35-b9745635839f.vsidx deleted file mode 100644 index a7d76f1a..00000000 Binary files a/MVVM/.vs/MVVM/FileContentIndex/4aad28be-8710-4a10-8e35-b9745635839f.vsidx and /dev/null differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/7861275c-cce9-40de-a969-dee384cac1d9.vsidx b/MVVM/.vs/MVVM/FileContentIndex/7861275c-cce9-40de-a969-dee384cac1d9.vsidx deleted file mode 100644 index bdd06b2a..00000000 Binary files a/MVVM/.vs/MVVM/FileContentIndex/7861275c-cce9-40de-a969-dee384cac1d9.vsidx and /dev/null differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/8dc9bc70-9e81-491a-a76c-81b84b8c354a.vsidx b/MVVM/.vs/MVVM/FileContentIndex/8dc9bc70-9e81-491a-a76c-81b84b8c354a.vsidx new file mode 100644 index 00000000..0c571f64 Binary files /dev/null and b/MVVM/.vs/MVVM/FileContentIndex/8dc9bc70-9e81-491a-a76c-81b84b8c354a.vsidx differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/90091125-ea9d-4de4-9535-975db417bd1a.vsidx b/MVVM/.vs/MVVM/FileContentIndex/90091125-ea9d-4de4-9535-975db417bd1a.vsidx new file mode 100644 index 00000000..d7964405 Binary files /dev/null and b/MVVM/.vs/MVVM/FileContentIndex/90091125-ea9d-4de4-9535-975db417bd1a.vsidx differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/aac8104b-c5ea-4fcc-9f1d-b991c2a6be4d.vsidx b/MVVM/.vs/MVVM/FileContentIndex/aac8104b-c5ea-4fcc-9f1d-b991c2a6be4d.vsidx deleted file mode 100644 index a7d76f1a..00000000 Binary files a/MVVM/.vs/MVVM/FileContentIndex/aac8104b-c5ea-4fcc-9f1d-b991c2a6be4d.vsidx and /dev/null differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/cdf418ce-9f54-48e6-9175-1400d620d19d.vsidx b/MVVM/.vs/MVVM/FileContentIndex/cdf418ce-9f54-48e6-9175-1400d620d19d.vsidx deleted file mode 100644 index c527d14f..00000000 Binary files a/MVVM/.vs/MVVM/FileContentIndex/cdf418ce-9f54-48e6-9175-1400d620d19d.vsidx and /dev/null differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/d904c59d-3669-4bb4-a8ba-dc8e32788e01.vsidx b/MVVM/.vs/MVVM/FileContentIndex/d904c59d-3669-4bb4-a8ba-dc8e32788e01.vsidx new file mode 100644 index 00000000..a7949ed9 Binary files /dev/null and b/MVVM/.vs/MVVM/FileContentIndex/d904c59d-3669-4bb4-a8ba-dc8e32788e01.vsidx differ diff --git a/MVVM/.vs/MVVM/FileContentIndex/f9e863a2-8bc2-4f78-a56d-d4c90d20c184.vsidx b/MVVM/.vs/MVVM/FileContentIndex/f9e863a2-8bc2-4f78-a56d-d4c90d20c184.vsidx deleted file mode 100644 index 9cbcbf31..00000000 Binary files a/MVVM/.vs/MVVM/FileContentIndex/f9e863a2-8bc2-4f78-a56d-d4c90d20c184.vsidx and /dev/null differ diff --git a/MVVM/.vs/MVVM/v17/.suo b/MVVM/.vs/MVVM/v17/.suo index 295f64b4..9fb601a8 100644 Binary files a/MVVM/.vs/MVVM/v17/.suo and b/MVVM/.vs/MVVM/v17/.suo differ diff --git a/MVVM/.vs/ProjectEvaluation/mvvm.metadata.v7.bin b/MVVM/.vs/ProjectEvaluation/mvvm.metadata.v7.bin index 329c1d8f..39b6911d 100644 Binary files a/MVVM/.vs/ProjectEvaluation/mvvm.metadata.v7.bin and b/MVVM/.vs/ProjectEvaluation/mvvm.metadata.v7.bin differ diff --git a/MVVM/.vs/ProjectEvaluation/mvvm.projects.v7.bin b/MVVM/.vs/ProjectEvaluation/mvvm.projects.v7.bin index 44275951..8f513d73 100644 Binary files a/MVVM/.vs/ProjectEvaluation/mvvm.projects.v7.bin and b/MVVM/.vs/ProjectEvaluation/mvvm.projects.v7.bin differ diff --git a/MVVM/MVVM/App.xaml.cs b/MVVM/MVVM/App.xaml.cs index 631e4776..2faae711 100644 --- a/MVVM/MVVM/App.xaml.cs +++ b/MVVM/MVVM/App.xaml.cs @@ -1,4 +1,4 @@ -using MVVM.Pages; + namespace MVVM { diff --git a/MVVM/MVVM/AppShell.xaml b/MVVM/MVVM/AppShell.xaml index 8282c397..516e5df5 100644 --- a/MVVM/MVVM/AppShell.xaml +++ b/MVVM/MVVM/AppShell.xaml @@ -18,9 +18,8 @@ - + - diff --git a/MVVM/MVVM/Classe/Auteur.cs b/MVVM/MVVM/Classe/Auteur.cs new file mode 100644 index 00000000..2048e63c --- /dev/null +++ b/MVVM/MVVM/Classe/Auteur.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MVVM.Classe +{ + public class Auteur + { + public string Name { get; set; } + public string NbLivre { get; set; } + public Auteur(string name, string nbLivre) + { + Name = name; + NbLivre = nbLivre; + } + } +} diff --git a/MVVM/MVVM/Classe/Date.cs b/MVVM/MVVM/Classe/Date.cs new file mode 100644 index 00000000..cf669992 --- /dev/null +++ b/MVVM/MVVM/Classe/Date.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MVVM.Classe +{ + public class Date + { + public string date { get; set; } + public string nbLivre { get; set; } + + public Date(string date, string nbLivre) + { + this.date = date; + this.nbLivre = nbLivre; + } + } +} diff --git a/MVVM/MVVM/Classe/GroupeEmprunt.cs b/MVVM/MVVM/Classe/GroupeEmprunt.cs new file mode 100644 index 00000000..0da1ae39 --- /dev/null +++ b/MVVM/MVVM/Classe/GroupeEmprunt.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MVVM.Classe +{ + public class GroupeEmprunt : List + { + public string name { get; set; } + + public GroupeEmprunt(string name, List listLivre) : base(listLivre) + { + this.name = name; + } + } +} diff --git a/MVVM/MVVM/Classe/GroupePret.cs b/MVVM/MVVM/Classe/GroupePret.cs new file mode 100644 index 00000000..656a7519 --- /dev/null +++ b/MVVM/MVVM/Classe/GroupePret.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MVVM.Classe +{ + public class GroupePret : List + { + public string name { get; set; } + + public GroupePret(string name, List listLivre) : base(listLivre) + { + this.name = name; + } + } +} diff --git a/MVVM/MVVM/MVVM.csproj b/MVVM/MVVM/MVVM.csproj index 62d3d519..4e4fb5fb 100644 --- a/MVVM/MVVM/MVVM.csproj +++ b/MVVM/MVVM/MVVM.csproj @@ -54,34 +54,46 @@ + + AuteurListe.xaml + Bibliotheque.xaml + + ListComponent.xaml + + + EmpruntPret.xaml + Livres.xaml + + MSBuild:Compile + MSBuild:Compile - + MSBuild:Compile - + MSBuild:Compile - + MSBuild:Compile - + MSBuild:Compile - + MSBuild:Compile - + MSBuild:Compile diff --git a/MVVM/MVVM/MVVM.csproj.user b/MVVM/MVVM/MVVM.csproj.user index 3cd2e076..d787f5e8 100644 --- a/MVVM/MVVM/MVVM.csproj.user +++ b/MVVM/MVVM/MVVM.csproj.user @@ -3,8 +3,8 @@ False net7.0-android - Émulateur Android - Emulator + Samsung SM-A705FN (Android 11.0 - API 30) + PhysicalDevice ios-arm64 @@ -23,25 +23,28 @@ Designer + + Designer + Designer - + Designer - + Designer - + Designer - + Designer - + Designer - + Designer diff --git a/MVVM/MVVM/Pages/AuteurListe.xaml b/MVVM/MVVM/Pages/AuteurListe.xaml new file mode 100644 index 00000000..f9e5f75a --- /dev/null +++ b/MVVM/MVVM/Pages/AuteurListe.xaml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + +