[Mono-winforms-list] Generic event handler in C#

Paul paul at all-the-johnsons.co.uk
Tue Sep 9 09:45:06 EDT 2008


I have (say) 6 number up/down widgets on a winform. Is there a way for
me to have one up/down event but in the event handler to be able to know
which up/down has been pressed?

I know sender.ToString() will tell me what has been clicked, but that's
not really much use when dealing with up/down widgets.


Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080909/4b437264/attachment.bin 

More information about the Mono-winforms-list mailing list