Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Overriding simple methods...

Overriding simple methods...

Scheduled Pinned Locked Moved C#
c++question
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zombies with Coffee LLC
    wrote on last edited by
    #1

    I hate feeling like a newbie again. I know I can just type the line... protected override void OnPaint( PaintEventArgs e ) { ... base.OnPaint( e ); } but is there a way to get a list of override-ables and have the code generated for you? Something like ClassWizard in MFC? Thanks!!

    C 1 Reply Last reply
    0
    • Z Zombies with Coffee LLC

      I hate feeling like a newbie again. I know I can just type the line... protected override void OnPaint( PaintEventArgs e ) { ... base.OnPaint( e ); } but is there a way to get a list of override-ables and have the code generated for you? Something like ClassWizard in MFC? Thanks!!

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      psdavis wrote: I hate feeling like a newbie again. Me too :-( psdavis wrote: but is there a way to get a list of override-ables I believe that you can get that in the VB type properties box in the bottom right. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

      Z D M 3 Replies Last reply
      0
      • C Christian Graus

        psdavis wrote: I hate feeling like a newbie again. Me too :-( psdavis wrote: but is there a way to get a list of override-ables I believe that you can get that in the VB type properties box in the bottom right. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

        Z Offline
        Z Offline
        Zombies with Coffee LLC
        wrote on last edited by
        #3

        HAHAHAH! Of course.. Duh!!

        1 Reply Last reply
        0
        • C Christian Graus

          psdavis wrote: I hate feeling like a newbie again. Me too :-( psdavis wrote: but is there a way to get a list of override-ables I believe that you can get that in the VB type properties box in the bottom right. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

          D Offline
          D Offline
          David Wengier
          wrote on last edited by
          #4

          Christian Graus wrote: I believe that you can get that in the VB type properties box in the bottom right. :confused: Is this in design view? or code view? And its curious you should say "VB type" box. In VB.NET, the overridable methods are obtained from the two drop-downs at the top of the code window. (unless of course, you mean in design view, in which case i'll shut up now) I think i'll shut up anyway :) -- David Wengier Sonork ID: 100.14177 - Ch00k

          1 Reply Last reply
          0
          • C Christian Graus

            psdavis wrote: I hate feeling like a newbie again. Me too :-( psdavis wrote: but is there a way to get a list of override-ables I believe that you can get that in the VB type properties box in the bottom right. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

            M Offline
            M Offline
            Mazdak
            wrote on last edited by
            #5

            Christian Graus wrote: I believe that you can get that in the VB type properties box in the bottom right. Thats not something only in VB type,its in another type too, At least,I know it exist in VC++ and VC# type too,Is there ant other type too?;) (Of cource in VC++ type,its in bottom left) Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
            Wish You Were Here-Pink Floyd-1975

            C 1 Reply Last reply
            0
            • M Mazdak

              Christian Graus wrote: I believe that you can get that in the VB type properties box in the bottom right. Thats not something only in VB type,its in another type too, At least,I know it exist in VC++ and VC# type too,Is there ant other type too?;) (Of cource in VC++ type,its in bottom left) Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
              Wish You Were Here-Pink Floyd-1975

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              In .NET yes. I'm saying the .NET IDE looks like VB6. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. "I'm thinking of getting married for companionship and so I have someone to cook and clean." - Martin Marvinski, 6/3/2002

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups