Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: unblock some item in form Pin
DaveAuld9-Jul-11 9:05
professionalDaveAuld9-Jul-11 9:05 
AnswerRe: unblock some item in form Pin
Dr.Walt Fair, PE9-Jul-11 10:38
professionalDr.Walt Fair, PE9-Jul-11 10:38 
GeneralRe: unblock some item in form Pin
BobJanova10-Jul-11 22:19
BobJanova10-Jul-11 22:19 
GeneralRe: unblock some item in form Pin
DaveAuld11-Jul-11 2:47
professionalDaveAuld11-Jul-11 2:47 
GeneralRe: unblock some item in form Pin
BobJanova11-Jul-11 3:37
BobJanova11-Jul-11 3:37 
QuestionCreate Dial Up Connection Pin
jojoba20119-Jul-11 6:06
jojoba20119-Jul-11 6:06 
AnswerRe: Create Dial Up Connection Pin
Heath Stewart10-Jul-11 16:08
protectorHeath Stewart10-Jul-11 16:08 
QuestionBreak code execution from base class in inherited form Pin
RobScripta9-Jul-11 4:30
professionalRobScripta9-Jul-11 4:30 
I fear this question has been asked a thousand times, but the keywords I can think of are too common and give millions of answers and I can't find the correct one.

In a Windows forms application (C# 2008) I have a base form with a datagridview on it, and I want to catch the cell click events on the descendants. If the contents of the datagridview is clicked I have to create a custom event, but if columnhead is clicked I allways want the same event.

I hoped I could achieve this by defining the common event in the base class, followed by the custom event in the descendant. I defined a break in the code of the base class when column head is clicked, the break is correctly handled, but the code resumes in the descendant's form class.

How can I stop the code execution in the descendant form if I have a break in the base class ?

Thanks
Rob
AnswerRe: Break code execution from base class in inherited form Pin
Heath Stewart9-Jul-11 9:16
protectorHeath Stewart9-Jul-11 9:16 
GeneralRe: Break code execution from base class in inherited form Pin
RobScripta9-Jul-11 9:29
professionalRobScripta9-Jul-11 9:29 
GeneralRe: Break code execution from base class in inherited form Pin
Dave Kreskowiak9-Jul-11 10:12
mveDave Kreskowiak9-Jul-11 10:12 
GeneralRe: Break code execution from base class in inherited form Pin
Heath Stewart10-Jul-11 16:16
protectorHeath Stewart10-Jul-11 16:16 
Questiondouble buffering Pin
shvanisingh9-Jul-11 3:54
shvanisingh9-Jul-11 3:54 
AnswerRe: double buffering Pin
fjdiewornncalwe9-Jul-11 4:57
professionalfjdiewornncalwe9-Jul-11 4:57 
AnswerRe: double buffering Pin
OriginalGriff9-Jul-11 5:24
mveOriginalGriff9-Jul-11 5:24 
AnswerRe: double buffering Pin
Pete O'Hanlon9-Jul-11 6:31
mvePete O'Hanlon9-Jul-11 6:31 
Questionclass with dynamic property Pin
mehrdadc488-Jul-11 21:14
mehrdadc488-Jul-11 21:14 
AnswerRe: class with dynamic property Pin
Abhinav S8-Jul-11 21:31
Abhinav S8-Jul-11 21:31 
AnswerRe: class with dynamic property Pin
Pete O'Hanlon8-Jul-11 22:18
mvePete O'Hanlon8-Jul-11 22:18 
QuestionCheckBox ListView Multiple Selection Problem c# [modified] Pin
varunpandeyengg8-Jul-11 4:52
varunpandeyengg8-Jul-11 4:52 
AnswerRe: CheckBox ListView Multiple Selection Problem c# Pin
Shahriar Iqbal Chowdhury/Galib8-Jul-11 11:07
professionalShahriar Iqbal Chowdhury/Galib8-Jul-11 11:07 
GeneralRe: CheckBox ListView Multiple Selection Problem c# Pin
varunpandeyengg8-Jul-11 20:58
varunpandeyengg8-Jul-11 20:58 
AnswerRe: CheckBox ListView Multiple Selection Problem c# Pin
DaveyM699-Jul-11 0:53
professionalDaveyM699-Jul-11 0:53 
GeneralRe: CheckBox ListView Multiple Selection Problem c# Pin
varunpandeyengg10-Jul-11 21:18
varunpandeyengg10-Jul-11 21:18 
AnswerRe: CheckBox ListView Multiple Selection Problem c# Pin
varunpandeyengg11-Jul-11 1:00
varunpandeyengg11-Jul-11 1:00 

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.