Written in C# with the .NET 1.1 Framework, this sample shows you how to implement a indeterminate progress bar utilizing Double Buffering, Color Matrix, Linear Gradient brushes, and Image Attributes.
Have you ever written any code that does some work behind the scenes that makes your application appear to be hung, stuck or not responding? Normally you would put a progress bar or something on the form to let the end user know that you are working, but in order to show a progress bar you need to know your end point, and in some cases you just don't have that information. That is what this code sample addresses, a way to inform the user that the application is busy, not hung, and in a flashier way then just a plain label set to "Working...".
|