J
Jarod_24
For my Application i have created 3-4 different forms that can be used as the user interface for the program.
The user specifies which one he/she wants to use in a ini-file and then my code will create an instance of that form.
Currently all the forms are placed in a "Forms" project inside the programs solution and the whole shebang is loaded up at program
startup.
I was thinking of separating each the forms into it's own .DLL (Skin1.dll, Skin2.dll and so on), and then based on the entry in the
ini-file only load one of them.
All the forms are inherited from a "FormsTempelate" class so they all look the same, regarding methods, and functions.
I was looking at using System.Reflection to do this, but im a little stumped.
http://msdn.microsoft.com/library/d...stemreflectionassemblyclassloadfromtopic1.asp
As far as i see this examplecode will allow me to list all the methods, and their arguments in the assembly, but how do i create an
instance of the Form inside, and how do i execute the code?
please post links to code/articles that explains all this
The user specifies which one he/she wants to use in a ini-file and then my code will create an instance of that form.
Currently all the forms are placed in a "Forms" project inside the programs solution and the whole shebang is loaded up at program
startup.
I was thinking of separating each the forms into it's own .DLL (Skin1.dll, Skin2.dll and so on), and then based on the entry in the
ini-file only load one of them.
All the forms are inherited from a "FormsTempelate" class so they all look the same, regarding methods, and functions.
I was looking at using System.Reflection to do this, but im a little stumped.
http://msdn.microsoft.com/library/d...stemreflectionassemblyclassloadfromtopic1.asp
As far as i see this examplecode will allow me to list all the methods, and their arguments in the assembly, but how do i create an
instance of the Form inside, and how do i execute the code?
please post links to code/articles that explains all this