Click here to Skip to main content
15,925,399 members
Home / Discussions / C#
   

C#

 
QuestionHow do I paint an 'inverted' selection rectangle? Pin
srev23-Jun-06 0:44
srev23-Jun-06 0:44 
AnswerRe: How do I paint an 'inverted' selection rectangle? Pin
Josh Smith23-Jun-06 4:19
Josh Smith23-Jun-06 4:19 
GeneralRe: How do I paint an 'inverted' selection rectangle? Pin
srev23-Jun-06 9:43
srev23-Jun-06 9:43 
AnswerRe: Using Centralized Database Pin
J4amieC22-Jun-06 23:40
J4amieC22-Jun-06 23:40 
AnswerRe: Hi All, Pin
Not Active23-Jun-06 2:23
mentorNot Active23-Jun-06 2:23 
QuestionAdd CSharp User Control To CDialogBar in VC++ Pin
scorpion_pgm8222-Jun-06 22:48
scorpion_pgm8222-Jun-06 22:48 
QuestionHow to get assembly version for a remote type? Pin
mav.northwind22-Jun-06 22:13
mav.northwind22-Jun-06 22:13 
AnswerRe: How to get assembly version for a remote type? Pin
leppie22-Jun-06 23:07
leppie22-Jun-06 23:07 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 0:17
mav.northwind23-Jun-06 0:17 
GeneralRe: How to get assembly version for a remote type? Pin
Not Active23-Jun-06 3:47
mentorNot Active23-Jun-06 3:47 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 6:21
mav.northwind23-Jun-06 6:21 
QuestionC# WMI Connection Pin
Shaps22-Jun-06 21:55
Shaps22-Jun-06 21:55 
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 
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 
Why don't you have the instantiating class supply the necessary data to the instance? Unless it's methods that you're after, that if needed to be shared could be in another class and/or static.

this only provides a reference to the current instance of the class. It will only access members of that instance.

Generally speaking, a class holds necessary data, and performs necessary functions based on that data, to represent a finite piece of the problem domain. If you're class doesn't have all the data it needs, you have a design problem. It shouldn't need to look elsewhere for what it needs.



Try code model generation tools at BoneSoft.com.
QuestionSerialization from c++ to C# Pin
Esmo200022-Jun-06 16:48
Esmo200022-Jun-06 16:48 

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.