Click here to Skip to main content
15,915,508 members
Home / Discussions / C#
   

C#

 
QuestionTroubles Getting the MainMenu Component to display Pin
McSmack1-Nov-06 5:34
McSmack1-Nov-06 5:34 
QuestionGetHashCode() Pin
karanba1-Nov-06 5:25
karanba1-Nov-06 5:25 
AnswerRe: GetHashCode() Pin
Guffa1-Nov-06 6:35
Guffa1-Nov-06 6:35 
GeneralRe: GetHashCode() Pin
karanba1-Nov-06 12:47
karanba1-Nov-06 12:47 
QuestionRe-painting graphics Pin
tjschilling1-Nov-06 5:24
tjschilling1-Nov-06 5:24 
AnswerRe: Re-painting graphics Pin
Christian Graus1-Nov-06 6:13
protectorChristian Graus1-Nov-06 6:13 
GeneralRe: Re-painting graphics Pin
tjschilling1-Nov-06 6:27
tjschilling1-Nov-06 6:27 
AnswerRe: Re-painting graphics Pin
Guffa1-Nov-06 6:41
Guffa1-Nov-06 6:41 
Don't just do the re-draw in the Paint event, do all drawing there. Call the Invalidate method of the control when it needs to be redrawn.

Make sure to use the Graphics object that is supplied in the EventArgs for the event, and not create your own.

The supplied Graphics object is clipped to the area that should be redrawn, if you create a new one it won't be clipped, and you might draw on top of someone elses window.


---
b { font-weight: normal; }

Questiondyanamically adding labels to panel Pin
Ram Kiran1-Nov-06 5:23
Ram Kiran1-Nov-06 5:23 
AnswerRe: dyanamically adding labels to panel Pin
sam#1-Nov-06 6:42
sam#1-Nov-06 6:42 
GeneralRe: dyanamically adding labels to panel Pin
Ram Kiran1-Nov-06 21:34
Ram Kiran1-Nov-06 21:34 
QuestionHow can I wait for a given seconds without blocking. Pin
Nadia Monalisa1-Nov-06 5:13
Nadia Monalisa1-Nov-06 5:13 
AnswerRe: How can I wait for a given seconds without blocking. Pin
led mike1-Nov-06 5:18
led mike1-Nov-06 5:18 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa1-Nov-06 7:17
Nadia Monalisa1-Nov-06 7:17 
AnswerRe: How can I wait for a given seconds without blocking. Pin
mav.northwind1-Nov-06 6:48
mav.northwind1-Nov-06 6:48 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa1-Nov-06 7:13
Nadia Monalisa1-Nov-06 7:13 
GeneralRe: How can I wait for a given seconds without blocking. Pin
mav.northwind1-Nov-06 18:51
mav.northwind1-Nov-06 18:51 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 1:25
[Marc]2-Nov-06 1:25 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa2-Nov-06 5:55
Nadia Monalisa2-Nov-06 5:55 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 11:28
[Marc]2-Nov-06 11:28 
GeneralRe: How can I wait for a given seconds without blocking. Pin
Nadia Monalisa2-Nov-06 11:59
Nadia Monalisa2-Nov-06 11:59 
GeneralRe: How can I wait for a given seconds without blocking. Pin
[Marc]2-Nov-06 12:17
[Marc]2-Nov-06 12:17 
QuestionAccessing data from a class in main form(program) Pin
dkoco1-Nov-06 4:04
dkoco1-Nov-06 4:04 
AnswerRe: Accessing data from a class in main form(program) Pin
dkoco1-Nov-06 4:50
dkoco1-Nov-06 4:50 
Questionchange size of textbox at runtime Pin
Ajay R Ojha1-Nov-06 3:24
Ajay R Ojha1-Nov-06 3:24 

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.