PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

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