Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a property visible throughout a DLL
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Make a property visible throughout a DLL
Divers
Thread ID:
00865695
Message ID:
00865695
Vues:
47
I' writing a DLL that contains forms and classes. There is no "Startup Object" like a Main program.

How and where do I set properties that are globally available?

For example, I let's say I want to have a Myclass.CompanyName property available to any form? Where would I put the DIM MyClass AS NEW MyClass statement?

In an EXE I can put this in a MAIN program. Where do I do this in a DLL?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform