Changing settings in VS2008 C#
-
I'm sure this is just a settings thing, but I can't seem to figure it out. I use to program in VB, but I'm trying to learn C# with VS 2008. Some of the settings seem to be different. The one that concerns me right now is that in VB the two dropdown lists above the code window would show types and events that I could use to create stubs for event handlers. In C# the dropdowns seem to only show types and members that I have already created in the code. If someone could tell me how to change the settings so that it is similar to VB I would appreciate it. Thank you.
-
I'm sure this is just a settings thing, but I can't seem to figure it out. I use to program in VB, but I'm trying to learn C# with VS 2008. Some of the settings seem to be different. The one that concerns me right now is that in VB the two dropdown lists above the code window would show types and events that I could use to create stubs for event handlers. In C# the dropdowns seem to only show types and members that I have already created in the code. If someone could tell me how to change the settings so that it is similar to VB I would appreciate it. Thank you.
That is one of the limitations with working with C#. You simply don't have them and their are no settings to bring them back. Events can be accessed in the Design-Time form editor, simply open the properties window and select a control. At the top of the properties window you will see a thunderbolt (I believe it is the icon, if not it is one of the top buttons of the properties window), if you click on the button then you will be able to see all the events for the given control.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios Discounted or Free Software for Students: DreamSpark - downloads.channel8.msdn.com MSDN Academic Alliance - www.msdnaa.com