Esempio n. 1
0
        private void Lancer_Click(object sender, EventArgs e)
        {
            List <string> fiches = new List <string>();

            foreach (object o in listeLivre.CheckedItems)
            {
                fiches.Add(Convert.ToString(o));
            }
            UtilitairesIntegrationBd.IntegrationFiches(path, fiches);
        }
Esempio n. 2
0
        private void Repertoires_Click(object sender, EventArgs e)
        {
            folderBrowserDialog1.ShowDialog();
            cheminLivre.Items.Add(folderBrowserDialog1.SelectedPath);
            cheminLivre.SelectedIndex = cheminLivre.Items.Count - 1;
            listeLivre.Items.Clear();
            path = Convert.ToString(cheminLivre.SelectedItem);
            List <string> Fiches = UtilitairesIntegrationBd.LesFiches(path);

            foreach (string fiche in Fiches)
            {
                listeLivre.Items.Add(fiche);
            }
            rep.Add(cheminLivre.SelectedIndex.ToString());
        }
Esempio n. 3
0
        public Form1()
        {
            InitializeComponent();

            List <string> Fiches = UtilitairesIntegrationBd.LesFiches(path);

            cheminLivre.Items.Add(path);

            cheminLivre.SelectedIndex = 0;


            foreach (string fiche in Fiches)
            {
                listeLivre.Items.Add(fiche);
            }
        }