In MainFrameBarManager, the custom colors can be applied by setting the Office2007Theme as Managed and specify the custom color to MainFrameBarManager by using the ApplyManagedColors function in Office2007Colors. The GetColorTable function in Office2007Colors helps to get the colors from all the Office2007Theme.
Note: “ApplyManagedColors” is also applicable for Office2007Form and Office2010Form.
Refer to the following code examples.
Figure 1: ColorScheme is set as Blue
Figure 2: ColorScheme is set as Black
Figure 3: ColorScheme is set as Silver
Figure 4: ColorScheme is set as Managed
This page will automatically be redirected to the sign-in page in 10 seconds.