O'Reilly logo

C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - Creating the classes to show a progress bar column in a DataGridView

NASA's CIO wants you to make some changes to the encryption dispatcher to improve the UI feedback. He would like to see all the files being encrypted shown in a DataGridView control with the following columns:

  • The input file name
  • A progress bar showing the percentage completed

That sounds complex, because you have to create a custom DataGridViewImageCell to show a rectangle filling up, while the file is being encrypted. However, it would be an excellent experience to practice for improving other applications that need this kind of UI feedback. So, let's do that!

First, we are going to create new classes to create the custom DataGridViewImageCell, capable of displaying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required