[Mono-winforms-list] Is it possible to overload the System.EventHandler?
Paul
paul at all-the-johnsons.co.uk
Sat Feb 3 16:04:52 EST 2007
Hi,
> > I'm trying to pass more than one argument on a line like
> >
> > this.foo.TextChanged += new System.EventHandler(this.foo_TextChanged,
> > arg2);
> >
> > where arg2 can be just about anything. Any hints would be appreciated.
>
> Doing exactly what you describe is not possible. If you explain what
> your goal is, then we might be able to suggest ways to achieve it.
Basically, I want to pass another parameter (in this case, an instance
of a delegate class) to the event raised. I've tried doing quite a few
things, but nothing seems to happen.
TTFN
Paul
--
"Mmmmmmmm....Shakira geschmiert mit schokolade" sagt Homer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20070203/19361066/attachment.bin
More information about the Mono-winforms-list
mailing list