从 Silverlight Web 应用程序创建 .dll
我将虚拟键盘(屏幕键盘)编程为 Silverlight Web 应用程序,现在我想在其他 Silverlight 应用程序中使用此键盘(单击文本框时调用键盘)。我想我可以创建一个 .dll 并在我的其他应用程序中使用它。
那么是否可以从 Silverlight Web 应用程序创建 .dll 文件?
感谢您的阅读,
克努特·汉森
I programmed a Virtual Keyboard (On Screen Keyboard) as a Silverlight Web Application, now I want to use this Keyboard in an other Silverlight Application (call the Keyboard when clicking a Textbox). I thought I could create a .dll and use this in my other Application.
So is it possible to create a .dll File from a Silverlight Web Application?
Thank you for reading,
Knut Hansen
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您只需将其转换为 Silverlight 类库即可。有一些事情需要注意,但并不难。
这是在 Visual Studio 中创建新项目时的选项之一。
请参阅 Microsoft 的文档以获取更多信息:
http://msdn.microsoft.com/ en-us/library/cc838164(v=vs.95).aspx#silverlight_class_library_project
You simply need to convert it into a Silverlight Class Library. There are some things to look out for, but it isn't too hard.
It is one of the options when you create a new project in Visual Studio.
See Microsoft's documentation for more info:
http://msdn.microsoft.com/en-us/library/cc838164(v=vs.95).aspx#silverlight_class_library_project
你也可以想到一个网络服务,这样你的应用程序就可以被其他任何人使用,当然你可以指定你的应用程序的用户。我认为 Web 服务是最新的,使用它们更面向未来,试一试!
also you can think of a web service, in this way your application can be used by anyone else, of course you can specify users of your app. I think web services are more recent and using them is more future-oriented, give it a go!