|
|
@@ -656,29 +656,29 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// <summary>
|
|
|
/// retourne la phrase concernant la programmation des travaux de l'établissement
|
|
|
/// </summary>
|
|
|
- public string PhraseProgTravaux
|
|
|
- {
|
|
|
- get
|
|
|
- {
|
|
|
- string retour = string.Empty;
|
|
|
+ //public string PhraseProgTravaux
|
|
|
+ //{
|
|
|
+ // get
|
|
|
+ // {
|
|
|
+ // string retour = string.Empty;
|
|
|
|
|
|
- string type = string.Empty;
|
|
|
- //la requete trie déja par ordre de type d'opération.
|
|
|
- foreach (ProgTravaux prog in LstTravaux)
|
|
|
- {
|
|
|
- if (prog.TypeOperation == type)
|
|
|
- {
|
|
|
- retour += "\n\n" + prog.TypeOperation + " :";
|
|
|
- }
|
|
|
- retour += "\n" + prog.Annee + " : " + prog.Libelle;
|
|
|
- type = prog.TypeOperation;
|
|
|
- }
|
|
|
+ // string type = string.Empty;
|
|
|
+ // //la requete trie déja par ordre de type d'opération.
|
|
|
+ // foreach (ProgTravaux prog in LstTravaux)
|
|
|
+ // {
|
|
|
+ // if (prog.TypeOperation == type)
|
|
|
+ // {
|
|
|
+ // retour += "\n\n" + prog.TypeOperation + " :";
|
|
|
+ // }
|
|
|
+ // retour += "\n" + prog.Annee + " : " + prog.Libelle;
|
|
|
+ // type = prog.TypeOperation;
|
|
|
+ // }
|
|
|
|
|
|
- if (retour == string.Empty)
|
|
|
- retour = "néant";
|
|
|
- return retour;
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (retour == string.Empty)
|
|
|
+ // retour = "néant";
|
|
|
+ // return retour;
|
|
|
+ // }
|
|
|
+ //}
|
|
|
/// <summary>
|
|
|
/// retourne la phrase concernant le secteur de recrutement de l'établissement
|
|
|
/// </summary>
|