public FormGroupSeanceTheorique(StudentGroup group, CustomerCollection clientlist, EmployeCollection EmployerList, Config Appconfig) { InitializeComponent(); _ClientList = clientlist; _Groupe = group; _EmployerList = EmployerList; _AppConfig = Appconfig; seancePicker1.ListEmploye = EmployerList; ChangeSeanceUpdateType(group.Type); }
public FormGestionGroupe(List <StudentGroup> group, CustomerCollection clientList, FormMain mainform, EmployeCollection EmployerList) { InitializeComponent(); //Initialise les variables _StudentGroup = group; _ClientList = clientList; _FormMain = mainform; _EmployerList = EmployerList; //remplir les listes RefreshGroupList(); if (ListGroup.Items.Count > 0) { ListGroup.Items[0].Selected = true; } }
//Test multi thread //Thread _threadBolded = null; public FormHoraire(CustomerCollection ClientList, OffDateCollection OffDateList, EmployeCollection ListEmploye, FormMain formMain, PostItCollection PostItList) { InitializeComponent(); //FormMain _formMain = formMain; //Control client clientControl1.ListeEmploye = ListEmploye; //Liste de client _ClientList = ClientList; //Notes _ColPostIt = PostItList; //Liste d'employe _ColEmploye = ListEmploye; LoadListEmploye(); if (cbEmploye.Items.Count > 0) { cbEmploye.SelectedIndex = 0; } //Date du jour vCalendar.SelectionStart = DateTime.Now; vCalendar.Date = DateTime.Now; //jour férié _ColJourFerier = OffDateList; UpdateBoldedDate(); //Initialise l'horaire de la semaine InitialiseWeekSchedule(); //Calendrier vCalendar.TodayDate = DateTime.Now; vCalendar.SelectionRange = new Voroshkov.Calendar.DateSelectionRange(DateTime.Now, DateTime.Now); vCalendar.SelectionStart = vCalendar.SelectionEnd = DateTime.Now; vCalendar.Date = DateTime.Now; SetDate(); //CreateBoldedDateFromCustomer(); }