Пример #1
0
 private void gestionDeEmpleadosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         General.GUI.EmpleadosGestion f = new General.GUI.EmpleadosGestion();
         f.MdiParent = this;
         f.Show();
     }
     catch
     {
     }
 }
Пример #2
0
        private void gestionDeEmpleadosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_SESION.Informacion.VerificarPermiso(3))
            {
                try
                {
                    if (Application.OpenForms["EmpleadosGestion"] != null)
                    {
                        Application.OpenForms["EmpleadosGestion"].Activate();
                    }
                    else
                    {
                        General.GUI.EmpleadosGestion f = new General.GUI.EmpleadosGestion();
                        f.MdiParent = this;
                        f.Show();
                    }
                }

                catch
                {
                }
            }
        }