Click here to Skip to main content
16,021,687 members
Home / Discussions / C#
   

C#

 
RantRe: button event handler where it drops it? Pin
geomeo12327-Aug-24 10:46
geomeo12327-Aug-24 10:46 
GeneralRe: button event handler where it drops it? Pin
OriginalGriff27-Aug-24 19:25
mveOriginalGriff27-Aug-24 19:25 
GeneralRe: button event handler where it drops it? Pin
geomeo12330-Aug-24 16:31
geomeo12330-Aug-24 16:31 
AnswerRe: button event handler where it drops it? Pin
Richard MacCutchan26-Aug-24 22:12
mveRichard MacCutchan26-Aug-24 22:12 
GeneralRe: button event handler where it drops it? Pin
geomeo12327-Aug-24 10:49
geomeo12327-Aug-24 10:49 
GeneralRe: button event handler where it drops it? Pin
Richard MacCutchan27-Aug-24 21:31
mveRichard MacCutchan27-Aug-24 21:31 
GeneralRe: button event handler where it drops it? Pin
geomeo12330-Aug-24 16:41
geomeo12330-Aug-24 16:41 
AnswerRe: button event handler where it drops it? Pin
Ravi Bhavnani4-Sep-24 12:23
professionalRavi Bhavnani4-Sep-24 12:23 
Where would VS know where to definitively add the handler, other than at the end of the class definition in the first file of the class? Smile | :)

The code for a Form class could be spread across several files, so this makes identifying a target location harder.  I organize my code in #region elements and have gotten (there - I said it Smile | :) ) used to moving the handler to an appropriate location.

/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: button event handler where it drops it? Pin
geomeo12325-Sep-24 9:20
geomeo12325-Sep-24 9:20 
GeneralRe: button event handler where it drops it? Pin
Ravi Bhavnani26-Sep-24 4:42
professionalRavi Bhavnani26-Sep-24 4:42 
GeneralRe: button event handler where it drops it? Pin
geomeo12326-Sep-24 7:37
geomeo12326-Sep-24 7:37 
GeneralRe: button event handler where it drops it? Pin
Ravi Bhavnani26-Sep-24 15:15
professionalRavi Bhavnani26-Sep-24 15:15 
QuestionC# Enable or disable menu in a form frm another form Pin
Ismael_199924-Aug-24 4:36
Ismael_199924-Aug-24 4:36 
AnswerRe: C# Enable or disable menu in a form frm another form Pin
Richard Andrew x6424-Aug-24 5:34
professionalRichard Andrew x6424-Aug-24 5:34 
GeneralRe: C# Enable or disable menu in a form frm another form Pin
Ismael_199926-Aug-24 4:40
Ismael_199926-Aug-24 4:40 
AnswerRe: C# Enable or disable menu in a form frm another form Pin
OriginalGriff24-Aug-24 18:18
mveOriginalGriff24-Aug-24 18:18 
GeneralRe: C# Enable or disable menu in a form frm another form Pin
Ismael_199926-Aug-24 4:42
Ismael_199926-Aug-24 4:42 
QuestionSystem.* not defined or imported Pin
Pieter Claassens15-Aug-24 4:22
Pieter Claassens15-Aug-24 4:22 
AnswerRe: System.* not defined or imported Pin
Richard MacCutchan15-Aug-24 4:56
mveRichard MacCutchan15-Aug-24 4:56 
GeneralRe: System.* not defined or imported Pin
Pieter Claassens15-Aug-24 5:03
Pieter Claassens15-Aug-24 5:03 
GeneralRe: System.* not defined or imported Pin
Richard MacCutchan15-Aug-24 5:26
mveRichard MacCutchan15-Aug-24 5:26 
GeneralRe: System.* not defined or imported Pin
Richard Andrew x6415-Aug-24 11:21
professionalRichard Andrew x6415-Aug-24 11:21 
GeneralRe: System.* not defined or imported Pin
Richard MacCutchan15-Aug-24 22:13
mveRichard MacCutchan15-Aug-24 22:13 
AnswerRe: System.* not defined or imported Pin
OriginalGriff15-Aug-24 19:17
mveOriginalGriff15-Aug-24 19:17 
QuestionCombobox item selection Pin
Member 95057569-Aug-24 22:46
Member 95057569-Aug-24 22:46 

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.