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

    WinForms code generation

    The designer always puts a this-> in front of all calls, if I remove the this-> the code still compiles but the designer doesn't work any longer.

    Also I am used to have a public, then a protected and then a private block in my class, the designer/wizard (however you want to call it) puts the accessor in front of everything, that's just as annoying as the this->.

    I also don't want to have my code inline in the header file.


    P.S.: I'm writing my experiences from my memories, because the default state of my VS2005 is broken:

    The file 'Form.h' does not support code parsing or generation because it is not contained within a project that supports code.

  2. #2
    Join Date
    Sep 2001
    Location
    Québec, Canada
    Posts
    1,923

    Re: WinForms code generation

    Moved from Slow Chat, too specific.

    JeffB
    Last edited by Brad Jones; June 22nd, 2006 at 08:06 AM.
    CodeGuru VB FAQ Visual Basic Frequently Asked Questions
    VB Code color Tool to color your VB code on CodeGuru
    Before you post Importants informations to know before posting

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