Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to pass optional parameter in function Pin
Scott Dorman7-Aug-07 14:33
professionalScott Dorman7-Aug-07 14:33 
QuestionWebservice XMLSerialization Question Pin
matthias s.7-Aug-07 3:19
matthias s.7-Aug-07 3:19 
AnswerRe: Webservice XMLSerialization Question Pin
Pete O'Hanlon7-Aug-07 3:50
mvePete O'Hanlon7-Aug-07 3:50 
GeneralRe: Webservice XMLSerialization Question Pin
matthias s.7-Aug-07 4:07
matthias s.7-Aug-07 4:07 
QuestionMaxLength Property Pin
Eugene4127-Aug-07 3:16
Eugene4127-Aug-07 3:16 
AnswerRe: MaxLength Property Pin
snorkie7-Aug-07 3:22
professionalsnorkie7-Aug-07 3:22 
AnswerRe: MaxLength Property Pin
Pete O'Hanlon7-Aug-07 3:23
mvePete O'Hanlon7-Aug-07 3:23 
AnswerRe: MaxLength Property Pin
Giorgi Dalakishvili7-Aug-07 3:46
mentorGiorgi Dalakishvili7-Aug-07 3:46 
QuestionRegular expressions Pin
Lutosław7-Aug-07 2:50
Lutosław7-Aug-07 2:50 
AnswerRe: Regular expressions Pin
snorkie7-Aug-07 3:30
professionalsnorkie7-Aug-07 3:30 
AnswerRe: Regular expressions Pin
Hessam Jalali7-Aug-07 3:35
Hessam Jalali7-Aug-07 3:35 
GeneralRe: Regular expressions Pin
Lutosław7-Aug-07 4:09
Lutosław7-Aug-07 4:09 
AnswerRe: Regular expressions Pin
Malcolm Smart7-Aug-07 3:44
Malcolm Smart7-Aug-07 3:44 
AnswerRe: Regular expressions Pin
PhilDanger7-Aug-07 3:58
PhilDanger7-Aug-07 3:58 
GeneralRe: Regular expressions Pin
Lutosław7-Aug-07 4:13
Lutosław7-Aug-07 4:13 
AnswerThanks, problem solved Pin
Lutosław7-Aug-07 4:24
Lutosław7-Aug-07 4:24 
QuestionMultithreading question Pin
Stevo Z7-Aug-07 2:07
Stevo Z7-Aug-07 2:07 
AnswerRe: Multithreading question Pin
il_masacratore7-Aug-07 2:51
il_masacratore7-Aug-07 2:51 
GeneralRe: Multithreading question Pin
Stevo Z7-Aug-07 2:58
Stevo Z7-Aug-07 2:58 
AnswerRe: Multithreading question Pin
Luc Pattyn7-Aug-07 2:58
sitebuilderLuc Pattyn7-Aug-07 2:58 
GeneralRe: Multithreading question Pin
Stevo Z7-Aug-07 3:16
Stevo Z7-Aug-07 3:16 
QuestionDataBinding changes cached objects Pin
glFrustum7-Aug-07 2:04
glFrustum7-Aug-07 2:04 
Background:

My app has a layer that fetches objects and stores them in a cache (own implementation). All items are identified by the signature and params of the calling method. This works pretty well. The gui layer uses data binding to bind those cached objects to the controls. If a form ist closed, the user can save or cancel all changes.

Problem:

The data binding automatically changes the objects that are referenced by the gui AND the cache - even if the user cancels the changes... So the object in the cache is accidentally changed, too. My first idea would be to return only copies of the objects (new references), but how to create a "stand-alone" copy of unknown objects?

Any suggestions?
thx in advance

glFrustum
AnswerRe: DataBinding changes cached objects Pin
Pete O'Hanlon7-Aug-07 2:09
mvePete O'Hanlon7-Aug-07 2:09 
GeneralRe: DataBinding changes cached objects Pin
glFrustum7-Aug-07 2:26
glFrustum7-Aug-07 2:26 
GeneralRe: DataBinding changes cached objects Pin
Pete O'Hanlon7-Aug-07 2:36
mvePete O'Hanlon7-Aug-07 2:36 

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.