Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Must all forms of a project have same namespace?
Message
De
15/01/2010 17:34:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01444221
Message ID:
01444253
Vues:
39
>Hi,
>
>I have a project that has MainWindow and a couple of forms. The forms are called from the menu of the MainWindow form. After I manually changed namespace of forms things stopped working. Do I have to make sure that all forms of the project must have the same namespace? (or maybe something else caused the problem).

You can have different namespaces with no problem. When you change them manually, just don't forget the partial classes that are generated by the design system. You need to change them there as well. Then of course depending on how you named them, you would have to have the using statements when you reference them from somewhere else.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform