private void LoadFormation()
        {
            List <Education_Formation> listFormations = dbFormation.LoadAllEducation_Formations();

            //foreach(var item in listFormations)

            l_PopUp.DataSource = GetDataSource(listFormations);
        }
Beispiel #2
0
        static void LoadEducation_FormationsThread()
        {
            Thread y = new Thread(LoadUsersThread);

            y.Start();
            FormationRepository db = new FormationRepository();

            globalListEducation_Formations = db.LoadAllEducation_Formations();
        }
Beispiel #3
0
        static void LoadEducation_FormationsThread()
        {
            Thread y = new Thread(LoadUsersThread);

            y.Start();
            using (FormationRepository dbRep = new FormationRepository())
            {
                globalListEducation_Formations = dbRep.LoadAllEducation_Formations();
            }
        }