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); }
public static void Adapter_Init (Page p) { Customadaptercontrol ctrl = new Customadaptercontrol (); p.Controls.Add (ctrl); ctrl.Load += new EventHandler (Adapter_ctrl_Load); }