P
paulo
Hi,
I'm having some trouble with our .NET 2.0 Windows Forms application
regarding screen transitions. Suppose we have a form with some big and
crowded user control on it. Then we free this control and load another
one of the same size. This process causes a lot of flicker and redraw on
the screen. I've tried everything, including DoubleBuffering, and the I
solution I have is to put a panel in front of everything with the first
usercontrol image inside. Then free it and load the other one, catch the
new usercontrol image, put it on the panel, and finally freeing the
panel. This makes a much nicer and smoother transition, but it's still
not perfect.
Is there any way to stop any drawing on the form, create the new
usercontrol and free the old one, and then make the form draw everything
inside it on one transaction? I've done this in Win32 application and
the transition was just perfect. However, in .NET I'm still trying. Is
this still possible with .NET?
Thanks.
Regards,
paulo
I'm having some trouble with our .NET 2.0 Windows Forms application
regarding screen transitions. Suppose we have a form with some big and
crowded user control on it. Then we free this control and load another
one of the same size. This process causes a lot of flicker and redraw on
the screen. I've tried everything, including DoubleBuffering, and the I
solution I have is to put a panel in front of everything with the first
usercontrol image inside. Then free it and load the other one, catch the
new usercontrol image, put it on the panel, and finally freeing the
panel. This makes a much nicer and smoother transition, but it's still
not perfect.
Is there any way to stop any drawing on the form, create the new
usercontrol and free the old one, and then make the form draw everything
inside it on one transaction? I've done this in Win32 application and
the transition was just perfect. However, in .NET I'm still trying. Is
this still possible with .NET?
Thanks.
Regards,
paulo