Hi,
The default skin mode is to skin virtually everything on the current UI thread, this is fine if your
application is pure WinForms, if the host application isn't a windows forms application i.e such as
an Office Add-In ( Word,Excel etc), then there are two methods you can use in this scenario :-
Method 1.[1] At design-time click on the VisualStyler component and set
SkinMode to
Manual[2] In the
Load event of each Form manually apply the skin as in the following sample code
Code:
private void Form_Load(object sender, EventArgs e)
{
SkinSoft.VisualStyler.VisualStyler.ApplySkin(this);
}
Method 2.[1] At design-time click on the VisualStyler component and set
SkinMode to
Automatic[2] At design-time click on the VisualStyler component and set all of the following properties to False
SkinSystemControls = False
HookSystemColors = False
HookSystemDrawing = False
HookVisualStylers = False
You might get a way using this method since the hook settings affect the entire application and are now
disabled and also VisualStyler will not attempt to skin any non-WinForms controls.