Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Must all forms of a project have same namespace?
Message
From
15/01/2010 17:34:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01444221
Message ID:
01444253
Views:
41
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform