예제 #1
0
 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;
         }
     }
 }
예제 #2
0
 private void importarExportarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (isImpExpShow)
     {
         frmImporExp.Focus();
     }
     else
     {
         frmImporExp.MdiParent = this;
         frmImporExp.Show();
         isImpExpShow = true;
     }
 }