   C#: Using Combo Boxes
  What is the event handler for when some one makes a selection in a combo box?   
  Did you try SelectedIndexChanged or SelectedValueChanged?   ;Quote:Original post by FixxerWhat is the event handler for when some one makes a selection in a combo box?You've asked a lot of these questions lately. Are you sure you're making a determined effort to check the documentation first? The MSDN docs that come with any copy of Visual Studio contain information on pretty much every single public and protected class member in the framework.For instance, I found the answer to your question in about three seconds merely by scanning the ComboBox event handler list: SelectedIndexChangedAlso, from our Forum FAQ:Quote:from the Forum FAQ(1) Ask intelligent questions. A question is not intelligent if its answer is something you could find with a little bit of effort or a quick Google search.;  Aye sirs and or ma ams.Here is a better question then :)I am having trouble typing out event handlers.I cant find whats wrong with this one, the intellisense even completed it for me.WebBrowersWin.Navigating +=new WebBrowserNavigatingEventHandler(WebBrowersWin_Navigating);   ;http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowsernavigatingeventhandler.aspx;  I know, I have everything typed correctly and in the correct spots, but I keep getting this error.Error1The name 'WebBrowersWin_Navigating' does not exist in the current contextC:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\Xiemsoft Web Portal\Xiemsoft Web Portal\Form1.cs2878Xiemsoft Web PortalWebBrowersWin.Navigating += new WebBrowserNavigatingEventHandler(WebBrowersWin_Navigating);and it underlines WebBrowersWin_Navigating   ;  Type:WebBrowersWin.Navigating += And the IntelliSense should bring up the correct right hand side.  Hit tab to fill  it in.  Then hit tab again to automatically create a function that receives the event.Also, the better way to do it is to open the form in the designer view, right-click on the control, select Properties.  In the Properties view, click the little lightning-bolt icon to see a list of events.  Double-click the blank space to the right of the event you want to handle, and it will automatically set it up and take you right to where you can type code for that event.~BenDilts( void );   