Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to instantiate a different app class.
Message
 
À
22/05/2003 20:31:23
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00792013
Message ID:
00792044
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform