예제 #1
0
 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);
     }
 }
예제 #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);
     }
 }