Ejemplo n.º 1
0
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            var fbd = new FoldersSelect();

            if (fbd.ShowDialog() == DialogResult.OK)
            {
                if (fbd.SelectedFolders.Length == 0)
                {
                    return;
                }
                else
                {
                    lstPath.DataSource = fbd.SelectedFolders;
                    _job.Config.Paths  = fbd.SelectedFolders;
                }
            }
        }
Ejemplo n.º 2
0
        //Analyse
        private void button1_Click(object sender, EventArgs e)
        {
            toolStripStatusLabel1.Text = Resources.Languages.Resources.Txt_Analyse_en_cours___;
            var fbd = new FoldersSelect();

            if (fbd.ShowDialog() == DialogResult.OK)
            {
                if (fbd.SelectedFolders.Length == 0)
                {
                    return;
                }
                //if (_bw.IsBusy) return;
                Analyser.Config.Paths = fbd.SelectedFolders;//_currentAnalysisPath
                startAnalyse();
            }
            else
            {
                toolStripStatusLabel1.Text = "";
                btnAnalyse.Text            = Resources.Languages.Resources.Txt_Analyser;
            }
        }