On 9/4/07, Valentin Sawadski <[EMAIL PROTECTED]> wrote:
> But while working on 81739 I've noticed that MouseEvents in TreeViews
> are handled strangely because the appropriate OnMouseXXX methods are
> only overridden by parts of the mouse event, the rest subscribes to his
> own MouseXXX-Events instead.
>
> Is there any reason why this has been implemented this way and would it
> make sense to alter all the events to override the OnMouseXX methods
> (for more performance and more readable code)?

Haven't looked at the relevant code, but that usually happens for api
compatibility. If .net's treeview doesn't override those events, then
we can't either. Those that we need but that aren't overriden in .net,
we subscribe to them instead.

andreia gaita
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to