private void btnDestroyGroup_Click(object sender, EventArgs e) { if (MessageBox.Show("Destroy ALL THE MINIS in the group? Are You Sure?", "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Stop) == DialogResult.Yes) { MiniGrouperScript?.DestroyAll(); } }