/Docs/07-Implementacion/Source/trunk/EDUAR_actual/EDUAR/EDUAR_UI/Private/Account/ChangePasswordSuccess.aspx.cs

http://blpm.googlecode.com/ · C# · 63 lines · 43 code · 5 blank · 15 comment · 1 complexity · 1783d6c020b74a32ffbf45fcaa2a9aa5 MD5 · raw file

  1. using System;
  2. using EDUAR_UI.Shared;
  3. namespace EDUAR_UI
  4. {
  5. public partial class ChangePasswordSuccess : EDUARBasePage
  6. {
  7. /// <summary>
  8. /// Método que se ejecuta al dibujar los controles de la página.
  9. /// Se utiliza para gestionar las excepciones del método Page_Load().
  10. /// </summary>
  11. /// <param name="e"></param>
  12. protected override void OnPreRender(EventArgs e)
  13. {
  14. base.OnPreRender(e);
  15. if (AvisoMostrar)
  16. {
  17. AvisoMostrar = false;
  18. try
  19. {
  20. Master.ManageExceptions(AvisoExcepcion);
  21. }
  22. catch (Exception ex) { Master.ManageExceptions(ex); }
  23. }
  24. }
  25. /// <summary>
  26. /// Handles the Load event of the Page control.
  27. /// </summary>
  28. /// <param name="sender">The source of the event.</param>
  29. /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
  30. protected void Page_Load(object sender, EventArgs e)
  31. {
  32. try
  33. {
  34. Master.BotonAvisoAceptar += (VentanaAceptar);
  35. }
  36. catch (Exception ex)
  37. {
  38. AvisoMostrar = true;
  39. AvisoExcepcion = ex;
  40. }
  41. }
  42. /// <summary>
  43. /// Ventanas the aceptar.
  44. /// </summary>
  45. /// <param name="sender">The sender.</param>
  46. /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
  47. void VentanaAceptar(object sender, EventArgs e)
  48. {
  49. try
  50. {
  51. }
  52. catch (Exception ex)
  53. {
  54. Master.ManageExceptions(ex);
  55. }
  56. }
  57. }
  58. }