[Mono-winforms-list] Dynamic drawing of Images on the form

2007-09-12 Thread Abir Bhattacharya
HI, I need to display some dynamic images on a windows form at regular intervals based on some logic. The code runs perfectly fine with .NET and as well as the Win MONO(1.2.4) platforms , but when I port the identical code to the Mono develop running on the Linux (2.6.22-Fedora) the images

Re: [Mono-winforms-list] Dynamic drawing of Images on the form

2007-09-12 Thread Maser, Dan
I would expect this code to do strange things. I would highly recommend getting your logic out of the paint routine. Specifically: 1. Your OnPaint should be simple, and should paint the window and return. No sleeps should be here, ever. 2. I would only calls the base.OnPaint once. 3. My

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

2007-09-12 Thread Andreia Gaita
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.