From: Devasena on
Hi,

This is with respect to user control design time support.

I would like to create a constructor and a method to the
InitializeComponent() of a form from a usercontrol . I come across CodeDOm
model can be used to acheive this. But still not clear ..

Nmspace.clsInfracture obj = new Nmspace.clsInfracture(); //Constructor
obj.WireUp(); //The method to be included inside the InitializeComponent()


Please tell me to add a constructor and a method into InitializeComponent()
during design time using CodeDom.


Thanks a lot
Devasena