Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: TcpClient for Windows Mobile 6 Pin
leslie wu1-Sep-08 6:02
leslie wu1-Sep-08 6:02 
GeneralRe: TcpClient for Windows Mobile 6 Pin
leppie1-Sep-08 6:42
leppie1-Sep-08 6:42 
QuestionJPEG compression, HELP ME! Pin
thucbv31-Aug-08 23:44
thucbv31-Aug-08 23:44 
AnswerRe: JPEG compression, HELP ME! Pin
Manas Bhardwaj1-Sep-08 0:27
professionalManas Bhardwaj1-Sep-08 0:27 
AnswerRe: JPEG compression, HELP ME! Pin
blackjack21501-Sep-08 1:34
blackjack21501-Sep-08 1:34 
GeneralRe: JPEG compression, HELP ME! Pin
thucbv1-Sep-08 7:38
thucbv1-Sep-08 7:38 
GeneralRe: JPEG compression, HELP ME! Pin
blackjack21501-Sep-08 7:44
blackjack21501-Sep-08 7:44 
QuestionTracing Invalidate calls (Windows Forms) Pin
Jon Hulatt31-Aug-08 22:58
Jon Hulatt31-Aug-08 22:58 
I'm trying to do some performance enhancements to my project, and, I've discovered that frequently my animation (custom) control is getting painted twice for each distinct frame.

I've traced all calls that I make to Invalidate(), but it seems that something else must be invalidating my control - for every Invalidate call that I make, there are always two calls to OnPaint.

Problem is, Control.Invalidate is not marked virtual, so I cannot trap all calls to base Invalidates, which I suspect is what is causing the seemingly unneccessary Invalidates.

Anyone know of a diagnostic technique that will allow me to establish why my control gets painted, for each call?

using System.Beer;

AnswerRe: Tracing Invalidate calls (Windows Forms) Pin
Frank Horn31-Aug-08 23:58
Frank Horn31-Aug-08 23:58 
AnswerRe: Tracing Invalidate calls (Windows Forms) Pin
leppie1-Sep-08 2:11
leppie1-Sep-08 2:11 
GeneralRe: Tracing Invalidate calls (Windows Forms) Pin
Jon Hulatt1-Sep-08 2:15
Jon Hulatt1-Sep-08 2:15 
QuestionHow do I draw a single color transparently? Pin
Megidolaon31-Aug-08 22:47
Megidolaon31-Aug-08 22:47 
AnswerRe: How do I draw a single color transparently? Pin
oobimoo31-Aug-08 23:29
oobimoo31-Aug-08 23:29 
GeneralRe: How do I draw a single color transparently? Pin
Megidolaon1-Sep-08 22:56
Megidolaon1-Sep-08 22:56 
QuestionDrawing a big image to real coordinates Pin
ianhunt0131-Aug-08 22:39
ianhunt0131-Aug-08 22:39 
AnswerRe: Drawing a big image to real coordinates Pin
oobimoo1-Sep-08 0:18
oobimoo1-Sep-08 0:18 
GeneralRe: Drawing a big image to real coordinates Pin
ianhunt011-Sep-08 1:03
ianhunt011-Sep-08 1:03 
GeneralRe: Drawing a big image to real coordinates Pin
oobimoo1-Sep-08 8:19
oobimoo1-Sep-08 8:19 
GeneralRe: Drawing a big image to real coordinates Pin
ianhunt012-Sep-08 5:49
ianhunt012-Sep-08 5:49 
QuestionFather class how to use the special sub-category type [modified] Pin
huangrongchuan31-Aug-08 21:43
huangrongchuan31-Aug-08 21:43 
GeneralRe: Father class in how to use the special sub-category of type Pin
Guffa1-Sep-08 1:42
Guffa1-Sep-08 1:42 
GeneralRe: Father class in how to use the special sub-category of type Pin
huangrongchuan1-Sep-08 2:29
huangrongchuan1-Sep-08 2:29 
AnswerRe: Father class how to use the special sub-category type Pin
Guffa1-Sep-08 6:38
Guffa1-Sep-08 6:38 
GeneralRe: Father class how to use the special sub-category type [modified] Pin
huangrongchuan1-Sep-08 15:45
huangrongchuan1-Sep-08 15:45 
QuestionHow to transfer all mails from one account to another. Pin
ekpravasi31-Aug-08 20:18
ekpravasi31-Aug-08 20:18 

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.