public Form7(Form1 frm)
{
InitializeComponent();
parent = frm;
foreach (Control c in this.Controls)
{
foreach (Control child in c.Controls)
{
if (child is RadioButton)
{
((RadioButton)(child)).CheckedChanged += new EventHandler(radioButtons_CheckedChanged);
}
}
}
}