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. Visual Basic
  4. VB.NET events button

VB.NET events button

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
3 Posts 2 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.
  • S Offline
    S Offline
    SimonS
    wrote on last edited by
    #1

    C# has an events button in the properties window, but VB.NET doesn't. WTF? How do you get to choose the event of a eg: command button? Cheers, Simon X-5 452 rules.

    D 1 Reply Last reply
    0
    • S SimonS

      C# has an events button in the properties window, but VB.NET doesn't. WTF? How do you get to choose the event of a eg: command button? Cheers, Simon X-5 452 rules.

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

      In the code editor, there are two drop downs at the top of the window. In the left one, pick the object (or overrides, interface, base events etc.) that you want, and then in the right one, pick the event/method. Or, for events, just start typeing: Private Sub DoSomething(sender as object, e as EventArgs) Handles as soon as you press the space bar after Handles, IntelliSense will pop up a list of objects, and away you go. -- David Wengier Sonork ID: 100.14177 - Ch00k

      S 1 Reply Last reply
      0
      • D David Wengier

        In the code editor, there are two drop downs at the top of the window. In the left one, pick the object (or overrides, interface, base events etc.) that you want, and then in the right one, pick the event/method. Or, for events, just start typeing: Private Sub DoSomething(sender as object, e as EventArgs) Handles as soon as you press the space bar after Handles, IntelliSense will pop up a list of objects, and away you go. -- David Wengier Sonork ID: 100.14177 - Ch00k

        S Offline
        S Offline
        SimonS
        wrote on last edited by
        #3

        Thanks, I'll pass it on to my team. Cheers, Simon X-5 452 rules.

        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