Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Mesauring paint on a winforms panel Pin
Berlus15-Jun-10 10:57
Berlus15-Jun-10 10:57 
GeneralRe: Mesauring paint on a winforms panel Pin
Luc Pattyn15-Jun-10 11:22
sitebuilderLuc Pattyn15-Jun-10 11:22 
I understood you had Controls on the Panel, now you say it is a symbol, so I'm still confused. If there are no listing controls involved (ListBox, TreeView, DataGridView) and no databases, I doubt it will take more than say one millisecond (unless you are messing with huge images, transparency, ...).

Anyway, you could implement one way of painting things, then have a button click handler that contains:
start stopwatch
for (onethousand times) Panel.Refresh
stop stopwatch


This should repaint your panel all the time, whatever it contains. And then you could repeat it with your alternative way of painting things.

When in doubt it really repaints every time, change it a bit, e.g. perform a TranslateTransform.

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

Nil Volentibus Arduum

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.