Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mehdi Pin
DaveyM6915-Jun-10 19:50
professionalDaveyM6915-Jun-10 19:50 
GeneralPost with proper subbject Pin
Khaniya15-Jun-10 20:08
professionalKhaniya15-Jun-10 20:08 
GeneralRe: Mehdi Pin
OriginalGriff15-Jun-10 21:33
mveOriginalGriff15-Jun-10 21:33 
AnswerThanks! Pin
venomation15-Jun-10 10:53
venomation15-Jun-10 10:53 
GeneralRe: Thanks! Pin
Abhinav S15-Jun-10 18:29
Abhinav S15-Jun-10 18:29 
QuestionI cannot find a proper way to do this can someone help Pin
safame2015-Jun-10 9:42
professionalsafame2015-Jun-10 9:42 
AnswerRe: I cannot find a proper way to do this can someone help Pin
Wes Aday15-Jun-10 11:11
professionalWes Aday15-Jun-10 11:11 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Luc Pattyn15-Jun-10 11:30
sitebuilderLuc Pattyn15-Jun-10 11:30 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Wes Aday15-Jun-10 12:50
professionalWes Aday15-Jun-10 12:50 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Luc Pattyn15-Jun-10 13:05
sitebuilderLuc Pattyn15-Jun-10 13:05 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Wes Aday15-Jun-10 13:53
professionalWes Aday15-Jun-10 13:53 
GeneralRe: I cannot find a proper way to do this can someone help Pin
safame2015-Jun-10 11:38
professionalsafame2015-Jun-10 11:38 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Luc Pattyn15-Jun-10 11:43
sitebuilderLuc Pattyn15-Jun-10 11:43 
GeneralRe: I cannot find a proper way to do this can someone help Pin
safame2015-Jun-10 11:46
professionalsafame2015-Jun-10 11:46 
GeneralRe: I cannot find a proper way to do this can someone help Pin
Wes Aday15-Jun-10 12:52
professionalWes Aday15-Jun-10 12:52 
Questiondecrypting data Pin
dia 201015-Jun-10 9:10
dia 201015-Jun-10 9:10 
AnswerRe: decrypting data Pin
Dr.Walt Fair, PE15-Jun-10 9:47
professionalDr.Walt Fair, PE15-Jun-10 9:47 
QuestionGeneric List in UserControl Pin
Ian Grech15-Jun-10 9:02
Ian Grech15-Jun-10 9:02 
AnswerRe: Generic List in UserControl Pin
Henry Minute15-Jun-10 11:36
Henry Minute15-Jun-10 11:36 
GeneralRe: Generic List in UserControl Pin
Ian Grech15-Jun-10 19:25
Ian Grech15-Jun-10 19:25 
QuestionMessage Removed Pin
15-Jun-10 8:22
professionalsafame2015-Jun-10 8:22 
AnswerRe: I am having some Problems in Implementing Threads for Listview PinPopular
Luc Pattyn15-Jun-10 8:54
sitebuilderLuc Pattyn15-Jun-10 8:54 
QuestionMesauring paint on a winforms panel Pin
Berlus15-Jun-10 7:18
Berlus15-Jun-10 7:18 
AnswerRe: Mesauring paint on a winforms panel Pin
Luc Pattyn15-Jun-10 7:57
sitebuilderLuc Pattyn15-Jun-10 7:57 
If I understand you correctly you have a Form, a Panel on that Form, and some Controls on the Panel. The Controls get painted whenever there is a need to, and you would like to measure how long it takes to paint them. Correct?

I could explain how to get the measurement done (or what to change so it can be done), however I'd rather tell you that you asking this tells me (1) it is slow, and (2) you should fix that.

Event handlers, including the Paint handler, should execute in a snap, never keeping the GUI thread busy (or waiting) for more than say 20 milliseconds, otherwise the GUI experience would be bad (e.g. a window covering most of your form, then disappearing, would take too long for everything to settle; or you dragging the Form by its title would not follow your mouse smoothly).

I suggest you tell more about your current situation: which controls, showing what kind of data (and where it comes from), etc. Plus a detailed symptom description.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Nil Volentibus Arduum

GeneralRe: Mesauring paint on a winforms panel Pin
Berlus15-Jun-10 10:57
Berlus15-Jun-10 10:57 

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.