private void ShowNewFormPerquisa(object sender, EventArgs e) { var frmPesquisa = new ListaTF(); frmPesquisa.MdiParent = this; frmPesquisa.Show(); }
private void ShowNewForm(object sender, EventArgs e) { var form1 = new CalcularTF(); form1.MdiParent = this; form1.Show(); var frmPesquisa = new ListaTF(); frmPesquisa.MdiParent = this; frmPesquisa.Show(); /* CODIGO PARA CRIAR UM FORMILARIO VIA CODIGO, MAS TENHO QUE INVESTIGAR COMO ACRESCENTAR MAIS RECURSOS NELE. * Form childForm = new Form(); * childForm.MdiParent = this; * childForm.Text = "Janela " + childFormNumber++; * childForm.Show(); */ }