J
JJ
Hi all,
I'm writing a program that uses plugins to add some functionality. It works
as follows:
A plugin is a user control with a method getCoordArray(decimal inX, decimal
inY, decimal inZ) and a property System.Drawing.Size bestsize. To use the
plugin, I need to do the following:
1) import the dll as a reference.
1b) validate the dll: look for the method getCoordArray(decimal inX, decimal
inY, decimal inZ) and a property System.Drawing.Size bestsize
2) adding the user control to a panel in my form (only if step 1b returns
true)
Of course I know how to do this at design time, but how can I do this at
runtime?
Thanks in advance,
Vincent
I'm writing a program that uses plugins to add some functionality. It works
as follows:
A plugin is a user control with a method getCoordArray(decimal inX, decimal
inY, decimal inZ) and a property System.Drawing.Size bestsize. To use the
plugin, I need to do the following:
1) import the dll as a reference.
1b) validate the dll: look for the method getCoordArray(decimal inX, decimal
inY, decimal inZ) and a property System.Drawing.Size bestsize
2) adding the user control to a panel in my form (only if step 1b returns
true)
Of course I know how to do this at design time, but how can I do this at
runtime?
Thanks in advance,
Vincent