Click here to Skip to main content
15,889,480 members
Home / Discussions / C#
   

C#

 
GeneralRe: moving ellipse Pin
t_nedelchev28-Feb-07 21:07
t_nedelchev28-Feb-07 21:07 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 0:52
sitebuilderLuc Pattyn1-Mar-07 0:52 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 2:41
t_nedelchev1-Mar-07 2:41 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:18
sitebuilderLuc Pattyn1-Mar-07 7:18 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 7:35
t_nedelchev1-Mar-07 7:35 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 7:52
sitebuilderLuc Pattyn1-Mar-07 7:52 
GeneralRe: moving ellipse Pin
t_nedelchev1-Mar-07 8:01
t_nedelchev1-Mar-07 8:01 
GeneralRe: moving ellipse Pin
Luc Pattyn1-Mar-07 8:25
sitebuilderLuc Pattyn1-Mar-07 8:25 
Hi,

that is no surprise, each control that gets redrawn by default starts of with clearing
the background, then painting the foreground.

There is an easy way to make this invisible, it is known as "double buffering" (which
means the drawing is made first in an off-screen buffer, then that one is copied over
the relevant part of the screen). There is Control.DoubleBuffered starting .NET 2.0;
for .NET 1.x you can achieve the same effect using SetStyles on an inherited Control.

Lots of articles on CP use these techniques.

Smile | :)



Luc Pattyn

[My Articles]

QuestionImages on form are not seen some times Pin
Sirisha.Konda27-Feb-07 2:40
Sirisha.Konda27-Feb-07 2:40 
AnswerRe: Images on form are not seen some times Pin
KeithF27-Feb-07 2:52
KeithF27-Feb-07 2:52 
GeneralRe: Images on form are not seen some times Pin
Martin#27-Feb-07 3:15
Martin#27-Feb-07 3:15 
GeneralRe: Images on form are not seen some times Pin
KeithF27-Feb-07 3:17
KeithF27-Feb-07 3:17 
GeneralRe: Images on form are not seen some times Pin
Martin#27-Feb-07 3:26
Martin#27-Feb-07 3:26 
GeneralRe: Images on form are not seen some times Pin
KeithF27-Feb-07 3:29
KeithF27-Feb-07 3:29 
AnswerRe: Images on form are not seen some times Pin
engsrini27-Feb-07 5:50
engsrini27-Feb-07 5:50 
QuestionInternal and internal protected Pin
Pankaj Garg27-Feb-07 2:08
Pankaj Garg27-Feb-07 2:08 
AnswerRe: Internal and internal protected Pin
kubben27-Feb-07 3:10
kubben27-Feb-07 3:10 
QuestionColor of tab control. Pin
Vikram.....27-Feb-07 1:43
Vikram.....27-Feb-07 1:43 
AnswerRe: Color of tab control. Pin
Martin#27-Feb-07 1:56
Martin#27-Feb-07 1:56 
GeneralRe: Color of tab control. Pin
Vikram.....27-Feb-07 2:26
Vikram.....27-Feb-07 2:26 
GeneralRe: Color of tab control. Pin
Martin#27-Feb-07 2:41
Martin#27-Feb-07 2:41 
QuestionCalling a Method in C# Pin
sivainfo27-Feb-07 1:06
sivainfo27-Feb-07 1:06 
AnswerRe: Calling a Method in C# Pin
Seishin#27-Feb-07 2:00
Seishin#27-Feb-07 2:00 
GeneralRe: Calling a Method in C# Pin
sivainfo27-Feb-07 17:32
sivainfo27-Feb-07 17:32 
GeneralRe: Calling a Method in C# Pin
Matglas27-Feb-07 21:26
Matglas27-Feb-07 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.