编写小工具的 C# 教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1171588/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
C# tutorial to write gadgets
提问by George2
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.
如何使用 C# 和 Visual Studio 2008 为 Windows 7 桌面编写小工具?我正在寻找有关该主题的教程和资源。
采纳答案by Leftium
Try Authoring Sidebar Gadgets in C#.
C# is not the only option. This detailed tutorialexplains how to develop gadgets without C#. (Orginally gadgets were authored in a mix of XML, HTML, CSS, and some IE scripting language.)
C# 不是唯一的选择。这个详细的教程解释了如何在没有 C# 的情况下开发小工具。(最初的小工具是用 XML、HTML、CSS 和一些 IE 脚本语言混合编写的。)
How to get started with Windows 7 gadgetsis a related Stack Overflow question that may also provide additional information.
如何开始使用 Windows 7 小工具是一个相关的堆栈溢出问题,它也可能提供其他信息。
回答by aschoenebeck
I have not tried it myself, but this might help:
我自己没有尝试过,但这可能会有所帮助:
回答by Steav
Gadget-creation, calling your .NET-code via Interop: http://www.codeproject.com/KB/gadgets/GadgetInterop.aspx
小工具创建,通过 Interop 调用您的 .NET 代码:http: //www.codeproject.com/KB/gadgets/GadgetInterop.aspx
nice & powerful with good example
好的和强大的好例子