private void buttonBootstrapDemo1_Click(object sender, EventArgs e) { BootStrapForm form = new BootStrapForm(); if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK) { MessageBox.Show("user pressed ok"); } }