C# tutorial to write gadgets

2019-01-11 07:13发布

问题:

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