Hi, I'm writing here because this issue is becoming more annoying with each day it passes.
So I have a form, a dataset with a few table adapters (3 to be precise) and a datagridview.Th e datagridview has a lot of columns as checkboxes (30 columns are checkboxes per row).
The problem is in the form drawing and painting, when first shown the form paints itself very slow and im running this on a relatively powerful computer (Pentium 2.4GHz with 2gb ram, running on windows xp). I can live with the slow painting on the first show, I can even make a loading screen (which is a lame solution cause it's a relatively simple form, but meh you cant have it all) but then even when it shows fully and the user starts working with it, adding some data , clicking on comoboxes, scrolling the data grid, everything paints very slow and reacts very slow, its like working on a computer which has its processor running on 100% usage, even dragging other windows across the form (like an explorer window) the windows that im dragging copies itself a few couple of times (leaves a trail behind it like when you don't have your video drivers installed).
I searched the net about this sort of issue, all i found is: put the form double buffered property to true and put the transparency color to none to fasten the drawing process, I've done that to little effect, there is some improvement when the double buffered property is true, but very little. The application is developed in Visual Studio 2008 professional edition. I've done little programming in previous versions of visual studio but don't think I had this sort of a problem, is this an issue of the 3.5 framework and is there any solution to this behavior.
Thanks on your kind help.
So I have a form, a dataset with a few table adapters (3 to be precise) and a datagridview.Th e datagridview has a lot of columns as checkboxes (30 columns are checkboxes per row).
The problem is in the form drawing and painting, when first shown the form paints itself very slow and im running this on a relatively powerful computer (Pentium 2.4GHz with 2gb ram, running on windows xp). I can live with the slow painting on the first show, I can even make a loading screen (which is a lame solution cause it's a relatively simple form, but meh you cant have it all) but then even when it shows fully and the user starts working with it, adding some data , clicking on comoboxes, scrolling the data grid, everything paints very slow and reacts very slow, its like working on a computer which has its processor running on 100% usage, even dragging other windows across the form (like an explorer window) the windows that im dragging copies itself a few couple of times (leaves a trail behind it like when you don't have your video drivers installed).
I searched the net about this sort of issue, all i found is: put the form double buffered property to true and put the transparency color to none to fasten the drawing process, I've done that to little effect, there is some improvement when the double buffered property is true, but very little. The application is developed in Visual Studio 2008 professional edition. I've done little programming in previous versions of visual studio but don't think I had this sort of a problem, is this an issue of the 3.5 framework and is there any solution to this behavior.
Thanks on your kind help.
Comment