[Mono-winforms-list] Is it possible to overload the System.EventHandler?
Chris Toshok
toshok at ximian.com
Sat Feb 3 17:41:54 EST 2007
It's more common in languages like java and C# to represent the delegate
+data with a class:
TextChangedWatcher watcher = new TextChangedWatcher (this, arg2);
this.foo.TextChanged += new EventHandler (watcher.TextChanged);
On Sat, 2007-02-03 at 20:36 +0000, Paul wrote:
> Hi,
>
> I've googled for this for a while now, but can't seem to find a way to
> do it.
>
> 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.
>
> TTFN
>
> Paul
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list