Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
QuestionGrid rendering problem in windows forms Pin
venomation2-Jun-11 5:38
venomation2-Jun-11 5:38 
GeneralRe: Grid rendering problem in windows forms Pin
thatraja2-Jun-11 8:21
professionalthatraja2-Jun-11 8:21 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 8:47
sitebuilderLuc Pattyn2-Jun-11 8:47 
GeneralRe: Grid rendering problem in windows forms Pin
venomation2-Jun-11 9:28
venomation2-Jun-11 9:28 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 9:36
sitebuilderLuc Pattyn2-Jun-11 9:36 
GeneralRe: Grid rendering problem in windows forms Pin
venomation2-Jun-11 9:57
venomation2-Jun-11 9:57 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 10:02
sitebuilderLuc Pattyn2-Jun-11 10:02 
AnswerRe: Grid rendering problem in windows forms Pin
Luc Pattyn2-Jun-11 10:54
sitebuilderLuc Pattyn2-Jun-11 10:54 
Some more comments, out of the blue:

1. if you create instances of a class that has a Dispose() method(such as Graphics, Font, Pen, Brush), you should call it when done with the objects.

2. you should avoid creating objects inside an event handler that is going to be called often; say you need a few brushes, just create them once and keep them around.

3. There are a whole lot of stock objects available at no extra charge, see classes such as Pens and Brushes. (and no, you don't dispose them, they aren't yours, you just borrow them).

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.3

QuestionNot Working RegistryKey.openSubKey in windows 7 Pin
vishnukamath2-Jun-11 3:32
vishnukamath2-Jun-11 3:32 
AnswerRe: Not Working RegistryKey.openSubKey in windows 7 Pin
Wayne Gaylard2-Jun-11 4:00
professionalWayne Gaylard2-Jun-11 4:00 
AnswerRe: Not Working RegistryKey.openSubKey in windows 7 Pin
Luc Pattyn2-Jun-11 4:14
sitebuilderLuc Pattyn2-Jun-11 4:14 
GeneralRe: Not Working RegistryKey.openSubKey in windows 7 Pin
GenJerDan2-Jun-11 4:28
GenJerDan2-Jun-11 4:28 
Questionis there any way to make Silent installation to my C# program - on Visual-Studio Pin
goldsoft2-Jun-11 1:41
goldsoft2-Jun-11 1:41 
AnswerRe: is there any way to make Silent installation to my C# program - on Visual-Studio Pin
Luc Pattyn2-Jun-11 2:41
sitebuilderLuc Pattyn2-Jun-11 2:41 
AnswerRe: is there any way to make Silent installation to my C# program - on Visual-Studio Pin
Dave Kreskowiak2-Jun-11 4:15
mveDave Kreskowiak2-Jun-11 4:15 
Questionread excel file with OleDbCommand Pin
MrKBA2-Jun-11 1:19
MrKBA2-Jun-11 1:19 
AnswerRe: read excel file with OleDbCommand Pin
PIEBALDconsult2-Jun-11 3:06
mvePIEBALDconsult2-Jun-11 3:06 
GeneralRe: read excel file with OleDbCommand Pin
MrKBA2-Jun-11 3:24
MrKBA2-Jun-11 3:24 
GeneralRe: read excel file with OleDbCommand Pin
Wayne Gaylard2-Jun-11 4:03
professionalWayne Gaylard2-Jun-11 4:03 
QuestionMicrosoft Report on Network c# 2010 ? [modified] Pin
Paramu19732-Jun-11 1:09
Paramu19732-Jun-11 1:09 
QuestionHow to Systematic Development and Programming Pin
Anubhava Dimri1-Jun-11 22:56
Anubhava Dimri1-Jun-11 22:56 
AnswerRe: How to Systematic Development and Programming Pin
Pete O'Hanlon1-Jun-11 23:18
mvePete O'Hanlon1-Jun-11 23:18 
AnswerRe: How to Systematic Development and Programming Pin
PIEBALDconsult2-Jun-11 3:09
mvePIEBALDconsult2-Jun-11 3:09 
QuestionSaving as a PDF file in the data PrintDocument Pin
ismail201-Jun-11 20:55
ismail201-Jun-11 20:55 
AnswerRe: Saving as a PDF file in the data PrintDocument Pin
Pete O'Hanlon1-Jun-11 21:52
mvePete O'Hanlon1-Jun-11 21:52 

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.