Re: Design question - Abstract, base, interfaces, ack!
From: Jeff Louie (jeff_louie_at_yahoo.com)
Date: 03/04/05
- Next message: Jeff Louie: "Re: C# inheritance"
- Previous message: Andres Romero: "Thanks, it works!!!!"
- In reply to: Rachel Devons: "Design question - Abstract, base, interfaces, ack!"
- Next in thread: Rachel Devons: "Re: Design question - Abstract, base, interfaces, ack!"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 03 Mar 2005 16:32:46 -0800
Rachel... Well you are in luck. I have written 24 chapters on OOP
written using
a IDrawable interface as a sample. There is code listing for a fully
funtional
GDI+ program that draws Circle, Squares and Triangles.
http://www.geocities.com/jeff_louie/OOP/oop19.htm
Here is a chapter that writes the shapes to disk.
http://www.geocities.com/jeff_louie/OOP/oop22.htm
Here is a chapter on dynamic type based class factories
http://www.geocities.com/jeff_louie/OOP/oop18.htm
Regards,
Jeff
This is where I'm stumped. Unless I implement a stub Draw() method in
the
Shape class, the compiler will complain that the Draw method doesn't
exist.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Jeff Louie: "Re: C# inheritance"
- Previous message: Andres Romero: "Thanks, it works!!!!"
- In reply to: Rachel Devons: "Design question - Abstract, base, interfaces, ack!"
- Next in thread: Rachel Devons: "Re: Design question - Abstract, base, interfaces, ack!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|