Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to instantiate a different app class.
Message
 
To
22/05/2003 20:31:23
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00792013
Message ID:
00792044
Views:
22
Glen,

>I have an app manager class which is a derivitive of mmAppBase. I want it to instatiate instead of mmAppBase. I originally thought all I needed to do was put it in the entry point (appMainEntry). Apparently mmAppBase is already instantiated at this point. I don't physically see where it is instantiated. AppMainEntry is a derivitive of mmMainEntry which is an empty class in the Managers project. So... where do I do my substitution, instantiating my own App Manager for the mm App Manager? Show me the light.

When you create a new Windows Forms or Web Forms project using the MM .NET wizards, it already provides a custom subclass of mmAppBase for you. Here's the full hierarchy in Windows Forms:
mmAppBase
  mmAppDesktop
    App
The "App" class is your custom application class you can enhance/extend to your heart's content! This class is instantiated in AppMainEntry.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform