Click here to Skip to main content
15,886,840 members
Home / Discussions / C#
   

C#

 
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 
QuestionVisual Studio and .Net Runtime Framework dependency Pin
George_George7-Aug-07 1:56
George_George7-Aug-07 1:56 
AnswerRe: Visual Studio and .Net Runtime Framework dependency Pin
Christian Graus7-Aug-07 2:02
protectorChristian Graus7-Aug-07 2:02 
GeneralRe: Visual Studio and .Net Runtime Framework dependency Pin
George_George7-Aug-07 2:53
George_George7-Aug-07 2:53 
AnswerRe: Visual Studio and .Net Runtime Framework dependency Pin
Hessam Jalali7-Aug-07 3:15
Hessam Jalali7-Aug-07 3:15 
GeneralRe: Visual Studio and .Net Runtime Framework dependency Pin
George_George7-Aug-07 3:53
George_George7-Aug-07 3:53 
QuestionRich Text Box control- help Pin
Hum Dum7-Aug-07 1:54
Hum Dum7-Aug-07 1:54 
AnswerRe: Rich Text Box control- help Pin
Hessam Jalali7-Aug-07 3:25
Hessam Jalali7-Aug-07 3:25 
Questionhow to convert 2005 to 2003 Pin
avinol7-Aug-07 1:46
avinol7-Aug-07 1:46 
AnswerRe: how to convert 2005 to 2003 [modified] Pin
Hessam Jalali7-Aug-07 1:52
Hessam Jalali7-Aug-07 1:52 
Questionhow to validate register user that his validity got end Pin
avinol7-Aug-07 1:39
avinol7-Aug-07 1:39 
AnswerRe: how to validate register user that his validity got end Pin
Chetan Patel7-Aug-07 2:08
Chetan Patel7-Aug-07 2:08 
AnswerRe: how to validate register user that his validity got end Pin
Chintan.Desai7-Aug-07 2:09
Chintan.Desai7-Aug-07 2:09 
QuestionPost a XML file to URL Pin
Kumar Arun7-Aug-07 1:20
Kumar Arun7-Aug-07 1:20 
AnswerRe: Post a XML file to URL Pin
Christian Graus7-Aug-07 1:23
protectorChristian Graus7-Aug-07 1:23 

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.