views:

15

answers:

1

hi! in c# language and using sharpdevelop i was wondering how i can create a desktop application that loads features or forms only when requested and not at software boot, something like libraries.

thanks

A: 

If you compile your features into separate assemblies, they will not be loaded by the runtime until the first time they are used.

If you want more control, you can use Assembly.Load and reflection to pick what you want to load at runtime.

Bob