在C#Winform中运行时加载Dll [英] Load Dll at the runtime in C# Winform

查看:337
本文介绍了在C#Winform中运行时加载Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



我正在开发多语言Windows应用程序..

为此,我制作了一个类库项目资源文件和Access类,以便我可以通过类访问资源项。我想为每种语言创建类库...

我现在想要的是,应用程序应该在运行时访问程序集(dll)...

对于Eg:它现在可能正在使用Lang-En.dll ...当我将语言更改为德语时,它应该选择Lang-Ge.dll文件并从中访问资源..

如何我可以在运行时间访问aseembly吗?请帮帮我...



注意:请原谅我的英文

Hi friends,

I am developing a Multilingual Windows Application..
For this, I have made a class library project having a resource file, and an Access class so that I can access the resource items through the class. I want to create class libraries for each Language...
What I want now is, The Application should access the Assembly (dll) ath the run time...
For Eg: It maybe using Lang-En.dll now... when I change the language to german, It should select the Lang-Ge.dll file and access the resources from it..
How can I access the aseembly on run time ?? Please Help me...

Note: Forgive my English

推荐答案

查看这些方法的可能方法。 。

Load-dll-library并且在运行期间运行代码 [ ^ ]

Csharp-dynamic-loading-ac-dll-at-run-time / [ ^ ]

动态加载dll-at-runtime / [ ^ ]

C#-load-dll-at-runtime / [ ^ ]

Can-i-load-a-net-assembly-at-runtime-and-instantiate-a-type-knows-only-the-na [ ^ ]
See possible ways from these..
Load-dll-library-and-run-code-within-during-runtime[^]
Csharp-dynamic-loading-of-a-c-dll-at-run-time/[^]
Load-dll-at-runtime-dynamically/[^]
C#-load-dll-at-runtime/[^]
Can-i-load-a-net-assembly-at-runtime-and-instantiate-a-type-knowing-only-the-na[^]


亲爱的Yesudasan Moses,

我遇到了同样的问题,你能帮帮我吗,对不起,因为我说英语不好。

非常感谢,
Dear Yesudasan Moses,
I got a problem same you, can you help me, sorry,because i speak english not well.
thank's very much,


这篇关于在C#Winform中运行时加载Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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