Click here to Skip to main content
15,921,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML Serialization of ArrayList? [modified] Pin
Software200715-Dec-10 2:55
Software200715-Dec-10 2:55 
GeneralMessage Removed Pin
15-Dec-10 3:20
Software200715-Dec-10 3:20 
GeneralRe: XML Serialization of ArrayList? Pin
Henry Minute15-Dec-10 3:29
Henry Minute15-Dec-10 3:29 
GeneralRe: XML Serialization of ArrayList? Pin
Software200715-Dec-10 3:46
Software200715-Dec-10 3:46 
GeneralRe: XML Serialization of ArrayList? Pin
Henry Minute15-Dec-10 3:52
Henry Minute15-Dec-10 3:52 
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 
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 
That sounds pretty good.

The reason for dealing with this is to have some kind of watcher that is able to be fed with Control objects in order to tell if
something has changed in one control or a group of controls and saving is required.

So I am dealing with List<Control> where Control does not provide the PropertyChanged interface.

I already implemented TextChanged for those Control objects to raise the "SomethingHasChangedEvent".

So far everything works fine.

The delegate option is an addon for cases where something else has to be watched instead of a Control object.
Let's assume a function that checks some DataGrid fields or whatever, cases where I do not want to register a lot of Controls to get a TextChanged handler attached.

After thinking about this for a while I recognized that asking the watcher if it is "dirty" and going through the delegate list for checking this might be enough.
On the other hand, why not providing this event, it might become useful later... yeah, and I like events too Wink | ;)

The timer-idea just does not feel well... I have no idea how many work these delegates actually perform, so performance might become an issue later.
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 

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.