CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    239

    [RESOLVED] Custom Component problem

    Whenever I make a change to a Property in a Custom Control, the Automatic code generated in the designer adds the name of the control twice, i.e. MyCustomControl.MyCustomControl. This obviously results in an error causing me to have to edit the Designer code.. This is a pain. What could be causing this odd behavior?

  2. #2
    Join Date
    Nov 2004
    Posts
    239

    Smile Resolved: Custom Component problem

    Originally, I had named both the Project and the Class the same name. I had to change both the Project Name and the Root namespace in the Project Properties to fix the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured