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

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e EventArgs
return void
		protected internal virtual void OnInit (EventArgs e)
		{
			if ((event_mask & init_mask) != 0) {
				EventHandler eh = (EventHandler) (_events [InitEvent]);
				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 ("OnInit ", _userId, " ", type_name));
					}
#endif
					eh (this, e);
				}
			}
		}