private void toolStripButton1_Click(object sender, EventArgs e) { Formularios.FrmFactura FormFac = new Formularios.FrmFactura(); // FormFac.MdiParent = ; FormFac.Text = "Generar Factura"; FormFac.Show(); }
private void insumosToolStripMenuItem_Click(object sender, EventArgs e) { Formularios.FrmFactura FormFac = new Formularios.FrmFactura(); FormFac.Text = "Generar Factura"; FormFac.Show(); //menu.AgregarTabPage(FormFac, TabControlForm); }
private void nuevaFacturaToolStripMenuItem_Click(object sender, EventArgs e) { Form FrmFactura = new FrmFactura(); Form frm = this.MdiChildren.FirstOrDefault(x => x is FrmFactura); if (frm != null) { frm.BringToFront(); return; } FrmFactura.MdiParent = this; FrmFactura.Show(); }