diff --git a/Code/Model/Manager.cs b/Code/Model/Manager.cs new file mode 100644 index 0000000..6ee9771 --- /dev/null +++ b/Code/Model/Manager.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Model +{ + public class Manager : INotifyPropertyChanged + { + public IReadOnlyCollection ListedesInscrits { get; private set }; + private List ListetouslesInscrits { get; set } = new List; + + public event PropertyChangedEventHandler PropertyChanged; + void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + + + public Inscrit SelectedInscrits + { + get => selectedInscrits; + set + { + if(selectedInscrits != value) + { + selectedInscrits = value; + OnPropertyChanged(nameof(SelectedInscrits)); + } + } + } + private Inscrit selectedInscrits; + + + } + +} diff --git a/Documentation_En_Cours/diagrammes/diag de classes.mdj b/Documentation_En_Cours/diagrammes/diag de classes.mdj index 75a06e8..f2028f2 100644 --- a/Documentation_En_Cours/diagrammes/diag de classes.mdj +++ b/Documentation_En_Cours/diagrammes/diag de classes.mdj @@ -764,16 +764,16 @@ "$ref": "AAAAAAGDnLICnAi+zCE=" }, "font": "Arial;13;0", - "left": 1046, + "left": 1044, "top": 403, - "width": 88.50537109375, + "width": 93.919921875, "height": 13, "alpha": -0.28083777583322966, "distance": 54.120236510939236, "hostEdge": { "$ref": "AAAAAAGDnLICnQjA19I=" }, - "text": "-lesUtilisateurs" + "text": "-TousLesInscrits" }, { "_type": "EdgeLabelView", @@ -8245,7 +8245,6 @@ "propertyLabel": { "$ref": "AAAAAAGDrfOMKWsqZ4o=" }, - "showEndOrder": "hide", "tailRoleNameLabel": { "$ref": "AAAAAAGDrfOMKWsr5PY=" }, @@ -8515,7 +8514,6 @@ "propertyLabel": { "$ref": "AAAAAAGDrfQ+sW/wAWw=" }, - "showEndOrder": "hide", "tailRoleNameLabel": { "$ref": "AAAAAAGDrfQ+sW/x4Vo=" }, @@ -8573,7 +8571,7 @@ "_parent": { "$ref": "AAAAAAGDnLICnAi8gKM=" }, - "name": "lesUtilisateurs", + "name": "TousLesInscrits", "reference": { "$ref": "AAAAAAGDnLHWEwiR3RE=" },