public EtudeB() { InitializeComponent(); lp1 = PlageORM.listePlages(); listePlagesCombo.ItemsSource = lp1; lp4 = EtudeORM.ListeEtude(); listeEtudes.ItemsSource = lp4; CultureInfo culture = (CultureInfo)CultureInfo.CurrentCulture.Clone(); culture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd-HH-mm-ss"; //Format BDD culture.DateTimeFormat.LongTimePattern = ""; Thread.CurrentThread.CurrentCulture = culture; }
public EspeceNombre() { InitializeComponent(); lp8 = EspeceNombreORM.ListeEspeceNombres(); listeEspecesNombres.ItemsSource = lp8; lp1 = PlageORM.listePlages(); listePlagesCombo.ItemsSource = lp1; lp4 = EtudeORM.ListeEtude(); listeEtudesCombo.ItemsSource = lp4; lp5 = EspeceORM.listeEspeces(); listeEspeceCombo.ItemsSource = lp5; lp7 = ZoneInvestigationORM.ListeZoneInvestigation(); listeZonesCombo.ItemsSource = lp7; lp8 = EspeceNombreORM.ListeEspeceNombres(); }
public ZoneInvestigation() { InitializeComponent(); lp = UsersORM.listeUsers(); listeUsersCombo.ItemsSource = lp; lp1 = PlageORM.listePlages(); listePlageCombo.ItemsSource = lp1; lp4 = EtudeORM.ListeEtude(); listeEtudesCombo.ItemsSource = lp4; listeDateCombo.ItemsSource = lp4; lp7 = ZoneInvestigationORM.ListeZoneInvestigation(); ListeEtudeZone.ItemsSource = lp7; lp7 = ZoneInvestigationORM.ListeZoneInvestigation(); CultureInfo culture = (CultureInfo)CultureInfo.CurrentCulture.Clone(); culture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd-HH-mm-ss"; //Format BDD culture.DateTimeFormat.LongTimePattern = ""; Thread.CurrentThread.CurrentCulture = culture; }