Updates a status bar.
The LayoutChanged method recalculates all the graphical information of the status bar and redraws it. This method is automatically called when changes are applied to the status bar (for example, when the appearance settings are modified, etc). This method can also be called manually when the status bar needs to be updated. This can be done when you need the status bar to be updated in response to custom actions that don't lead to automatic updating.