N
Norvin Laudon
Hi,
I have an application that has a form and a few classes. Rather than the
form being the startup object "Application.Run(new Form1())", I would like
one of the classes to be the startup.
The startup class would then contain an instance of the form, to use as it's
UI.
To do this (and correct me if I'm wrong), I believe I need to create an
ApplicationContext object, and pass that to the Application.Run() method?
If so, does anyone have a sample of doing this, or some skeletal code? I
can't seem to find very good examples on the web. Which usually means I
might be on the wrong track...
TIA,
Norvin
I have an application that has a form and a few classes. Rather than the
form being the startup object "Application.Run(new Form1())", I would like
one of the classes to be the startup.
The startup class would then contain an instance of the form, to use as it's
UI.
To do this (and correct me if I'm wrong), I believe I need to create an
ApplicationContext object, and pass that to the Application.Run() method?
If so, does anyone have a sample of doing this, or some skeletal code? I
can't seem to find very good examples on the web. Which usually means I
might be on the wrong track...
TIA,
Norvin