Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global Variables C#
Message
De
11/12/2009 19:11:49
 
 
À
11/12/2009 19:03:18
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01438724
Message ID:
01438729
Vues:
59
>Yes, I have an apllication class that has properties that are relatively static .. like application name etc
>I instanitate it for each form, so any data loaded by the first form is lost, so I load properties in each form with data from similar properties in prior forms, etc
>I must be missing something simple.

Yes, the goal of an application object is to be defined at first, thus at application load, and that's it. Otherwise, you are penalized your application for each hit or each process that is being executed.

You might want to see about a structure that would allow you to have your application object available as is wherever you are in your application. By that, you will gain a brand new perspective of what you can do and how you can make it evolve.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform