Inheritance: System.Web.UI.Control
示例#1
0
		public static void ResolveAdapter_Init (Page p)
		{
		        Customadaptercontrol ctrl = new Customadaptercontrol ();
		        p.Controls.Add (ctrl);
		        ctrl.Load += new EventHandler (ResolveAdapter_ctrl_Load);

		        Customadaptercontrol derivedCtrl = new DerivedCustomadaptercontrol ();
		        p.Controls.Add (derivedCtrl);
		        derivedCtrl.Load += new EventHandler (ResolveAdapter_derivedCtrl_Load);
		}
示例#2
0
		public static void Adapter_Init (Page p)
		{
		        Customadaptercontrol ctrl = new Customadaptercontrol ();
		        p.Controls.Add (ctrl);
		        ctrl.Load += new EventHandler (Adapter_ctrl_Load);
		}