private void productosToolStripMenuItem_Click(object sender, EventArgs e) { ProductosIndex index = null; index = ProductosIndex.Instancia(); index.MdiParent = this; index.Show(); }
private void Index() { ProductosIndex editar = null; editar = ProductosIndex.Instancia(); editar.MdiParent = MdiAdmin.ActiveForm; editar.Show(); this.Close(); }
public static ProductosIndex Instancia() { if (frmInst == null || frmInst.IsDisposed == true) { frmInst = new ProductosIndex(); } frmInst.BringToFront(); return(frmInst); }