P
Paul Aspinall
Hi
I have an app which consists of several forms, some of which are hosted as
MDI in the main form, which is the MDI parent.
The initial 'main' form in the app is instanced via
[STAThread]
static void Main()
{
Application.Run(new frmMain());
}
I want to access some of the public properties and methods in the main form
(type of frmMain).
My question is....
How do I access the public properties and methods of the main form, as it is
instanced as 'new frmMain()', and doesn't have an object reference
Any help appreciated
Thanks
I have an app which consists of several forms, some of which are hosted as
MDI in the main form, which is the MDI parent.
The initial 'main' form in the app is instanced via
[STAThread]
static void Main()
{
Application.Run(new frmMain());
}
I want to access some of the public properties and methods in the main form
(type of frmMain).
My question is....
How do I access the public properties and methods of the main form, as it is
instanced as 'new frmMain()', and doesn't have an object reference
Any help appreciated
Thanks