O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

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

Using the StatusBar Control

The status bar is an area, at the button of a form, that displays status information to the user. This status bar can display only text information. A common use of a status bar is to provide users with a simple sentence that describes the state of the application or tell the user what operations can now be executed, given the current state of the application. It can also replace a ProgressBar control to display the status of time-consuming operations.

To update a StatusBar control, simply change the value of its Text property. When the text is changed, the control is automatically repainted to display the new text, just like a Label control. Figure 3.13 displays an application that starts and stops a Timer control. ...

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