Exemple #1
0
        void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            lblDatePlusVieux.Text = plusVieux.ToString();
            lblNombreLogs.Text = nbLogs.ToString();
            TailleDossier tailleDossier = new TailleDossier(FolderSize(Config.PathData + "/Logs/"));
            lblTailleTotale.Text = tailleDossier.ToString();

            dataGridViewHistoLog.DataSource = dataSet.Tables[0];
            dataGridViewArchives.DataSource = dataSetArchivage.Tables[0];
            progressBar.Visible = false;
        }