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

C#

 
GeneralRe: TreeView Control problem Pin
Hessam Jalali14-Aug-07 0:31
Hessam Jalali14-Aug-07 0:31 
GeneralRe: TreeView Control problem Pin
Adrian Soon14-Aug-07 16:01
Adrian Soon14-Aug-07 16:01 
GeneralRe: TreeView Control problem [modified] Pin
Hessam Jalali16-Aug-07 20:42
Hessam Jalali16-Aug-07 20:42 
GeneralRe: TreeView Control problem Pin
Adrian Soon16-Aug-07 21:43
Adrian Soon16-Aug-07 21:43 
GeneralRe: TreeView Control problem Pin
Hessam Jalali16-Aug-07 21:52
Hessam Jalali16-Aug-07 21:52 
GeneralRe: TreeView Control problem Pin
Adrian Soon17-Aug-07 4:43
Adrian Soon17-Aug-07 4:43 
GeneralRe: TreeView Control problem Pin
Hessam Jalali17-Aug-07 6:04
Hessam Jalali17-Aug-07 6:04 
QuestionExplain: "Store by value instead of by reference" Pin
Richard Blythe13-Aug-07 15:50
Richard Blythe13-Aug-07 15:50 
I downloaded the source code for Paint.Net. In the History functions Rick Brewster commented that when saving the state of an object, you should store by value rather than reference. Here's a quote:
"...history actions should store large objects and their locations
'by value,' and not 'by reference.'

He advocates to store the index of the collection in which the object resides. Can somebody explain to me what the technical no-no is about storing the reference to an object? I thought an object reference was a int GUID. Kind of a pointer to the place in memory.
Thanks for the help!

may your code be error free
AnswerRe: Explain: "Store by value instead of by reference" Pin
Luc Pattyn13-Aug-07 16:23
sitebuilderLuc Pattyn13-Aug-07 16:23 
GeneralRe: Explain: "Store by value instead of by reference" Pin
Richard Blythe13-Aug-07 16:49
Richard Blythe13-Aug-07 16:49 
GeneralRe: Explain: "Store by value instead of by reference" Pin
Luc Pattyn13-Aug-07 17:40
sitebuilderLuc Pattyn13-Aug-07 17:40 
QuestionTough ActiveX question Pin
newb2vb13-Aug-07 15:37
newb2vb13-Aug-07 15:37 
QuestionConsuming a Delphi COM EXE in Visual Studio C# App Pin
alias4713-Aug-07 14:59
alias4713-Aug-07 14:59 
Questionhow to detect remote input in c#? Pin
Inam Jameel13-Aug-07 13:29
Inam Jameel13-Aug-07 13:29 
AnswerRe: how to detect remote input in c#? Pin
Liam O'Hagan13-Aug-07 20:32
Liam O'Hagan13-Aug-07 20:32 
QuestionHtmlEncode Pin
vfhgujaqwe13-Aug-07 12:02
vfhgujaqwe13-Aug-07 12:02 
AnswerRe: HtmlEncode Pin
Christian Graus13-Aug-07 13:38
protectorChristian Graus13-Aug-07 13:38 
QuestionConverting Excel File to XML Pin
T4AMD13-Aug-07 9:47
T4AMD13-Aug-07 9:47 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:09
pmarfleet13-Aug-07 10:09 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:24
T4AMD13-Aug-07 10:24 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:37
pmarfleet13-Aug-07 10:37 
QuestionRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:42
T4AMD13-Aug-07 10:42 
AnswerRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:46
pmarfleet13-Aug-07 10:46 
AnswerRe: Converting Excel File to XML Pin
T4AMD13-Aug-07 10:49
T4AMD13-Aug-07 10:49 
GeneralRe: Converting Excel File to XML Pin
pmarfleet13-Aug-07 10:57
pmarfleet13-Aug-07 10:57 

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.