3
I’m developing a Windows Forms application in Visual Studio and I’m having a hard time.
I put the parent form to Ismdicontainer and instead of adding Toolbox, I made a form only with buttons, it happens that when clicking the button and open the child form, the parent form overlaps the child.
private void Button1_Click(object sender, EventArgs e)
{
frmlancar lancar_serv = new frmlancar();
// Define quem o pai desta janela
lancar_serv.MdiParent = this;
// exibe o formulário
lancar_serv.Show();
}