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. ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.