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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Studio
  4. deleting event handlers...

deleting event handlers...

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiocomquestion
14 Posts 10 Posters 20 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.
  • D David Stone

    Which language are you using? Norm Almond: I seen some GUI's in my life but WTF is this mess ;-) Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough:) Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children:laugh: Leppie:My sister is 25:eek: -Norm on the MailMagic GUI

    L Offline
    L Offline
    l a u r e n
    wrote on last edited by
    #3

    is cool i uninstalled vs.net and went back to vs6 thank god


    "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
    biz stuff   about me

    M N 2 Replies Last reply
    0
    • L l a u r e n

      is cool i uninstalled vs.net and went back to vs6 thank god


      "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
      biz stuff   about me

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #4

      Wow, I think that's a record for nuking VC7 and going back to VC6. ;) --Mike-- Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

      L 1 Reply Last reply
      0
      • M Michael Dunn

        Wow, I think that's a record for nuking VC7 and going back to VC6. ;) --Mike-- Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #5

        heh well i just want to get coding done rather than fart about with new toys and vs.net seems still like a new toy to me


        "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
        biz stuff   about me

        1 Reply Last reply
        0
        • L l a u r e n

          is cool i uninstalled vs.net and went back to vs6 thank god


          "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
          biz stuff   about me

          N Offline
          N Offline
          Nnamdi Onyeyiri
          wrote on last edited by
          #6

          well, i suppose that one way to delete event handlers :)

          1001111111011101111100111100101011110011110100101110010011010010
          Sonork | 100.21142 | TheEclypse

          1 Reply Last reply
          0
          • L l a u r e n

            ok so how does one delete an event handler in .net ide??? another 2hrs trying without success X|


            "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
            biz stuff   about me

            A Offline
            A Offline
            Abin
            wrote on last edited by
            #7

            Well, I was asking the same question and guess what? At last I figured out that the only way to do so is editing both .h and .cpp files MANUALLY. A pain? You bet.

            L S 2 Replies Last reply
            0
            • A Abin

              Well, I was asking the same question and guess what? At last I figured out that the only way to do so is editing both .h and .cpp files MANUALLY. A pain? You bet.

              L Offline
              L Offline
              l a u r e n
              wrote on last edited by
              #8

              see above :)


              "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
              biz stuff   about me

              1 Reply Last reply
              0
              • A Abin

                Well, I was asking the same question and guess what? At last I figured out that the only way to do so is editing both .h and .cpp files MANUALLY. A pain? You bet.

                S Offline
                S Offline
                Stephane Rodriguez
                wrote on last edited by
                #9

                I am used to showing the Properties Window, click on the yellow storm icon, thus showing the event handlers tab, and remove that one from here. When I get back to the source code, it has deleted both declaration and implementation. My -0.5 cent.


                She's so dirty, she threw a boomerang and it wouldn't even come back.

                D 1 Reply Last reply
                0
                • S Stephane Rodriguez

                  I am used to showing the Properties Window, click on the yellow storm icon, thus showing the event handlers tab, and remove that one from here. When I get back to the source code, it has deleted both declaration and implementation. My -0.5 cent.


                  She's so dirty, she threw a boomerang and it wouldn't even come back.

                  D Offline
                  D Offline
                  David Viggiano
                  wrote on last edited by
                  #10

                  What I see is that it comments everything out, but it does not delete it. And, when you add the same event handler back, it adds a new one - leaving the commented one there! I'm really, REALLY hoping someone at MS decides to put the ClassWizard back in.

                  1 Reply Last reply
                  0
                  • L l a u r e n

                    ok so how does one delete an event handler in .net ide??? another 2hrs trying without success X|


                    "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
                    biz stuff   about me

                    H Offline
                    H Offline
                    Hugo Hallman
                    wrote on last edited by
                    #11

                    at least in vcpp in property inspector select the drop down list on the right of the desired method to delete, and chose delete. In vc7 the methods and maps are commented out for you to delete. much better than the compilation error one got in vc6

                    D 1 Reply Last reply
                    0
                    • H Hugo Hallman

                      at least in vcpp in property inspector select the drop down list on the right of the desired method to delete, and chose delete. In vc7 the methods and maps are commented out for you to delete. much better than the compilation error one got in vc6

                      D Offline
                      D Offline
                      David Viggiano
                      wrote on last edited by
                      #12

                      The only problem is that if you re-add the message handler, the commented out code is still there. This is brain-dead compared to the old ClassWizard.

                      G 1 Reply Last reply
                      0
                      • D David Viggiano

                        The only problem is that if you re-add the message handler, the commented out code is still there. This is brain-dead compared to the old ClassWizard.

                        G Offline
                        G Offline
                        Gary R Wheeler
                        wrote on last edited by
                        #13

                        This is a hell of a lot better than if it removed the code entirely. "Oh sh*t! I needed that stuff!"


                        Software Zen: delete this;

                        A 1 Reply Last reply
                        0
                        • G Gary R Wheeler

                          This is a hell of a lot better than if it removed the code entirely. "Oh sh*t! I needed that stuff!"


                          Software Zen: delete this;

                          A Offline
                          A Offline
                          Anonymous
                          wrote on last edited by
                          #14

                          Then there's always an "undo" button for you on the toolbar.

                          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