I have a class which has the following constructor
public DelayCompositeDesigner(DelayComposite CompositeObject) { InitializeComponent(); compositeObjec
If you want to call this contructor...
public DelayCompositeDesigner(DelayComposite CompositeObject)
...just use this:
var designer = Activator.CreateInstance(typeof(DelayCompositeDesigner), new DelayComposite(4));
or
var designer = Activator.CreateInstance(new DelayComposite(4));