Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Serialization of ArrayList? Pin
Software200715-Dec-10 3:58
Software200715-Dec-10 3:58 
QuestionUse a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
olibara14-Dec-10 4:04
olibara14-Dec-10 4:04 
AnswerRe: Use a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
Henry Minute14-Dec-10 5:40
Henry Minute14-Dec-10 5:40 
GeneralRe: Use a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
olibara14-Dec-10 6:28
olibara14-Dec-10 6:28 
GeneralRe: Use a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
Henry Minute14-Dec-10 7:10
Henry Minute14-Dec-10 7:10 
GeneralRe: Use a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
Henry Minute14-Dec-10 7:58
Henry Minute14-Dec-10 7:58 
GeneralRe: Use a ComboBoxCell to update textboxcell on a Binded Datagridview Pin
olibara14-Dec-10 23:30
olibara14-Dec-10 23:30 
QuestionEvent for checking if a delegate/anonymous method result changed Pin
hoernchenmeister14-Dec-10 3:40
hoernchenmeister14-Dec-10 3:40 
Hi all,
I was wondering if there is a smooth way to accomplish the following:

Lets say I have a class that accepts delegates (or anonymous methods) that return strings.
Those refs are then stored.

I want to create an eventhandler that is fired when a result of such a delegate changes
(just like the TextChanged event of TextBox but maybe named: DelegateResultChanged)

I came up with a background thread that periodically calls the delegate and compares the result with the original result,
but that seems a little too much for archiving the desired result.

Any ideas on how this can be done "the right way"?

Any ideas are kindly appreciated
best regards
Andy
AnswerRe: Event for checking if a delegate/anonymous method result changed Pin
Abhinav S14-Dec-10 5:14
Abhinav S14-Dec-10 5:14 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
hoernchenmeister14-Dec-10 5:45
hoernchenmeister14-Dec-10 5:45 
AnswerRe: Event for checking if a delegate/anonymous method result changed Pin
Ian Shlasko14-Dec-10 5:25
Ian Shlasko14-Dec-10 5:25 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
hoernchenmeister14-Dec-10 5:43
hoernchenmeister14-Dec-10 5:43 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
Ian Shlasko14-Dec-10 6:07
Ian Shlasko14-Dec-10 6:07 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
hoernchenmeister14-Dec-10 6:33
hoernchenmeister14-Dec-10 6:33 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
Ian Shlasko14-Dec-10 7:30
Ian Shlasko14-Dec-10 7:30 
GeneralRe: Event for checking if a delegate/anonymous method result changed Pin
hoernchenmeister14-Dec-10 20:38
hoernchenmeister14-Dec-10 20:38 
QuestionDynamic Polymorphism Pin
Baji Jabbar13-Dec-10 23:31
Baji Jabbar13-Dec-10 23:31 
AnswerRe: Dynamic Polymorphism Pin
Hiren solanki13-Dec-10 23:48
Hiren solanki13-Dec-10 23:48 
AnswerRe: Dynamic Polymorphism Pin
Richard MacCutchan13-Dec-10 23:49
mveRichard MacCutchan13-Dec-10 23:49 
GeneralRe: Dynamic Polymorphism Pin
Hiren solanki13-Dec-10 23:57
Hiren solanki13-Dec-10 23:57 
GeneralRe: Dynamic Polymorphism Pin
Baji Jabbar14-Dec-10 0:00
Baji Jabbar14-Dec-10 0:00 
GeneralRe: Dynamic Polymorphism Pin
Pete O'Hanlon14-Dec-10 0:43
mvePete O'Hanlon14-Dec-10 0:43 
GeneralRe: Dynamic Polymorphism Pin
Richard MacCutchan14-Dec-10 1:02
mveRichard MacCutchan14-Dec-10 1:02 
Questionadding new data over ProcessLayer Pin
Erdinc2713-Dec-10 22:12
Erdinc2713-Dec-10 22:12 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki13-Dec-10 23:17
Hiren solanki13-Dec-10 23:17 

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.