将下载的组件放在哪里? [英] Where to put downloaded components?

查看:101
本文介绍了将下载的组件放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了几个简单的WPF组件,主要是数字上/下,我从中获得的文件和网站并没有给我任何有关如何将其实际添加到我的项目的迹象.我从来没有做过此事,有人可以给我指点一下dll欢呼声的地方.

Dan

Hi, I have just downloaded a couple of simple components for WPF primarily a numeric up/down, the file and website I have got it from doesn''t give me any indication of how to actually add it into my project. I have never done this before could someone give me a pointer where to put the dll cheers.

Dan

推荐答案

如果要在WPF应用程序中使用此dll,请将dll保存在系统的任何所需位置.要添加此文件,请在Visual Studio中打开您的应用程序,右键单击您的应用程序/项目->添加引用,在添加引用窗口"中,单击浏览"选项卡,在此处找到并选择您的dll,然后单击确定",这会将您的dll添加到您的应用程序中.在使用部分中使用此内容.

如果dll中有任何控件,并且您想使用该控件,请在工具箱"中右键单击,选择选择项目",单击浏览",找到dll的路径,然后单击确定".这将添加dll中包含的所有控件.


希望对您有帮助.
If you want to use this dll in your WPF application, save the dll in any of your desired place of your system. To add this open your Application in Visual Studio right click on your application/project->Add Reference, In Add Reference Window click Browse tab locate and select your dll here and click OK, this will add your dll in your application. Use this in using section.

If there is any control in dll and you want to use that control, For this right click on your Toolbox select Choose Items, Click Brows, locate the path of dll and click OK. This will add all the controls containing in dll.


hope this will help you.


这篇关于将下载的组件放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆