[Mono-winforms-list] TreeView: Handling of Mouse-Events and two minor bugfixes

Andreia Gaita shana.ufie at gmail.com
Wed Sep 12 10:41:45 EDT 2007

On 9/4/07, Valentin Sawadski <valentin.sawadski at gmx.de> 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

More information about the Mono-winforms-list mailing list