System.Web.UI.Control.OnLoad C# (CSharp) Method

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void
		protected internal virtual void OnLoad (EventArgs e)
		{
			if ((event_mask & load_mask) != 0) {
				EventHandler eh = (EventHandler) (_events [LoadEvent]);
				if (eh != null) {
#if MONO_TRACE
					TraceContext trace = (Context != null && Context.Trace.IsEnabled) ? Context.Trace : null;
					string type_name = null;
					if (trace != null) {
						type_name = GetType ().Name;
						trace.Write ("control", String.Concat ("OnLoad ", _userId, " ", type_name));
					}
#endif
					eh (this, e);
				}
			}
		}