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