Click here to Skip to main content
15,878,748 members
Home / Discussions / C#
   

C#

 
AnswerRe: getting directory list in creation date order Pin
tim_gunning12-May-09 1:14
tim_gunning12-May-09 1:14 
Questionconvert postscript to pdf Pin
tauras8111-May-09 20:57
tauras8111-May-09 20:57 
AnswerRe: convert postscript to pdf Pin
LesF23-Nov-09 22:32
LesF23-Nov-09 22:32 
Questioncalender Pin
smithasuryanarayanan11-May-09 20:42
smithasuryanarayanan11-May-09 20:42 
AnswerRe: calender Pin
Henry Minute11-May-09 21:06
Henry Minute11-May-09 21:06 
Questionhow to receive a frame in Serial port by FiFo buffer Pin
hamed_farasat11-May-09 20:16
hamed_farasat11-May-09 20:16 
QuestionAdding Authentication in C# client for gSOAP C++ webservices........ Pin
King Julien11-May-09 19:46
King Julien11-May-09 19:46 
QuestionDataGridView CellPainting (some cells only) Pin
John Jak11-May-09 19:36
John Jak11-May-09 19:36 
I have noticed that updating a DGV (only a couple of cells), still has the application repainting the whole grid when an Update occurs! I have an application with up to 6 DataGrids with 5 columns and up to 40 rows. As I step through my loaded database, I see results changing in real time on the DataGrids but it is very slow as it sweeps across the screen. Flicker is certainly noticeable on cell values that have not changed.

I don't see the need to repaint up to 1200 cells when only a few of them have actually changed (value & BackColor).
Even on a blank grid, I have stepped through the CellPainting Event when only the selected cell has changed yet the whole grid is still repainted.

When I take care of the CellPainting myself, only the cells I want to update are modified some flicker is still visible but the performance is vastly improved. However, the other cells are messed up from other windows when they get on top or when my window is resized.
I have noticed the ClipBounds property from the DataGridViewCellPaintingEventArgs informs you of the area that needs to be painted.

Is there something I am missing about the DataGridView CellPainting? Any help much appreciated!

john1166

modified on Tuesday, May 12, 2009 6:32 AM

QuestionHow can I get the reference of PDF file opened in Internet Explorer using c#? Pin
svt gdwl11-May-09 19:26
svt gdwl11-May-09 19:26 
Questionpassing parameters between two application Pin
imannasr8811-May-09 19:23
imannasr8811-May-09 19:23 
AnswerRe: passing parameters between two application Pin
dan!sh 11-May-09 19:36
professional dan!sh 11-May-09 19:36 
GeneralRe: passing parameters between two application Pin
imannasr8812-May-09 0:35
imannasr8812-May-09 0:35 
QuestionGet time zones in windows mobile Pin
vijaywithu11-May-09 19:08
vijaywithu11-May-09 19:08 
Questionhow to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:14
tofa11111-May-09 18:14 
AnswerRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:22
professional dan!sh 11-May-09 18:22 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 18:28
tofa11111-May-09 18:28 
GeneralRe: how to nudge a picture in excel sheet using c# Pin
dan!sh 11-May-09 18:51
professional dan!sh 11-May-09 18:51 
AnswerRe: how to nudge a picture in excel sheet using c# Pin
tofa11111-May-09 20:23
tofa11111-May-09 20:23 
QuestionRelated to mobile Pin
Ch.Gayatri Subudhi11-May-09 18:10
Ch.Gayatri Subudhi11-May-09 18:10 
AnswerRe: Related to mobile Pin
dan!sh 11-May-09 18:32
professional dan!sh 11-May-09 18:32 
AnswerRe: Related to mobile Pin
Dave Kreskowiak11-May-09 19:07
mveDave Kreskowiak11-May-09 19:07 
GeneralRe: Related to mobile Pin
Ch.Gayatri Subudhi11-May-09 19:15
Ch.Gayatri Subudhi11-May-09 19:15 
AnswerRe: Related to mobile Pin
Rajesh Anuhya11-May-09 19:26
professionalRajesh Anuhya11-May-09 19:26 
GeneralRe: Related to mobile Pin
Ch.Gayatri Subudhi11-May-09 19:37
Ch.Gayatri Subudhi11-May-09 19:37 
GeneralRe: Related to mobile Pin
King Julien11-May-09 20:00
King Julien11-May-09 20:00 

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.