Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to the application object
Message
 
À
09/05/2007 16:16:24
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01223972
Message ID:
01224427
Vues:
10
Tim,

>From within a form, how do I reference the application object? Is there a property that I am not seeing?

If you want to access the MM .NET base application object you can just reference the class name and the associated static property:
mmAppBase.UserMgr.AuthenticateUser("Alexander", "12345");
If you want to access the MM .NET desktop application object you can do something similar:
mmAppDesktop.FormMgr.GetParentForm(this);
If you want to reference your own application object you can do this:
AppMainEntry.App;
Best 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
Répondre
Fil
Voir

Click here to load this message in the networking platform