Beispiel #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     Personal.frListarPersonal f = new Personal.frListarPersonal();
     if (aut.existe(Program.IDUsuario, 5))
     {
         f.MdiParent = this.MdiParent;
         f.ShowDialog();
     }
     else
     {
         if (Program.IDUsuario == 0)
         {
             f.MdiParent = this.MdiParent;
             f.ShowDialog();
         }
         else
         {
             MessageBox.Show("Acceso No Autorizado");
         }
     }
 }
Beispiel #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     Personal.frListarPersonal f = new Personal.frListarPersonal();
     f.ShowDialog();
 }