[英]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.