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

C#

 
AnswerRe: Creating a method hierarchy within a class Pin
PIEBALDconsult7-Nov-09 10:10
mvePIEBALDconsult7-Nov-09 10:10 
GeneralRe: Creating a method hierarchy within a class Pin
MafiaMoe7-Nov-09 10:45
MafiaMoe7-Nov-09 10:45 
GeneralRe: Creating a method hierarchy within a class Pin
PIEBALDconsult7-Nov-09 11:14
mvePIEBALDconsult7-Nov-09 11:14 
GeneralRe: Creating a method hierarchy within a class Pin
Not Active7-Nov-09 11:42
mentorNot Active7-Nov-09 11:42 
AnswerRe: Creating a method hierarchy within a class Pin
Not Active7-Nov-09 10:38
mentorNot Active7-Nov-09 10:38 
GeneralRe: Creating a method hierarchy within a class Pin
MafiaMoe7-Nov-09 10:50
MafiaMoe7-Nov-09 10:50 
GeneralRe: Creating a method hierarchy within a class Pin
Dave Kreskowiak7-Nov-09 11:43
mveDave Kreskowiak7-Nov-09 11:43 
AnswerRe: Creating a method hierarchy within a class Pin
Luc Pattyn7-Nov-09 11:08
sitebuilderLuc Pattyn7-Nov-09 11:08 
MafiaMoe wrote:
IEWin.NavigationBar.Method();
bool g = IEWin.NavigationBar.Forward.Method();


for this to work, NavigationBar must be:
- a public member or property of IEWindow;
- an instance of some other class that has:
- a public Method() method.
- a public member or property called Forward, which is itself an instance of some other class that has a Method() method.

Conclusion: you build a hierarchy of classes, and provide either data members holding, or properties returning, an instance of some child class (which could or could not be an inner class, your choice). So you could do hundreds of different operations on IEWin although IEWindow itself does not have to offer hundreds of methods, it all becomes one big hierarchy (or tree).

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionComplex IF Statment Pin
Saksida Bojan7-Nov-09 9:33
Saksida Bojan7-Nov-09 9:33 
AnswerRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 9:36
sitebuilderLuc Pattyn7-Nov-09 9:36 
GeneralRe: Complex IF Statment Pin
Christian Graus7-Nov-09 9:37
protectorChristian Graus7-Nov-09 9:37 
GeneralRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 9:40
sitebuilderLuc Pattyn7-Nov-09 9:40 
GeneralRe: Complex IF Statment Pin
Saksida Bojan7-Nov-09 9:48
Saksida Bojan7-Nov-09 9:48 
GeneralRe: Complex IF Statment Pin
Luc Pattyn7-Nov-09 10:00
sitebuilderLuc Pattyn7-Nov-09 10:00 
GeneralRe: Complex IF Statment Pin
PIEBALDconsult7-Nov-09 10:16
mvePIEBALDconsult7-Nov-09 10:16 
GeneralRe: Complex IF Statment Pin
Christian Graus7-Nov-09 10:18
protectorChristian Graus7-Nov-09 10:18 
AnswerRe: Complex IF Statment Pin
Christian Graus7-Nov-09 9:38
protectorChristian Graus7-Nov-09 9:38 
Question[Message Deleted] Pin
ninjatruck7-Nov-09 8:59
ninjatruck7-Nov-09 8:59 
AnswerRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:07
protectorChristian Graus7-Nov-09 9:07 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:23
ninjatruck7-Nov-09 9:23 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 9:36
protectorChristian Graus7-Nov-09 9:36 
GeneralRe: problem checking for 404 Pin
ninjatruck7-Nov-09 9:43
ninjatruck7-Nov-09 9:43 
GeneralRe: problem checking for 404 Pin
Christian Graus7-Nov-09 10:19
protectorChristian Graus7-Nov-09 10:19 
GeneralRe: problem checking for 404 Pin
Saksida Bojan7-Nov-09 9:40
Saksida Bojan7-Nov-09 9:40 
AnswerRe: problem checking for 404 Pin
Abhishek Sur7-Nov-09 9:19
professionalAbhishek Sur7-Nov-09 9:19 

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.