Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
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 
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 
Good point Ian, I am just afraid that I am in a situation where I need to provide a fast and flexible solution... that's why I came up with the delegate stuff.
The people who wan't to use it can provide their own mechanism for resolving the original-value and the changed-value...
Just without an event...
I am really not sure if this event would be needed... maybe if some buttons will be disabled if changes have occured... but that's pretty much all I can think about.
I am not sure if I can implement INotifyPropertyChanged (I am used to work with this buddy in WPF - right now it's a WinForm app) on all circumstances...

Imagine a third party control that does not have a Text property or a TextChanged event.
Whatever this control is huge and does not implement INotifyPropertyChanged.
Right now I can pass a delegate to the watcher (it has AddControl(Control control) and AddDelegate(MyDelegate del) methods to add whatever is needed) and the one who uses the watcher can take care about whatever he thinks might be suitable to figure out if changes occured or not.

At that point I am unable to continue without subclassing something in order to bring the INotifyPropertyChanged into play.
I do not wan't the guyzos to change their objects or whatever... they should be able to implement it easily and without too much changes... on the other hand it is quite likely that the watcher will be heavily reused...

...where to go Wink | ;)

What do you think?
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 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2713-Dec-10 23:46
Erdinc2713-Dec-10 23:46 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki13-Dec-10 23:55
Hiren solanki13-Dec-10 23:55 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:15
Erdinc2714-Dec-10 0:15 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:23
Hiren solanki14-Dec-10 0:23 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:40
Erdinc2714-Dec-10 0:40 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:45
Hiren solanki14-Dec-10 0:45 

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.