Click here to Skip to main content
15,924,452 members
Home / Discussions / C#
   

C#

 
GeneralGetting Icon Name from notifyIcon1 Pin
cbmdk16-Jun-04 3:31
cbmdk16-Jun-04 3:31 
GeneralRe: Getting Icon Name from notifyIcon1 Pin
Dave Kreskowiak16-Jun-04 4:21
mveDave Kreskowiak16-Jun-04 4:21 
GeneralRe: Getting Icon Name from notifyIcon1 Pin
Mike Dimmick16-Jun-04 4:25
Mike Dimmick16-Jun-04 4:25 
GeneralHttpWebRequest - Only Partial Page Returned Pin
bludvl9016-Jun-04 3:26
bludvl9016-Jun-04 3:26 
GeneralRe: HttpWebRequest - Only Partial Page Returned Pin
Heath Stewart16-Jun-04 4:28
protectorHeath Stewart16-Jun-04 4:28 
GeneralShell execute in C# Pin
Member 445055116-Jun-04 3:24
Member 445055116-Jun-04 3:24 
GeneralRe: Shell execute in C# Pin
Colin Angus Mackay16-Jun-04 3:36
Colin Angus Mackay16-Jun-04 3:36 
GeneralRe: Shell execute in C# Pin
Member 445055116-Jun-04 5:55
Member 445055116-Jun-04 5:55 
GeneralGet type of derived class from base class Pin
joev16-Jun-04 3:06
joev16-Jun-04 3:06 
GeneralRe: Get type of derived class from base class Pin
Heath Stewart16-Jun-04 4:21
protectorHeath Stewart16-Jun-04 4:21 
GeneralRe: Get type of derived class from base class Pin
joev16-Jun-04 10:39
joev16-Jun-04 10:39 
Ok,

To explain again, because I've obviously not been properly clear.

1. I am not *instansiating* Class B from A. I am trying to find the Type of object while calling a method from A that has not been overridden by derived class B.

e.g. If I call A.PrintType() I should get A, if I call B.PrintType(), without implementing PrintType() in the derived class B - i.e. I'm falling back to A.PrintType(), I want to get "B" as the output.

2. The solution must allow for use with statics... "this.GetType()" is right out.

I've been fiddling with all sorts of System.Reflection bits without success Frown | :(

Any other ideas?

Cheers.

Joe.
GeneralRe: Get type of derived class from base class Pin
joev16-Jun-04 10:53
joev16-Jun-04 10:53 
GeneralRe: Get type of derived class from base class Pin
Heath Stewart16-Jun-04 10:58
protectorHeath Stewart16-Jun-04 10:58 
GeneralRe: Get type of derived class from base class Pin
joev16-Jun-04 11:09
joev16-Jun-04 11:09 
Generalline color of textBox or listBox Pin
Member 117814516-Jun-04 2:03
Member 117814516-Jun-04 2:03 
GeneralRe: line color of textBox or listBox Pin
LongRange.Shooter16-Jun-04 4:13
LongRange.Shooter16-Jun-04 4:13 
GeneralRe: line color of textBox or listBox Pin
Member 117814516-Jun-04 4:26
Member 117814516-Jun-04 4:26 
GeneralInterfaces in C# Pin
saud_a_k16-Jun-04 1:46
saud_a_k16-Jun-04 1:46 
GeneralRe: Interfaces in C# Pin
IamADotNetGuy16-Jun-04 3:39
IamADotNetGuy16-Jun-04 3:39 
GeneralRe: Interfaces in C# Pin
LongRange.Shooter16-Jun-04 4:27
LongRange.Shooter16-Jun-04 4:27 
GeneralRe: Interfaces in C# Pin
saud_a_k16-Jun-04 18:40
saud_a_k16-Jun-04 18:40 
GeneralRe: Interfaces in C# Pin
Stefan Troschuetz16-Jun-04 19:31
Stefan Troschuetz16-Jun-04 19:31 
GeneralRe: Interfaces in C# Pin
saud_a_k16-Jun-04 19:41
saud_a_k16-Jun-04 19:41 
GeneralRe: Interfaces in C# Pin
Stefan Troschuetz16-Jun-04 19:46
Stefan Troschuetz16-Jun-04 19:46 
GeneralRe: Interfaces in C# Pin
LongRange.Shooter17-Jun-04 3:22
LongRange.Shooter17-Jun-04 3:22 

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.