Exemple #1
0
        private void importerPersonel(String champ, String texte)
        {
            DataGridAdmin.ItemsSource = null;
            List <Personel> reader = Requettes.getAllPersonels(champ, texte);

            DataGridAdmin.ItemsSource = reader;
        }
Exemple #2
0
        private void importerPersonel()
        {
            DataGridAdmin.ItemsSource = null;
            List <Personel> reader = Requettes.getAllPersonels();

            //MessageBox.Show(reader.Count+"");
            DataGridAdmin.ItemsSource = reader;
        }
Exemple #3
0
        private void LoadBarChartData()
        {
            List <PersonelStat> v  = new List <PersonelStat>();
            List <Personel>     ls = Requettes.getAllPersonels();

            for (int i = 0; i < ls.Count; i++)
            {
                v.Add(new PersonelStat(ls.ElementAt(i).nom, Requettes.nbApparenceJournal(ls.ElementAt(i).id)));
            }

            ((BarSeries)mcChart.Series[0]).ItemsSource = v;
        }