How to: Change the paint style
The following code shows how to change the paint style for the docking controller employed by the BarManager. If no BarAndDocking controller is assigned to the BarManager, then this code will change the default BarAndDocking controller. Otherwise, the code will change the assigned controller. This code will affect the appearance of all the bars and dock windows which use the same BarAndDocking controller (not only the bars and dock windows that belong to barManager1).