Events button at the top of the Properties window
I am trying to locate the Events
button at the top of the Properties window (which is denoted by a lightning bolt) but it is missing from my VS 2003 environment for a CF project. Is this by design? All reference materials I have reviewed refer to this button to create custom events. Is there a setting to get it to display? What am I missing?
[354 byte] By [
unit107] at [2007-12-16]
What language are you using?
In VS.NET 2003, VB does not support the events button in the properties window (regardless of targeting full or compact framework). You have to go to the code editor, select in the left combobox on the top the control/class/component that raises events and then select in the right combobox on the top the event you are interested in.
In VS2005, VB supports both methods of generating event handlers.
C# in all versions supports the properties button only.
Cheers
Daniel
I am using VB.net. Your answer makes total sense. I am doing mental translations from C# examples and documention, and didn't stop to think that that might be the issues. I am able to get at the events from the code view drop-down, but thought that it might be easier (and have more "wire-up" coding provided) from the property window.
Thanks,
Mark