Esempio n. 1
0
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            LesPilotes = AccesAuxDonneesPilote.ChargerPilotes();
            ComboBoxPiloteArrivee.DataContext = LesPilotes;
            ComboBoxPiloteDepart.DataContext  = LesPilotes;
            LesAgents = AccesAuxDonneesAgent.ChargerAgents();
            ComboBoxAgent.DataContext = LesAgents;
            LesNavires = AccesAuxDonneesNavire.ChargerNavires();
            ComboBoxNumLlyods.DataContext = LesNavires;
            LesPorts = AccesAuxDonneesPort.ChargerPorts();
            ComboBoxPorProv.DataContext = LesPorts;
            ComboBoxPorDest.DataContext = LesPorts;

            LesTypesDeCargaisons         = AccesAuxDonneesTypesDeCargaisons.ChargerTypesDeCargaisons();
            ComboBoxTypeFret.DataContext = LesTypesDeCargaisons;
        }
Esempio n. 2
0
 public PageListePilote()
 {
     InitializeComponent();
     LesPilotes       = AccesAuxDonneesPilote.ChargerPilotes();
     this.DataContext = LesPilotes;
 }