hi all pleasssssssss help with this problem im working with multi form project and when i run the program it dont give an errors but its dont work when click button to move through the forms the code which i used :
private void button1_Click(object sender, EventArgs e)
{
if (radioButton2.Checked)
{
result4 = 1;
check4 = 1;
}
else
{
if (radioButton1.Checked)
{
result4 = 0;
check4 = 1;
}
else
{
check4 = 0;
result4 = 0;
}
}
Form26 f26 = (Form26)Application.OpenForms["Form6"];\\the problem which the program show here....
this.Hide();
f26.Show();
}
pleas what i have to do with this .....??