المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Dynamically Loading Custom Control



C# Programming
08-14-2009, 11:21 AM
Ok so im making a program thats made up of lots of custom user controls. Basically like plugins. Now it works great with all my "plugins" by dragging them onto the form, but what I want is that the user can add the dll's of the controls he wants and my program dynamically loads them in(and I will size and place them etc in the code).

Im sure this is possible as tons of apps do it. So what is the best way?

Shot http://www.barakasoft.com/script/Forums/Images/smiley_biggrin.gif