hello i am working on a small uni project. nad the problem is that when i click on a button it has to show a child form in a MDI Container.
but that isnt working. all the properties are set right.
the mdi container itself contains a splitcontainer and some buttons,text fields , labels etc.
the code to a button is as follows
private void ChangeRecipe_Click(object sender, EventArgs e)
{
Form rec = new recipe();
rec.MdiParent = this;
rec.Show();
}
this is how i am calling it but i dont see any forms being displayed inside or outside the container.