Click here to Skip to main content
15,904,828 members
Home / Discussions / C#
   

C#

 
QuestionComboBox SelectedIndexChanged Pin
freshonlineMax8-Nov-06 1:34
freshonlineMax8-Nov-06 1:34 
AnswerRe: ComboBox SelectedIndexChanged Pin
Martin#8-Nov-06 1:48
Martin#8-Nov-06 1:48 
AnswerRe: ComboBox SelectedIndexChanged Pin
ednrgc8-Nov-06 2:51
ednrgc8-Nov-06 2:51 
GeneralRe: ComboBox SelectedIndexChanged Pin
freshonlineMax8-Nov-06 3:03
freshonlineMax8-Nov-06 3:03 
GeneralRe: ComboBox SelectedIndexChanged Pin
ednrgc8-Nov-06 3:05
ednrgc8-Nov-06 3:05 
QuestionHigh CPU load caused by this.Invalidate(myRegion); [modified] Pin
Mike Novy8-Nov-06 1:33
Mike Novy8-Nov-06 1:33 
AnswerRe: High CPU load caused by this.Invalidate(myRegion); Pin
vineas8-Nov-06 4:27
vineas8-Nov-06 4:27 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
Mike Novy8-Nov-06 5:48
Mike Novy8-Nov-06 5:48 
hi, thx fopr your reply.


Actually, I have have to update that paintings cyclically. There is no way out.
Your question concerning the rectangles,

actually I calculate few rectangles (Type Rectangle), where the redrwa has to take place.
Then, in the timer I make som myRegion.MakeEmpty(), afterwards I add those rectangles to this
myRegion with myRegion.Unioin(rectangle1), myRegion.Unioin(rectangle2), myRegion.Unioin(rectangleN)...

This works fine, and I can see, if an area outside the rectangles is not repainted, so I know that not the whole screen is repainted. I checked this also by disabling the double buffer (then it starts to flicker in that regions).


What did you mean with "clip recangle", isn't it that stuff mentioned above? Or is this a special type?

GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
vineas8-Nov-06 6:49
vineas8-Nov-06 6:49 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); [modified] Pin
Mike Novy8-Nov-06 7:44
Mike Novy8-Nov-06 7:44 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
vineas8-Nov-06 8:06
vineas8-Nov-06 8:06 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
Mike Novy8-Nov-06 8:46
Mike Novy8-Nov-06 8:46 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
vineas8-Nov-06 9:20
vineas8-Nov-06 9:20 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
Mike Novy8-Nov-06 9:52
Mike Novy8-Nov-06 9:52 
GeneralRe: High CPU load caused by this.Invalidate(myRegion); Pin
vineas8-Nov-06 10:46
vineas8-Nov-06 10:46 
Questionhow to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
yogita charhate8-Nov-06 0:36
yogita charhate8-Nov-06 0:36 
AnswerRe: how to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
Colin Angus Mackay8-Nov-06 0:44
Colin Angus Mackay8-Nov-06 0:44 
GeneralRe: how to get a date format mm.dd.yyyy( e.g. 12.31.2006) Pin
yogita charhate8-Nov-06 1:27
yogita charhate8-Nov-06 1:27 
QuestionHow Create Nonrectangular form in c#.net 2005 Pin
mohammadSoft8-Nov-06 0:30
mohammadSoft8-Nov-06 0:30 
AnswerRe: How Create Nonrectangular form in c#.net 2005 Pin
c_onica8-Nov-06 2:14
c_onica8-Nov-06 2:14 
QuestionHow to access from objects from other class Pin
signimage8-Nov-06 0:26
signimage8-Nov-06 0:26 
AnswerRe: How to access from objects from other class Pin
Colin Angus Mackay8-Nov-06 0:42
Colin Angus Mackay8-Nov-06 0:42 
AnswerRe: How to access from objects from other class Pin
quiteSmart8-Nov-06 0:56
quiteSmart8-Nov-06 0:56 
AnswerRe: How to access from objects from other class Pin
Mairaaj Khan8-Nov-06 1:07
professionalMairaaj Khan8-Nov-06 1:07 
AnswerRe: How to access from objects from other class Pin
mohammadSoft8-Nov-06 1:38
mohammadSoft8-Nov-06 1:38 

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.