Forms and Namespaces

  • Thread starter Etienne-Louis Nicolet
  • Start date
E

Etienne-Louis Nicolet

How can I assign a namespace to a form?

If I put a 'Namespace'-statement on top of the designer-created code of a
form, I can not edit the form in the designer anymore.

e.g.

Namespace Forms
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
...
...
End Class
End Namespace

Thanks for any suggestions,
Etienne
 
F

Fred

in Etienne-Louis Nicolet
wrote :
How can I assign a namespace to a form?

If I put a 'Namespace'-statement on top of the designer-created code
of a form, I can not edit the form in the designer anymore.

Do the same in the other code file (it's a partial class so the class
code is splitted in two files here)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top