System.Web.UI.WebControls.ChangePassword.OnBubbleEvent C# (CSharp) Method

OnBubbleEvent() protected method

protected OnBubbleEvent ( object source, EventArgs e ) : bool
source object
e EventArgs
return bool
		protected override bool OnBubbleEvent (object source, EventArgs e)
		{
			CommandEventArgs args = e as CommandEventArgs;
			if (e != null) {
				if (args.CommandName == ChangePasswordButtonCommandName) {
					ProcessChangePasswordEvent (args);
					return true;
				}

				if (args.CommandName == CancelButtonCommandName) {
					ProcessCancelEvent (args);
					return true;
				}

				if (args.CommandName == ContinueButtonCommandName) {
					ProcessContinueEvent (args);
					return true;
				}
			}
			return base.OnBubbleEvent (source, e);
		}