Hello JSW W.,
To load all available skins you can do the following:
Dim
skins() As NSkin = NSkinManager.Instance.LoadResourceSkins(Assembly.Load("Nevron.UI.WinForm.Skins"))
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:
Dim
resource As NSkinResource = New NSkinResource()resource.ResourceType = SkinResourceType.File
resource.FilePath = filePath
resource.SkinName = skinName
Dim skin As NSkin = New NSkin()If skin.Load(resource) ThenNSkinManager.Instance.Skin = skin
End IfThis way you will only ship the xml file with the skin and not the assembly file.
Regards,
Angel.