Click here to Skip to main content
15,913,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple (I think) Inheritance question Pin
Heath Stewart3-Jun-04 6:02
protectorHeath Stewart3-Jun-04 6:02 
GeneralRe: Simple (I think) Inheritance question Pin
Guinness4Strength3-Jun-04 6:04
Guinness4Strength3-Jun-04 6:04 
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 
That's right, you have to supply your own constructor if your going to do this. The TreeNode class doesn't have a constructor that understands the parameters you gave it, so you have to supply one that takes those 3 parameters in your MyTreeNode class code, but you don't need to recreate the constructors of the base class, TreeNode. Just add you own contructor.
public MyTreeNode( string drive, Int32 iconIndex, Int32 iconIndex );

The Int32's should be whatever type your trying to pass into your constructor...


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

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 
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 

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.