private void runAnalysisToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.backgroundWorker1.RunWorkerAsync();
     this.OnBackgroundEvent += waitForm.UpdateMessage;
     waitForm.ShowDialog(this);
 }
        private void teToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new WaitForm();

            frm.ShowDialog();
        }
 private void teToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var frm = new WaitForm();
     frm.ShowDialog();
 }