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

C#

 
AnswerRe: More Explanation??? Pin
OriginalGriff6-Feb-15 21:37
mveOriginalGriff6-Feb-15 21:37 
AnswerRe: More Explanation??? Pin
Richard MacCutchan6-Feb-15 22:27
mveRichard MacCutchan6-Feb-15 22:27 
QuestionLearning for intermediate learner Pin
Mohammed A. Elshawaf6-Feb-15 5:55
Mohammed A. Elshawaf6-Feb-15 5:55 
SuggestionRe: Learning for intermediate learner Pin
Richard MacCutchan6-Feb-15 6:03
mveRichard MacCutchan6-Feb-15 6:03 
AnswerRe: Learning for intermediate learner Pin
Ron Nicholson6-Feb-15 6:52
professionalRon Nicholson6-Feb-15 6:52 
AnswerRe: Learning for intermediate learner Pin
ZurdoDev6-Feb-15 8:58
professionalZurdoDev6-Feb-15 8:58 
AnswerRe: Learning for intermediate learner Pin
harsimranb7-Feb-15 7:44
harsimranb7-Feb-15 7:44 
QuestionVirtual - Ovverride -> Drive me Crazy ... help pliz! Pin
Emanuele Bonin6-Feb-15 1:08
Emanuele Bonin6-Feb-15 1:08 
Hi All
First of all, sorry for my bad english and forgive if my question is'nt so clear.

I'm developing a series of classes to create a framework for my job.
I created this series of class:
baseform : from (empty form)
inputform : baseform
in this form i added two buttons
btnOk & btnAbort
on click these buttons calls two virtual methods that returns a bool, the two methods are respectively ExecuteOK() & QueryAbort()
BrowseForm:inputform
in this form i adedd only a grid ....
Finally in the executable i created a class, BRWTEST, derived from BrowseForm that override the ExecuteOK() method.
When i execute the project with my suprise i see that pressing OK Button (btnOK) the method called is inputform.ExecuteOK and not BRWTEST.ExecuteOK()

I have tested in another solution using simpler classes (in the framework there are many other classes) the same hierarchy ... and double surprise the behavior is correct ... derived class, pressing ok button call override method() ....

So my question is ... can you suggest me where i'm in error ? i have compared the two solution but nothing ....
Please help me

Last Thing ... i'm using SharpDevelop but i don't think that this can be affect the result.

Ask me if some things are not clear.
AnswerRe: Virtual - Ovverride -> Drive me Crazy ... help pliz! Pin
OriginalGriff6-Feb-15 2:34
mveOriginalGriff6-Feb-15 2:34 
GeneralRe: Virtual - Ovverride -> Drive me Crazy ... help pliz! Pin
Emanuele Bonin6-Feb-15 7:46
Emanuele Bonin6-Feb-15 7:46 
GeneralRe: Virtual - Ovverride -> Drive me Crazy ... help pliz! Pin
OriginalGriff6-Feb-15 8:12
mveOriginalGriff6-Feb-15 8:12 
GeneralRe: Virtual - Ovverride -> Drive me Crazy ... help pliz! Pin
Emanuele Bonin6-Feb-15 8:54
Emanuele Bonin6-Feb-15 8:54 
GeneralRe: Virtual - Ovverride -> Drive me Crazy ... help pliz! Pin
OriginalGriff6-Feb-15 9:09
mveOriginalGriff6-Feb-15 9:09 
QuestionHow to solve ? Pin
Member 114321975-Feb-15 23:40
Member 114321975-Feb-15 23:40 
AnswerRe: How to solve ? Pin
BillWoodruff5-Feb-15 23:44
professionalBillWoodruff5-Feb-15 23:44 
AnswerRe: How to solve ? Pin
V.5-Feb-15 23:54
professionalV.5-Feb-15 23:54 
AnswerRe: How to solve ? Pin
Keith Barrow6-Feb-15 0:55
professionalKeith Barrow6-Feb-15 0:55 
Questionhow to add an edit button on first row in gridview Pin
upendra shahi5-Feb-15 21:27
upendra shahi5-Feb-15 21:27 
AnswerRe: how to add an edit button on first row in gridview Pin
Richard MacCutchan5-Feb-15 22:00
mveRichard MacCutchan5-Feb-15 22:00 
QuestionECC implementation Pin
Member 114315045-Feb-15 19:14
Member 114315045-Feb-15 19:14 
AnswerRe: ECC implementation Pin
DelphiCoder5-Feb-15 20:24
DelphiCoder5-Feb-15 20:24 
Questionmultilanguage support by windows application using C# Pin
Member 114314135-Feb-15 18:58
Member 114314135-Feb-15 18:58 
AnswerRe: multilanguage support by windows application using C# Pin
V.5-Feb-15 20:15
professionalV.5-Feb-15 20:15 
QuestionTable Adapter Pin
Member 114310155-Feb-15 12:49
Member 114310155-Feb-15 12:49 
SuggestionRe: Table Adapter Pin
Richard MacCutchan5-Feb-15 21:59
mveRichard MacCutchan5-Feb-15 21:59 

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.