c#中的Skincrafter问题

c#中的Skincrafter问题

本文介绍了c#中的Skincrafter问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在Visual Studio 2010中使用Skincrafter的步骤....

i遵循以下步骤:



1.打开表单设计器并展开工具箱。

2.右键单击工具箱并点击选择项目。

3.单击浏览并加载skincrafter.net DLL文件。

4.工具箱中会出现一个新控件(SkinCrafter),将其拖到表单上。

5.尝试从属性面板加载外观。如果你得到像我这样的错误:

6.打开form.designer.cs(或者在J#中,只需要form.jsl)。展开每个区域并搜索this.skinCrafter1.SkinFile = null。替换为this.skinCrafter1.SkinFile =C:\\Path\\ to\\ file.skf



但我有一个错误:对象引用没有设置为对象的实例。

任何想法?!

i need steps for using Skincrafter in Visual Studio 2010 ....
i followed these steps :

1. Open up the form designer and expand the toolbox.
2. Right click on the toolbox and hit "Choose Items".
3. Click browse and load the skincrafter.net DLL file.
4. A new control (SkinCrafter) will have appeared in the toolbox, drag it onto your form.
5. Try to load the skin from the properties panel. If you get an error like me:
6. Open up form.designer.cs (or in J#, just form.jsl). Expand every region and search for this.skinCrafter1.SkinFile = null. Replace it with this.skinCrafter1.SkinFile = "C:\\Path\\to\\file.skf"

but i had an error :"Object reference not set to an instance of an object."
any ideas ?!

推荐答案


这篇关于c#中的Skincrafter问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 21:31