Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# WMI Connection Pin
Mattias Olgerfelt7-Mar-07 1:24
Mattias Olgerfelt7-Mar-07 1:24 
QuestionPaint Event Handler [modified] Pin
printscreen1234522-Jun-06 21:38
printscreen1234522-Jun-06 21:38 
QuestionTreeView visible Pin
ytubis22-Jun-06 21:12
ytubis22-Jun-06 21:12 
QuestionDataGridView Problem? [modified] Pin
Jax_qqq22-Jun-06 19:53
Jax_qqq22-Jun-06 19:53 
QuestionHtml reset button is called when esc button is clicked. how can i avoid it? Pin
nachisaravanan22-Jun-06 18:49
nachisaravanan22-Jun-06 18:49 
AnswerRe: Html reset button is called when esc button is clicked. how can i avoid it? Pin
Vasudevan Deepak Kumar22-Jun-06 20:43
Vasudevan Deepak Kumar22-Jun-06 20:43 
QuestionWhat is "this" Pin
urbane.tiger22-Jun-06 17:01
urbane.tiger22-Jun-06 17:01 
AnswerRe: What is "this" Pin
Esmo200022-Jun-06 17:18
Esmo200022-Jun-06 17:18 
You probably want to know about reflection. http://my.execpc.com/~gopalan/dotnet/reflection.html .

This is a pointer to the current object. It's not baggage because it is useful for all sorts of function calls referring to the object itself (among other things the compiler must have it for).

"I wanted to know the context in which a particular class member (a set accessor) was being used, and I thought a'ha there must be something in all that "this" baggage that will give me the name of the instancing class - but I can't find it - it seems I can get lots of info about "who" I is, but precious little about "where" I is."

Do you mean you want to know which class was calling this object? That's more difficult, and usually if your using reflection, it means you did something wrong anyways. Try redesigning your code to avoid it.

J

Did I post well? Rate it! Did I post badly? Rate that too!
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 18:17
urbane.tiger22-Jun-06 18:17 
GeneralRe: What is "this" Pin
Robert Rohde22-Jun-06 20:33
Robert Rohde22-Jun-06 20:33 
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 22:01
urbane.tiger22-Jun-06 22:01 
AnswerRe: What is "this" Pin
BoneSoft23-Jun-06 5:37
BoneSoft23-Jun-06 5:37 
QuestionSerialization from c++ to C# Pin
Esmo200022-Jun-06 16:48
Esmo200022-Jun-06 16:48 
QuestionTouch Screen Development Pin
oskardiazdeleon22-Jun-06 16:18
oskardiazdeleon22-Jun-06 16:18 
AnswerRe: Touch Screen Development Pin
Robert Rohde22-Jun-06 20:41
Robert Rohde22-Jun-06 20:41 
GeneralRe: Touch Screen Development Pin
oskardiazdeleon22-Jun-06 21:43
oskardiazdeleon22-Jun-06 21:43 
GeneralRe: Touch Screen Development Pin
Robert Rohde22-Jun-06 23:14
Robert Rohde22-Jun-06 23:14 
QuestionStatusBar Stops Updating on Minimize ? Pin
Mike Bluett22-Jun-06 14:40
Mike Bluett22-Jun-06 14:40 
AnswerRe: StatusBar Stops Updating on Minimize ? Pin
Judah Gabriel Himango22-Jun-06 17:39
sponsorJudah Gabriel Himango22-Jun-06 17:39 
GeneralRe: StatusBar Stops Updating on Minimize ? Pin
Mike Bluett22-Jun-06 17:49
Mike Bluett22-Jun-06 17:49 
GeneralRe: StatusBar Stops Updating on Minimize ? Pin
Judah Gabriel Himango23-Jun-06 4:32
sponsorJudah Gabriel Himango23-Jun-06 4:32 
GeneralRe: StatusBar Stops Updating on Minimize ? Pin
Mike Bluett23-Jun-06 11:05
Mike Bluett23-Jun-06 11:05 
Questionsolutions explorer Pin
ddpn4222-Jun-06 12:09
ddpn4222-Jun-06 12:09 
AnswerRe: solutions explorer Pin
Nader Elshehabi22-Jun-06 12:23
Nader Elshehabi22-Jun-06 12:23 
GeneralRe: solutions explorer Pin
ddpn4223-Jun-06 2:55
ddpn4223-Jun-06 2:55 

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.