コード例 #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
ファイル: Principal.cs プロジェクト: Anju9897/Zaiko
        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
                {
                }
            }
        }