A simple question on visual studio 2006 for c#

Posted on 2006-05-29
Last Modified: 2010-04-16
I’ve been a VB.Net programmer, recently I’ve assigned a project in C#,
i find one of my favorite feature missing in the code view of c# visual studio 2006,

Assume in a design of a simple windows form with a button,
in code view it is possible to select button object from the dropdown and get all the associated events in the event list, this is very convenient to view the available events and to easily use them,
how do I get this feature while c# coding, do I have to enable something ?
Question by:sammy_chinnu
    LVL 11

    Accepted Solution

    click: view >> properties window then there you can see the properties of each control. On the properties window there is a button with a lightening bolt, click this button to view the events.
    LVL 44

    Expert Comment

    Hi sammy_chinnu,

    another way if you use ClassView and expand the  tree under your class you should see an item named "Bases and Interfaces", expand that one and then pick the event/method/function (however you want to call it) that you want, right-click it and select "Add" in the dropdown menu.  That adds the event to your code like those dropdown boxes do in

    and for the reason of this difference you could read this post

    share what you know, learn what you don't

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now