简体   繁体   English

如何在我的.NET应用程序中集成小工具

[英]Howto integrate Gadgets in my .NET application

As there are those gadgets available for the Windows Vista Sidebar and for Windows 7, I'd really like to know if you can integrate those into your .NET app. 由于Windows Vista Sidebar和Windows 7都有可用的小工具,我真的很想知道你是否可以将它们集成到你的.NET应用程序中。 I want a similar feature and possibly use already existing gadgets into my app. 我想要一个类似的功能,并可能将现有的小工具用于我的应用程序。

Can it be done? 可以吗?

This is likely possible but is not going to be very easy. 这可能是可能的,但不会很容易。 You're application will need to do everything that the OS would normally do to host them, including parsing the gadget manifests, setting up a web container for each to run in, calling each gadget's event handlers correctly, etc. 您的应用程序将需要执行操作系统通常用于托管它们的所有操作,包括解析小工具清单,为每个运行中设置Web容器,正确调用每个小工具的事件处理程序等。

Basically, everything that a gadget is supposed to do to integrate with the OS, you'll need to support. 基本上,小工具应该与操作系统集成的一切,你需要支持。 See http://msdn.microsoft.com/en-us/library/aa965850%28v=VS.85%29.aspx 请参阅http://msdn.microsoft.com/en-us/library/aa965850%28v=VS.85%29.aspx

This is not a project for the faint of heart but would be pretty cool if you can get it to work. 对于胆小的人来说,这不是一个项目,但如果能让它发挥作用,那将是非常酷的。

Have fun! 玩得开心!

BTW, there is a W3C draft standard for widgets but it's not really practical yet. 顺便说一下,有一个针对小部件的W3C草案标准,但它还不是很实用。 See http://www.w3.org/TR/widgets/ 1 http://www.w3.org/TR/widgets/ 1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在.net windows窗体应用程序中将访问控制与我的ORM集成? - How to integrate access control with my ORM in a .net windows form application? 如何将 Fedex 集成到我的 asp.net 应用程序中? - How do I integrate Fedex into my asp.net application? 如何将 Prometheus 与 .NET Core 应用程序集成? - How to integrate Prometheus with .NET Core application? 与.net应用程序集成的正确pdf控件是什么? - What are the proper pdf controls to integrate with .net application? 将ASP.Net Core集成到WPF应用程序中 - Integrate ASP.Net Core into an WPF application 需要在我的Web应用程序中集成G​​oogle身份验证 - Need to integrate Google Authentication in my web application 如何将智能卡与我的C#应用​​程序集成? - How to integrate smartcard with my c# application? 如何在我的应用程序中集成实时Skype状态? - How to integrate live Skype status in my application? 将PaySimple集成到我的asp.net网站中 - Integrate PaySimple in my asp.net website 如何在 Visual Studio 2019 中调试 .NET 5 WinForms 应用程序,该应用程序引用 .NET Framework 4.8 class 库 - Howto debug .NET 5 WinForms application that references .NET Framework 4.8 class library in Visual Studio 2019
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM