J
John Baro
It appears most of the delegates in VSNET have a sender parameter and an
eventargs parameter. Even if the eventargs parameter is empty.
What are the benefits of following this pattern when developing my own
delegates?
i.e
instead of
public void MyDelegate(string parameter);
we have
public void MyDelegate(object sender, MyInheritedEventargs parameter);
Cheers
JB
eventargs parameter. Even if the eventargs parameter is empty.
What are the benefits of following this pattern when developing my own
delegates?
i.e
instead of
public void MyDelegate(string parameter);
we have
public void MyDelegate(object sender, MyInheritedEventargs parameter);
Cheers
JB