Profile Picture

skin.Load....

Posted By JH Kwon 14 Years Ago
Author
Message
JH Kwon
questionmark Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 10, Visits: 1

Hi,

I'm having issue about skin.Load() function.

Can anyone tell me how I can apply Nevron skin(Office 2007 Blue) in C#.

I use Nevron.UI.WinForm.Skins.dll (file version : 10.1.8.12).

===============================================

resource.ResourceType = SkinResourceType.GlobalAssembly;
resource.AssemblyName = "Nevron.UI.WinForm.Skins";

resource.SkinName = "Office 2007 Blue";

NSkin skin = new NSkin();
if (skin.Load(resource))
{
    NSkinManager.Instance.Skin = skin;
}

================================================

skin.Load(resource) return false.

Is there a way to apply this skin in C#?

Please check this code..

thank you.

 

 



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JH Kwon,

Please, type the skin name without spaces - "Office2007Blue".

If still cannot load the skin, check also whether the skin assembly Copy Local property is set to true.

Regards,

Angel.



JH Kwon
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 10, Visits: 1

Thank you, Angel.

But I don't know how to check whether the skin assembly Copy Local property is set to true.

please tell me a way how to check...

regards,

JH Kwon.

 



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hi JH Kwon,

In the Solution Explorer select the assembly located in the References folder and then click on property panel.

There you can find Copy Local property.

Regards,

Angel.





Similar Topics


Reading This Topic