'Public NevronSkinResource As New NSkinResource()
NevronSkinResource.SkinName =
NSkinManager.Instance.Skin = m_Skin
I dropped NSkinResource() in designer view but ... this code never goes inside the If statement.
Could you suggest? the Fix?
Hello JSW W.,
To load all available skins you can do the following:
Dim
You can apply skin to your application without reference the Nevron.UI.WinForm.Skins.dll.
To do that you have to open the skin designer and load the Nevron.UI.WinForm.Skins.dll.
Pick the desired skin from the list with available skins, and then save it as xml file.
Check this topic in our online documentation for more info.
Then you can load this skin in your application by the following way:
resource.ResourceType = SkinResourceType.File
resource.FilePath = filePath
resource.SkinName = skinName
NSkinManager.Instance.Skin = skin
This way you will only ship the xml file with the skin and not the assembly file.
Regards,
Angel.