System.StackOverflowException by forms
- by simon
I'm trying to open another form with a button and it's only ok at the beginning. After a few forms made the stackoverflow error acours !
i get errors everytime i declare a new form, like this:
Form5 add_meal = new Form5();
private void button1_Click(object sender, EventArgs e)
{
add_meal.Show();
this.Hide();
}