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); } }
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); } }