I'm fighting against a .NET 2.0 DataGridView in Virtual Mode. I'm handling its CellValueNeeded event providing data it has to show. Everything is working fine, but there is an anoying thing... When I periodically add additional rows to the DataGridView (by calling its Rows.Add() method) the entire view flickers and the cpu load rises about 10%. It flickers even if the view does not show any freshly added data!
In my oppinion DataGridView's internal row collection is changed when a row is added to the collection which results in the entire view to repaint.
Can anyone tell me how I can eliminate repainting the view in this case?
With double-buffering, an enhancement you can try is to enable it only when adding, after adding you can disable, so that scrolling and other user operations will not delay....this is just a thought..you
Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download.
This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro:
1 - Those with PCIe drives (and haven't found cloning software that works on them).
2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…