private void button1_Click(object sender, EventArgs e) { FrmBackgroundWorker frm = new FrmBackgroundWorker(); frm.ShowDialog(); }