private void importarExportarToolStripMenuItem_Click(object sender, EventArgs e) { if (isImpExpShow) { frmImporExp.Focus(); } else { if (VerificarAdmin(this.usuario)) { autorizacion_form form = new autorizacion_form(); if (form.ShowDialog() == DialogResult.OK) { if (form.ValorRetorno) { frmImporExp.MdiParent = this; frmImporExp.Show(); isImpExpShow = true; } } } else { frmImporExp.MdiParent = this; frmImporExp.Show(); isImpExpShow = true; } } }
private void importarExportarToolStripMenuItem_Click(object sender, EventArgs e) { if (isImpExpShow) { frmImporExp.Focus(); } else { frmImporExp.MdiParent = this; frmImporExp.Show(); isImpExpShow = true; } }