Reputation: 820
I have a C# program and I want to make it able to load addons. Addons are like that: You pass a control or form to it and it makes some changes to them.
Is there anyway to have dll addons and load them dynamically at runtime and pass controls?? If not Any Idea? What should I do?
Upvotes: 2
Views: 1489
Reputation: 36487
Yes that's possible and it works similar to other programming languages: Load the library and call methods to get names and stuff. One possible solution can be found in this question.
Upvotes: 1
Reputation: 25684
Look into MEF to load and import the assemblies and the controls.
Upvotes: 3