Rajout de la date de creation de la note sur Note

vSonar_test
Liam MONCHANIN 2 years ago
parent 89a6555b50
commit 749c6603ef

@ -1087,7 +1087,7 @@
"left": 888,
"top": 496,
"width": 190.26171875,
"height": 221,
"height": 206,
"nameCompartment": {
"$ref": "AAAAAAGHszJKAWG1eoU="
},
@ -1586,7 +1586,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 704,
"top": 692,
"top": 688,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 15,
@ -1607,7 +1607,7 @@
"visible": null,
"font": "Arial;13;0",
"left": 708,
"top": 706,
"top": 702,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 30,
@ -1628,7 +1628,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 695,
"top": 663,
"top": 659,
"height": 13,
"alpha": -1.5707963267948966,
"distance": 15,
@ -1648,8 +1648,8 @@
},
"visible": false,
"font": "Arial;13;0",
"left": 865,
"top": 647,
"left": 866,
"top": 641,
"height": 13,
"alpha": 0.5235987755982988,
"distance": 30,
@ -1670,7 +1670,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 867,
"top": 660,
"top": 655,
"height": 13,
"alpha": 0.7853981633974483,
"distance": 40,
@ -1691,7 +1691,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 862,
"top": 619,
"top": 614,
"height": 13,
"alpha": -0.5235987755982988,
"distance": 25,
@ -1710,8 +1710,8 @@
"$ref": "AAAAAAGHwVHBhV+9K5M="
},
"font": "Arial;13;0",
"left": 535,
"top": 704,
"left": 534,
"top": 702,
"width": 48.0517578125,
"height": 13,
"alpha": 0.2432285905158279,
@ -1732,8 +1732,8 @@
},
"visible": false,
"font": "Arial;13;0",
"left": 547,
"top": 749,
"left": 548,
"top": 748,
"height": 13,
"alpha": -0.7853981633974483,
"distance": 40,
@ -1751,8 +1751,8 @@
"$ref": "AAAAAAGHwVHBhV+9K5M="
},
"font": "Arial;13;0",
"left": 513,
"top": 703,
"left": 512,
"top": 702,
"width": 21.68359375,
"height": 13,
"alpha": -5.348897275791532,
@ -1803,7 +1803,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0="
},
"lineStyle": 1,
"points": "887:632;513:736",
"points": "887:626;513:735",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwVHBhl/Apoc="
@ -1861,7 +1861,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 1120,
"top": 458,
"top": 454,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 15,
@ -1882,7 +1882,7 @@
"visible": null,
"font": "Arial;13;0",
"left": 1110,
"top": 447,
"top": 442,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 30,
@ -1903,7 +1903,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 1139,
"top": 481,
"top": 477,
"height": 13,
"alpha": -1.5707963267948966,
"distance": 15,
@ -1923,8 +1923,8 @@
},
"visible": false,
"font": "Arial;13;0",
"left": 1087,
"top": 487,
"left": 1088,
"top": 482,
"height": 13,
"alpha": 0.5235987755982988,
"distance": 30,
@ -1944,8 +1944,8 @@
},
"visible": false,
"font": "Arial;13;0",
"left": 1080,
"top": 476,
"left": 1081,
"top": 471,
"height": 13,
"alpha": 0.7853981633974483,
"distance": 40,
@ -1966,7 +1966,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 1102,
"top": 511,
"top": 506,
"height": 13,
"alpha": -0.5235987755982988,
"distance": 25,
@ -1986,7 +1986,7 @@
},
"font": "Arial;13;0",
"left": 1111,
"top": 428,
"top": 425,
"width": 50.93994140625,
"height": 13,
"alpha": -0.6300750331437177,
@ -2008,7 +2008,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 1143,
"top": 421,
"top": 418,
"height": 13,
"alpha": -0.7853981633974483,
"distance": 40,
@ -2027,7 +2027,7 @@
},
"font": "Arial;13;0",
"left": 1171,
"top": 451,
"top": 449,
"width": 6.5,
"height": 13,
"alpha": 0.5552277465295183,
@ -2078,7 +2078,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0="
},
"lineStyle": 1,
"points": "1078:522;1183:430",
"points": "1078:517;1183:428",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwVctnIUNaCs="
@ -2156,7 +2156,7 @@
},
"visible": null,
"font": "Arial;13;0",
"left": 811,
"left": 810,
"top": 418,
"height": 13,
"alpha": 1.5707963267948966,
@ -2196,7 +2196,7 @@
"$ref": "AAAAAAGHsxLjH2EVAzI="
},
"lineStyle": 3,
"points": "550:405;792:448;887:527",
"points": "550:405;792:448;887:523",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwV2zBOCQoPw="
@ -2293,7 +2293,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 862,
"top": 625,
"top": 620,
"height": 13,
"alpha": 0.5235987755982988,
"distance": 30,
@ -2313,8 +2313,8 @@
},
"visible": false,
"font": "Arial;13;0",
"left": 861,
"top": 638,
"left": 862,
"top": 634,
"height": 13,
"alpha": 0.7853981633974483,
"distance": 40,
@ -2335,7 +2335,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 864,
"top": 597,
"top": 592,
"height": 13,
"alpha": -0.5235987755982988,
"distance": 25,
@ -2447,7 +2447,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0="
},
"lineStyle": 3,
"points": "887:614;680:632;550:487",
"points": "887:609;680:632;550:487",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwV3a5OQ2Hy0="
@ -2874,7 +2874,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 720,
"top": 732,
"top": 733,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 15,
@ -2894,8 +2894,8 @@
},
"visible": null,
"font": "Arial;13;0",
"left": 713,
"top": 719,
"left": 712,
"top": 720,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 30,
@ -2916,7 +2916,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 735,
"top": 759,
"top": 758,
"height": 13,
"alpha": -1.5707963267948966,
"distance": 15,
@ -2998,8 +2998,8 @@
"$ref": "AAAAAAGHwWkglLcsxtM="
},
"font": "Arial;13;0",
"left": 782,
"top": 664,
"left": 783,
"top": 661,
"width": 88.50537109375,
"height": 13,
"alpha": -0.3566504292668551,
@ -3021,7 +3021,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 848,
"top": 644,
"top": 640,
"height": 13,
"alpha": -0.7853981633974483,
"distance": 40,
@ -3040,7 +3040,7 @@
},
"font": "Arial;13;0",
"left": 871,
"top": 676,
"top": 671,
"width": 6.5,
"height": 13,
"alpha": 0.5235987755982988,
@ -3091,7 +3091,7 @@
"$ref": "AAAAAAGHsxATrmDNnOM="
},
"lineStyle": 3,
"points": "513:758;728:752;887:661",
"points": "513:758;728:752;887:656",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwWkglLcvzPg="
@ -3149,7 +3149,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 712,
"top": 503,
"top": 499,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 15,
@ -3170,7 +3170,7 @@
"visible": null,
"font": "Arial;13;0",
"left": 706,
"top": 517,
"top": 513,
"height": 13,
"alpha": 1.5707963267948966,
"distance": 30,
@ -3191,7 +3191,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 723,
"top": 476,
"top": 472,
"height": 13,
"alpha": -1.5707963267948966,
"distance": 15,
@ -3212,7 +3212,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 857,
"top": 563,
"top": 558,
"height": 13,
"alpha": 0.5235987755982988,
"distance": 30,
@ -3233,7 +3233,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 850,
"top": 575,
"top": 569,
"height": 13,
"alpha": 0.7853981633974483,
"distance": 40,
@ -3254,7 +3254,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 871,
"top": 540,
"top": 534,
"height": 13,
"alpha": -0.5235987755982988,
"distance": 25,
@ -3274,7 +3274,7 @@
},
"font": "Arial;13;0",
"left": 543,
"top": 454,
"top": 452,
"width": 68.9990234375,
"height": 13,
"alpha": -0.5199840652869545,
@ -3296,7 +3296,7 @@
"visible": false,
"font": "Arial;13;0",
"left": 565,
"top": 456,
"top": 454,
"height": 13,
"alpha": -0.7853981633974483,
"distance": 40,
@ -3315,7 +3315,7 @@
},
"font": "Arial;13;0",
"left": 559,
"top": 439,
"top": 437,
"width": 6.5,
"height": 13,
"alpha": -0.6366393122007756,
@ -3364,7 +3364,7 @@
"$ref": "AAAAAAGHszJKAGG0NQ0="
},
"lineStyle": 1,
"points": "887:566;550:426",
"points": "887:560;550:424",
"showVisibility": true,
"nameLabel": {
"$ref": "AAAAAAGHwW45PViwqGs="

@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Biblioteque_de_Class", "Biblioteque_de_Class.csproj", "{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Notus_Console", "..\Notus_Console\Notus_Console.csproj", "{F48CF8AB-163E-4D63-B210-BDA22BE5251D}"
ProjectSection(ProjectDependencies) = postProject
{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B} = {CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CC2FF847-9D3A-44F7-8672-C70A4FE87C5B}.Release|Any CPU.Build.0 = Release|Any CPU
{F48CF8AB-163E-4D63-B210-BDA22BE5251D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F48CF8AB-163E-4D63-B210-BDA22BE5251D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F48CF8AB-163E-4D63-B210-BDA22BE5251D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F48CF8AB-163E-4D63-B210-BDA22BE5251D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0AA9469C-FA7B-4AF1-9C90-056193DA2415}
EndGlobalSection
EndGlobal

@ -16,15 +16,17 @@ namespace Biblioteque_de_Class
get { return LogoPATH; }
set { if (value == null) { LogoPATH = "PATH TO DEFAULT LOGO"; } else { LogoPATH = value; } }
}
private DateOnly DateCreation { get; }
public List<Category> atributionTag;
public List<String> listeImage;
public List<String> listeLigneTexte;
public List<String> listePosiImage;
public Note(string nom, string logoPATH)
public Note(string nom, string logoPATH, string dateCreation)
{
Nom = nom;
LogoPATH = logoPATH;
DateCreation = DateOnly.FromDateTime(DateTime.Now);
}
public Note RechercherNote(List<Note> listeNote, string nom)
@ -41,5 +43,10 @@ namespace Biblioteque_de_Class
public override string ToString() => $"note -> nom : {Nom}\nlogoPATH : {LogoPATH}\nhow many line : {listeLigneTexte.Count()}";
/*public Note AjouterTag()
{
Pas d'attribut tag et jsp si on herite ou autre
return null;
}*/
}
}

@ -1,4 +1,6 @@
namespace Biblioteque_de_Class
using System.ComponentModel;
namespace Biblioteque_de_Class
{
public class Utilisateur
{
@ -6,6 +8,9 @@
private string Mail { get; set; }
private string Mdp { get; set; }
private List<Note> NoteList;
private List<Tags> TagList;
private List<bool> FavoritsList;
private bool connecté { get; set; }
public Utilisateur(string Upseudo, string Umail, string Upassword)
{
@ -17,5 +22,11 @@
public override string ToString() => $"pseudo : {Psd}\nmail : {Mail}\npassword : {Mdp}\nNote possédé : {NoteList.Count}";
public void AjouterNote(Utilisateur NoteList)
{
}
}
}
Loading…
Cancel
Save