private void reiniciarPagina()
 {
     try
     {
         Solicitudes solicitudes = new Solicitudes();
         this.Hide();
         solicitudes.Show();
     }
     catch (Exception ex)
     {
         string metodoYclase = this.GetType().Name + ", " + System.Reflection.MethodBase.GetCurrentMethod().Name;
         registrarError(ex, metodoYclase);
     }
 }
Esempio n. 2
0
 private void botonDeHorasExtra_Click(object sender, EventArgs e)
 {
     try
     {
         Solicitudes solicitudes = new Solicitudes();
         this.Hide();
         solicitudes.Show();
     }
     catch (Exception ex)
     {
         string metodoYclase = this.GetType().Name + ", " + System.Reflection.MethodBase.GetCurrentMethod().Name;
         registrarError(ex, metodoYclase);
     }
 }