Exemplo n.º 1
0
 private void btnStart_Click(object sender, EventArgs e)
 {
     List<string> filenames = new List<string>();
     foreach (object item in listBoxFiles.CheckedItems)
     {
         filenames.Add(item.ToString());
     }
     ApplicationHandler.Instance.setFiles(filenames);
     frmAskQuestion frm = new frmAskQuestion();
     frm.initForm();
     frm.MainWindow = this;
     frm.Show();
     this.Hide();
 }
Exemplo n.º 2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            List <string> filenames = new List <string>();

            foreach (object item in listBoxFiles.CheckedItems)
            {
                filenames.Add(item.ToString());
            }
            ApplicationHandler.Instance.setFiles(filenames);
            frmAskQuestion frm = new frmAskQuestion();

            frm.initForm();
            frm.MainWindow = this;
            frm.Show();
            this.Hide();
        }