System.Web.UI.WebControls.ImageButton.OnCommand C# (CSharp) Method

OnCommand() protected method

protected OnCommand ( System.Web.UI.WebControls.CommandEventArgs e ) : void
e System.Web.UI.WebControls.CommandEventArgs
return void
		protected virtual void OnCommand (CommandEventArgs e)
		{
			if (Events != null) {
				CommandEventHandler eh = (CommandEventHandler) (Events [CommandEvent]);
				if (eh != null)
					eh (this, e);
			}

			RaiseBubbleEvent (this, e);
		}