Click here to Skip to main content
15,914,109 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple (I think) Inheritance question Pin
Dave Kreskowiak3-Jun-04 6:07
mveDave Kreskowiak3-Jun-04 6:07 
GeneralRe: Simple (I think) Inheritance question Pin
BrcKcc3-Jun-04 6:24
BrcKcc3-Jun-04 6:24 
GeneralRe: Simple (I think) Inheritance question Pin
Guinness4Strength3-Jun-04 9:31
Guinness4Strength3-Jun-04 9:31 
GeneralRe: Simple (I think) Inheritance question Pin
Dave Kreskowiak3-Jun-04 9:39
mveDave Kreskowiak3-Jun-04 9:39 
GeneralRe: Simple (I think) Inheritance question Pin
Guinness4Strength3-Jun-04 9:45
Guinness4Strength3-Jun-04 9:45 
GeneralRe: Simple (I think) Inheritance question Pin
Dave Kreskowiak3-Jun-04 10:07
mveDave Kreskowiak3-Jun-04 10:07 
GeneralRe: Simple (I think) Inheritance question Pin
Guinness4Strength3-Jun-04 10:10
Guinness4Strength3-Jun-04 10:10 
GeneralRe: Simple (I think) Inheritance question Pin
Dave Kreskowiak3-Jun-04 12:25
mveDave Kreskowiak3-Jun-04 12:25 
When you need override the base class constructors and do some extra work that they don't. Your constructor will get called, then you do your extra processing or whatever, like setting default data in your version of the class, then you call the base class constructor with the same arguments that were sent to you.

Now, if you need to get parameters that the base class constructors don't support, then you have to supply your own constructor with the parameters that you need. But, don't forget to call an appropriate base class constructor, so it can do the setup work it needs to do.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Simple (I think) Inheritance question Pin
Baris Kurtlutepe4-Jun-04 2:57
Baris Kurtlutepe4-Jun-04 2:57 
GeneralXSD Dataset and Oracle query with functions Pin
Alex Getman3-Jun-04 4:35
Alex Getman3-Jun-04 4:35 
GeneralRe: XSD Dataset and Oracle query with functions Pin
frank213-Jun-04 5:01
frank213-Jun-04 5:01 
GeneralRe: XSD Dataset and Oracle query with functions Pin
Alex Getman3-Jun-04 5:32
Alex Getman3-Jun-04 5:32 
GeneralRe: XSD Dataset and Oracle query with functions Pin
Heath Stewart3-Jun-04 6:05
protectorHeath Stewart3-Jun-04 6:05 
GeneralPrint To File Pin
Gary Thom3-Jun-04 4:16
Gary Thom3-Jun-04 4:16 
GeneralReplicateTextbox functions Pin
Aaron Eldreth3-Jun-04 3:05
Aaron Eldreth3-Jun-04 3:05 
GeneralRe: ReplicateTextbox functions Pin
Heath Stewart3-Jun-04 4:04
protectorHeath Stewart3-Jun-04 4:04 
GeneralRe: ReplicateTextbox functions Pin
Aaron Eldreth3-Jun-04 10:07
Aaron Eldreth3-Jun-04 10:07 
GeneralRe: ReplicateTextbox functions Pin
Dave Kreskowiak3-Jun-04 10:09
mveDave Kreskowiak3-Jun-04 10:09 
QuestionHow to connect variable to generated control ? Pin
vgrigor3-Jun-04 2:52
vgrigor3-Jun-04 2:52 
AnswerRe: How to connect variable to generated control ? Pin
Heath Stewart3-Jun-04 4:07
protectorHeath Stewart3-Jun-04 4:07 
AnswerRe: How to connect variable to generated control ? Pin
Dave Kreskowiak3-Jun-04 4:10
mveDave Kreskowiak3-Jun-04 4:10 
GeneralRe: How to connect variable to generated control ? Pin
vgrigor3-Jun-04 4:25
vgrigor3-Jun-04 4:25 
GeneralRe: How to connect variable to generated control ? Pin
Dave Kreskowiak3-Jun-04 4:52
mveDave Kreskowiak3-Jun-04 4:52 
GeneralBest class structure (visually) Pin
Roger Alsing3-Jun-04 0:33
Roger Alsing3-Jun-04 0:33 
GeneralRe: Best class structure (visually) Pin
Stefan Troschuetz3-Jun-04 1:24
Stefan Troschuetz3-Jun-04 1:24 

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.