Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
GeneralRe: Add int to DateTime in C# Pin
Luc Pattyn31-Mar-10 9:55
sitebuilderLuc Pattyn31-Mar-10 9:55 
GeneralRe: Add int to DateTime in C# Pin
PIEBALDconsult31-Mar-10 9:58
mvePIEBALDconsult31-Mar-10 9:58 
QuestionExport Rational Rose (UML) to SQL Diagram [modified] Pin
jojoba201131-Mar-10 5:11
jojoba201131-Mar-10 5:11 
Answer[Wrong Forum] Pin
Keith Barrow31-Mar-10 5:20
professionalKeith Barrow31-Mar-10 5:20 
QuestionTabcontrol flicker Pin
Wannes Geysen31-Mar-10 4:24
Wannes Geysen31-Mar-10 4:24 
AnswerRe: Tabcontrol flicker Pin
Luc Pattyn31-Mar-10 4:39
sitebuilderLuc Pattyn31-Mar-10 4:39 
GeneralRe: Tabcontrol flicker Pin
Wannes Geysen31-Mar-10 4:57
Wannes Geysen31-Mar-10 4:57 
GeneralRe: Tabcontrol flicker Pin
Luc Pattyn31-Mar-10 5:54
sitebuilderLuc Pattyn31-Mar-10 5:54 
There always will be some flickering, it inherently is present due to the fact that parts of a Control needs to be erased and redrawn when something changes. So the trick is to keep the time between start of erasure and end of repaint as short as possible. That means:
- keep Form complexity low (avoid large number of controls, avoid background images, avoid transparency);
- keep computations low (get your data ready before you start repainting; only invalidate what really changes);
- keep memory burden low (avoid creating expensive objects such as Graphics; avoid garbage collection while repainting; make sure to dispose correctly);
- and finally: avoid erasure by using double-buffering (which erases and paints in memory, then copies as fast as it can to the screen).

That's all!

Smile | :)

AnswerRe: Tabcontrol flicker Pin
Som Shekhar31-Mar-10 5:12
Som Shekhar31-Mar-10 5:12 
GeneralRe: Tabcontrol flicker Pin
Wannes Geysen31-Mar-10 5:18
Wannes Geysen31-Mar-10 5:18 
QuestionPrintDocument clipping / wrapping text problem Pin
Mark F.31-Mar-10 3:07
Mark F.31-Mar-10 3:07 
AnswerRe: PrintDocument clipping / wrapping text problem Pin
Luc Pattyn31-Mar-10 4:46
sitebuilderLuc Pattyn31-Mar-10 4:46 
General[Solved] Re: PrintDocument clipping / wrapping text problem Pin
Mark F.31-Mar-10 5:20
Mark F.31-Mar-10 5:20 
GeneralRe: [Solved] Re: PrintDocument clipping / wrapping text problem Pin
Luc Pattyn31-Mar-10 6:01
sitebuilderLuc Pattyn31-Mar-10 6:01 
QuestionPassing TextWriter through a function Pin
Steve-Co31-Mar-10 2:36
Steve-Co31-Mar-10 2:36 
AnswerRe: Passing TextWriter through a function Pin
Keith Barrow31-Mar-10 2:43
professionalKeith Barrow31-Mar-10 2:43 
GeneralRe: Passing TextWriter through a function Pin
Steve-Co31-Mar-10 2:47
Steve-Co31-Mar-10 2:47 
GeneralRe: Passing TextWriter through a function Pin
Keith Barrow31-Mar-10 2:58
professionalKeith Barrow31-Mar-10 2:58 
GeneralRe: Passing TextWriter through a function Pin
Mirko198031-Mar-10 3:00
Mirko198031-Mar-10 3:00 
AnswerRe: Passing TextWriter through a function Pin
R. Giskard Reventlov31-Mar-10 2:45
R. Giskard Reventlov31-Mar-10 2:45 
GeneralRe: Passing TextWriter through a function Pin
Luc Pattyn31-Mar-10 2:54
sitebuilderLuc Pattyn31-Mar-10 2:54 
GeneralRe: Passing TextWriter through a function Pin
R. Giskard Reventlov31-Mar-10 2:59
R. Giskard Reventlov31-Mar-10 2:59 
AnswerRe: Passing TextWriter through a function Pin
Steve-Co31-Mar-10 2:56
Steve-Co31-Mar-10 2:56 
QuestionSafe thread calls Pin
faheemnadeem31-Mar-10 1:41
faheemnadeem31-Mar-10 1:41 
AnswerRe: Safe thread calls Pin
Luc Pattyn31-Mar-10 1:52
sitebuilderLuc Pattyn31-Mar-10 1:52 

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.