Esempio n. 1
0
 public SearchResultForm(ParallelActions data)
 {
     this.data = data;
     InitializeComponent();
     timer1.Interval = 1000;
     timer1.Start();
     listBox1.DataSource = data.results.ToArray();
 }
Esempio n. 2
0
        private void SearchButton_Click(object sender, EventArgs e)
        {
            var PA = new ParallelActions(activePanel.data.CurrentPath);

            PA.Start();
            var form = new SearchResultForm(PA);

            form.ShowDialog();
            PA.StopAllThreads();
        }