Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to reduce the size of exe File ... Pin
Pete O'Hanlon1-Apr-12 23:00
mvePete O'Hanlon1-Apr-12 23:00 
GeneralRe: how to reduce the size of exe File ... Pin
RobCroll2-Apr-12 12:20
RobCroll2-Apr-12 12:20 
GeneralRe: how to reduce the size of exe File ... Pin
nassimnastaran2-Apr-12 5:27
nassimnastaran2-Apr-12 5:27 
GeneralRe: how to reduce the size of exe File ... Pin
Pete O'Hanlon3-Apr-12 1:58
mvePete O'Hanlon3-Apr-12 1:58 
AnswerRe: how to reduce the size of exe File ... Pin
PIEBALDconsult1-Apr-12 16:51
mvePIEBALDconsult1-Apr-12 16:51 
JokeRe: how to reduce the size of exe File ... Pin
Peter_in_27801-Apr-12 17:53
professionalPeter_in_27801-Apr-12 17:53 
AnswerRe: how to reduce the size of exe File ... Pin
Eddy Vluggen1-Apr-12 23:52
professionalEddy Vluggen1-Apr-12 23:52 
Questionhandling of paint event Pin
Danzy8331-Mar-12 22:37
Danzy8331-Mar-12 22:37 
Good day everyone. I have panels with text and images. During scrolling, painting the entire panel becomes slow. I'm therefore trying to paint only the invalid rectangle from Graphics.ClipRectangle. Processing was still slow so I had to step through the code and realised something.

I realised the paint event handler is called twice. In the first call, not all parts of the panel become invalid. I am able to get the invalid rectangle for painting.

However, after drawing in the invalid rectangle and the paint event handler exiting, the paint event handler is immediately called again but this time the invalid rectangle comprises the whole rectangle for the panel control on which i want to draw.

Thus drawing takes place twice, first for the smaller uncovered portion during scrolling, and second for the whole panel which causes the whole panel to be drawn again.

Is there any way to stop the whole panel from being invalidated after drawing only in the uncovered part of the panel during scrolling? It will really help to speed up processing. Thanks.
AnswerRe: handling of paint event Pin
Eddy Vluggen1-Apr-12 0:25
professionalEddy Vluggen1-Apr-12 0:25 
Questionhow to get remote interface type Pin
Member 768759431-Mar-12 22:08
Member 768759431-Mar-12 22:08 
AnswerRe: how to get remote interface type Pin
Richard Andrew x641-Apr-12 5:45
professionalRichard Andrew x641-Apr-12 5:45 
QuestionPrinting Envelopes from Manual Feed Pin
tip2tail31-Mar-12 10:05
tip2tail31-Mar-12 10:05 
AnswerRe: Printing Envelopes from Manual Feed Pin
Wes Aday31-Mar-12 12:35
professionalWes Aday31-Mar-12 12:35 
GeneralRe: Printing Envelopes from Manual Feed Pin
tip2tail31-Mar-12 12:44
tip2tail31-Mar-12 12:44 
GeneralRe: Printing Envelopes from Manual Feed Pin
Wes Aday31-Mar-12 12:49
professionalWes Aday31-Mar-12 12:49 
GeneralRe: Printing Envelopes from Manual Feed Pin
tip2tail31-Mar-12 13:08
tip2tail31-Mar-12 13:08 
GeneralRe: Printing Envelopes from Manual Feed Pin
Wes Aday31-Mar-12 13:14
professionalWes Aday31-Mar-12 13:14 
RantRe: Printing Envelopes from Manual Feed Pin
tip2tail31-Mar-12 13:24
tip2tail31-Mar-12 13:24 
GeneralRe: Printing Envelopes from Manual Feed Pin
Wes Aday31-Mar-12 13:42
professionalWes Aday31-Mar-12 13:42 
GeneralRe: Printing Envelopes from Manual Feed Pin
Richard MacCutchan31-Mar-12 21:12
mveRichard MacCutchan31-Mar-12 21:12 
Questionautoscroll with mousewheel Pin
Danzy8331-Mar-12 9:26
Danzy8331-Mar-12 9:26 
AnswerRe: autoscroll with mousewheel Pin
Luc Pattyn31-Mar-12 9:35
sitebuilderLuc Pattyn31-Mar-12 9:35 
GeneralRe: autoscroll with mousewheel Pin
Danzy8331-Mar-12 10:06
Danzy8331-Mar-12 10:06 
AnswerRe: autoscroll with mousewheel Pin
Luc Pattyn31-Mar-12 10:27
sitebuilderLuc Pattyn31-Mar-12 10:27 
QuestionCode for solving CHESS problems? Pin
Bill Sinclair31-Mar-12 7:40
Bill Sinclair31-Mar-12 7:40 

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.