-2

I have a windows forms application that is displaying columns of data. I have created it using a label which is annoyingly unorganized and blinky when I am updating during a loop. What is the fastest rendering grid that I can use for a windows forms application?

Yuck
  • 49,664
  • 13
  • 105
  • 135
osoclever
  • 373
  • 7
  • 16
  • 1
    Show some code. Sounds like you tried to build a grid control yourself? For example, have you tried using http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx ? – Yuck May 31 '13 at 00:55
  • 1
    FYI, StackOverflow isn't really about recommending particular 3rd party controls or components (ie: "What is the fastest rendering grid that I can use for a windows forms application?") as that is somewhat subjective and subject to bias. I'd work on fixing your choice of approach first (drop the labels and use a grid or multiline text box or something that results in less controls and therefore less windows handles and less graphics contexts and painting operations). – BenSwayne May 31 '13 at 03:35

1 Answers1

4

If you're using DataGridView, I've found that disabling Visual Styles on the control massively speeds up rendering.

There are other ways you can speed it up besides that, you can also enable double-buffering so you don't see the flickering (though it does reduce the framerate). See How to improve painting performance of DataGridView?

Community
  • 1
  • 1
Dai
  • 141,631
  • 28
  • 261
  • 374