[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

c# 2008 express cant find feature to add event handlers

Posted on 2009-12-21
4
Medium Priority
?
357 Views
Last Modified: 2013-12-17
In vs2005 I can use the type and member dropdowns at the top of the gui to select the component on the left and the event on the right that i want to add a handler for. The empty handler is created and the references added to the managed code. In 2008 all i can manage is to d-click the component in the designer and Im given the default click handler, no option to select other events to create handlers for... where did this feature go?

For my purposes today I have a dgv added through the designer and while I can dclick it to get the empty handler for the click event I cannot find a way to add a handler for the SelectionChanged event. Sorry if this sounds a bit newbish but Im only using 2008 for this one project and so Ive downloaded the express edition and cant seem to find my way around. Any help would be appreciated.

Thx,

John
0
Comment
Question by:jobrienct
  • 3
4 Comments
 
LVL 21

Accepted Solution

by:
silemone earned 2000 total points
ID: 26098925
that's with vb usually...

usually, to see the available events for an item, you can in design/split mode, right click and choose properties and then click the lightning strike image button and give it a name and it will show in the code behind
0
 
LVL 21

Expert Comment

by:silemone
ID: 26098945
that's with vb usually...

usually, to see the available events for an item, you can in design/split mode, SELECT the GUI representation of the item, right click and choose properties and then click the lightning strike image button and give it a name and it will show in the code behind
0
 
LVL 10

Author Comment

by:jobrienct
ID: 26099113
perfect, thx. Yes, mostly I use vb, my partner in crime fired up 2005 and said he saw the same functionality in c# 2005 - but maybe he was looking in vb as well. This works, thx a ton :)
0
 
LVL 21

Expert Comment

by:silemone
ID: 26099136
glad to be of help.

cheers.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

826 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