How to use VS2003 designer to design a form in a nested namespace

  • Thread starter Thread starter Sebastian Dau
  • Start date Start date
S

Sebastian Dau

Hi there,

I'm trying to design a form with the help of the VS2003 C++ Forms designer.
This works pretty good as long as the form is not included in a nested
namespace.

Example (works)

namespace MyFirstNS
{
public __gc class MyForm
{
MyForm(void);
};
}


Example (Designer does not open that code):

namespace MyFirstNS
{
namespace MySecondNS
{
public __gc class MyForm
{
MyForm(void);
};
}
}


Does anybody know how to create a form in a second namespace
that can be modified visually with the VS designer.
A result should be a form to be called like
MyFirstNS::MySecondNS::MyForm ();
with designer support.

Thanks for your help!

Sebastian Dau
 
Does anybody know how to create a form in a second namespace
that can be modified visually with the VS designer.
A result should be a form to be called like
MyFirstNS::MySecondNS::MyForm ();
with designer support.

Not using VS2003 :( This is a bug. The designer will not load a form
that is not a member of a namespace or that is a member of a nested
namespace.

We fixed this for VS2005. You should find it working for the VS2005
Beta.
 
Back
Top