Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Must all forms of a project have same namespace?
Message
From
16/01/2010 09:04:23
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:
01444295
Views:
34
>>>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
>
>Thank you, Tim. This is what I overlooked when I changed the namespace; I missed changing namespaces of the partial classes.

Your welcome, Glad you got it sorted out.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform