Esempio n. 1
0
        /// <summary>
        /// Obtient les informations du rapport de travail.
        /// </summary>
        /// <param name="_employmentAgencyID">ID de l'agence d'intérim</param>
        /// <returns>List : Informations du rapport de travail.</returns>
        private List <string> WorkReportInformations(string _employmentAgencyID)
        {
            string        employmentAgencyID     = _employmentAgencyID;
            List <string> workReportInformations = new List <string>();

            // Assigne les informations du rapport de travail.
            workReportInformations.Add(lbl_emplAgencyName.Content.ToString());
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyNumber(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyStreet(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyPostCode(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyCity(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyRegion(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyCountry(employmentAgencyID));
            workReportInformations.Add(Profile_Val.Default.InternationalSymbol + InterimDatabase.GetEmploymentAgencyPhoneNumber(employmentAgencyID));
            workReportInformations.Add(InterimDatabase.GetEmploymentAgencyEmailAdress(employmentAgencyID));
            workReportInformations.Add(lbl_title.Content.ToString());
            workReportInformations.Add(lbl_name.Content.ToString());
            workReportInformations.Add(lbl_firstName.Content.ToString());
            workReportInformations.Add(InterimDatabase.GetTemporaryBirthDate(Profile.TemporaryID));
            workReportInformations.Add(lbl_professionValue.Content.ToString());
            workReportInformations.Add(DateTime.Now.ToShortDateString());

            // Assigne les chemins d'accès au rapport de travail.
            Profile.AddPaths(workReportInformations);

            return(workReportInformations);
        }