Click here to Skip to main content
15,901,205 members
Home / Discussions / C#
   

C#

 
JokeRe: Execute User written Code Pin
PhilDanger10-Jul-07 10:58
PhilDanger10-Jul-07 10:58 
GeneralRe: Execute User written Code Pin
Ketty Avashia10-Jul-07 11:32
Ketty Avashia10-Jul-07 11:32 
GeneralRe: Execute User written Code Pin
PhilDanger11-Jul-07 2:58
PhilDanger11-Jul-07 2:58 
GeneralRe: Execute User written Code Pin
Ketty Avashia11-Jul-07 5:34
Ketty Avashia11-Jul-07 5:34 
AnswerRe: Execute User written Code Pin
Cyrilix11-Jul-07 8:28
Cyrilix11-Jul-07 8:28 
Questionquestion??? Pin
sarvenaz8410-Jul-07 8:47
sarvenaz8410-Jul-07 8:47 
AnswerRe: question??? Pin
Christian Graus10-Jul-07 9:06
protectorChristian Graus10-Jul-07 9:06 
Questionjfo's Splitbutton... Pin
Faredegyn10-Jul-07 8:12
Faredegyn10-Jul-07 8:12 
Well, it's an updated version that was done and can be found at http://wyday.com/blog/2007/csharp-splitbutton/

anyways, I have it implemented just fine, but I am having difficulty constructing an event handler to deal with the selection that the user makes.

The code works by constructing a a contextMenuStrip, then adds Items to it. I am wondering how do I set up an event handler that takes the chosen item and when the button is clicked, does a particular action. If I can at least get a hint to what I need to implement to set it up, that would be great.

If you need more code, just ask.

Thank you,

Fare
QuestionRe: jfo's Splitbutton... Pin
Faredegyn11-Jul-07 3:24
Faredegyn11-Jul-07 3:24 
QuestionC# Having the Font resize accordingly with the label and the form it is in. Pin
Minosknight10-Jul-07 7:12
Minosknight10-Jul-07 7:12 
AnswerRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Christian Graus10-Jul-07 7:15
protectorChristian Graus10-Jul-07 7:15 
GeneralRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Minosknight10-Jul-07 7:18
Minosknight10-Jul-07 7:18 
GeneralRe: C# Having the Font resize accordingly with the label and the form it is in. Pin
Christian Graus10-Jul-07 7:32
protectorChristian Graus10-Jul-07 7:32 
QuestionHow to trap unhandled exceptions Pin
Glenn E. Lanier II10-Jul-07 6:45
Glenn E. Lanier II10-Jul-07 6:45 
AnswerRe: How to trap unhandled exceptions Pin
Christian Graus10-Jul-07 6:59
protectorChristian Graus10-Jul-07 6:59 
GeneralRe: How to trap unhandled exceptions Pin
Glenn E. Lanier II10-Jul-07 7:57
Glenn E. Lanier II10-Jul-07 7:57 
GeneralRe: How to trap unhandled exceptions Pin
Christian Graus10-Jul-07 8:11
protectorChristian Graus10-Jul-07 8:11 
GeneralRe: How to trap unhandled exceptions Pin
Glenn E. Lanier II10-Jul-07 10:14
Glenn E. Lanier II10-Jul-07 10:14 
AnswerRe: How to trap unhandled exceptions Pin
Daniel Grunwald10-Jul-07 8:17
Daniel Grunwald10-Jul-07 8:17 
GeneralRe: How to trap unhandled exceptions Pin
Glenn E. Lanier II10-Jul-07 10:16
Glenn E. Lanier II10-Jul-07 10:16 
QuestionDataGridView Pin
mehrdadc4810-Jul-07 6:45
mehrdadc4810-Jul-07 6:45 
AnswerRe: DataGridView Pin
rahvyn610-Jul-07 9:40
rahvyn610-Jul-07 9:40 
QuestionNewbie: Calling an overriden method from a child class... Pin
Phillip Hodges10-Jul-07 5:17
Phillip Hodges10-Jul-07 5:17 
AnswerRe: Newbie: Calling an overriden method from a child class... Pin
Colin Angus Mackay10-Jul-07 5:19
Colin Angus Mackay10-Jul-07 5:19 
GeneralRe: Newbie: Calling an overriden method from a child class... Pin
Phillip Hodges10-Jul-07 5:32
Phillip Hodges10-Jul-07 5:32 

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.