Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Raise Event Pin
laptop_018-Mar-04 10:27
laptop_018-Mar-04 10:27 
GeneralRe: Raise Event Pin
Heath Stewart8-Mar-04 10:37
protectorHeath Stewart8-Mar-04 10:37 
GeneralRe: Raise Event Pin
laptop_018-Mar-04 11:07
laptop_018-Mar-04 11:07 
GeneralRe: Raise Event Pin
LongRange.Shooter9-Mar-04 7:38
LongRange.Shooter9-Mar-04 7:38 
GeneralContext Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 9:08
Ruchi Gupta8-Mar-04 9:08 
GeneralRe: Context Menu - Display Member, Value member Pin
Heath Stewart8-Mar-04 10:31
protectorHeath Stewart8-Mar-04 10:31 
GeneralRe: Context Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 10:36
Ruchi Gupta8-Mar-04 10:36 
GeneralRe: Context Menu - Display Member, Value member Pin
Heath Stewart8-Mar-04 10:39
protectorHeath Stewart8-Mar-04 10:39 
The MenuItem isn't a data-binding control like the ComboBox. What you see is what you get - there is nothing "behind the scenes" that track information like this. That doesn't mean you can't add it, though. Extend the MenuItem class with your own and add a property to hold this information. In the MenuItem.Click handler elsewhere in your code, you cast the sender (the first parameter) to your MenuItem derivative class and get the value of that property.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Context Menu - Display Member, Value member Pin
Ruchi Gupta8-Mar-04 10:43
Ruchi Gupta8-Mar-04 10:43 
GeneralIE Snapshot ...Is this possible with C# Pin
AWebDude8-Mar-04 8:05
AWebDude8-Mar-04 8:05 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 10:17
protectorHeath Stewart8-Mar-04 10:17 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Russell Morris8-Mar-04 10:18
Russell Morris8-Mar-04 10:18 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 10:44
protectorHeath Stewart8-Mar-04 10:44 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Russell Morris8-Mar-04 10:56
Russell Morris8-Mar-04 10:56 
GeneralRe: IE Snapshot ...Is this possible with C# Pin
Heath Stewart8-Mar-04 11:00
protectorHeath Stewart8-Mar-04 11:00 
Questionhow do you use string from WWW-Authenticate header? Pin
godzooky8-Mar-04 7:42
godzooky8-Mar-04 7:42 
AnswerRe: how do you use string from WWW-Authenticate header? Pin
Heath Stewart8-Mar-04 8:44
protectorHeath Stewart8-Mar-04 8:44 
GeneralI want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 7:26
mud778-Mar-04 7:26 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 8:49
protectorHeath Stewart8-Mar-04 8:49 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
mud778-Mar-04 10:02
mud778-Mar-04 10:02 
GeneralRe: I want Enter key to act like Tab key on a DataGrid Pin
Heath Stewart8-Mar-04 10:27
protectorHeath Stewart8-Mar-04 10:27 
GeneralThanks Heath I will try that Pin
mud778-Mar-04 11:56
mud778-Mar-04 11:56 
Generalmoving mdi child forms Pin
HappyPaws8-Mar-04 4:00
HappyPaws8-Mar-04 4:00 
GeneralRe: moving mdi child forms Pin
Heath Stewart8-Mar-04 4:45
protectorHeath Stewart8-Mar-04 4:45 
GeneralRe: moving mdi child forms Pin
LongRange.Shooter9-Mar-04 10:26
LongRange.Shooter9-Mar-04 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.