How can I write gadgets for the Windows 7 desktop using C# and Visual Studio 2008? I'm looking for tutorials and resources on that topic.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try Authoring Sidebar Gadgets in C#.
C# is not the only option. This detailed tutorial explains how to develop gadgets without C#. (Orginally gadgets were authored in a mix of XML, HTML, CSS, and some IE scripting language.)
How to get started with Windows 7 gadgets is a related Stack Overflow question that may also provide additional information.
回答2:
Gadget-creation, calling your .NET-code via Interop: http://www.codeproject.com/KB/gadgets/GadgetInterop.aspx
nice & powerful with good example
回答3:
I have not tried it myself, but this might help:
http://www.codeproject.com/KB/gadgets/RunVistaGadget2.aspx