You can start with Dissecting A C# Application which goes into many aspects of creating SharpDevelop, C# IDE written in .NET. This covers many aspects of the designer architecture and it is free in a PDF. However, the PDF is hard to find (original links no longer work, but I believe this is a valid copy).
While that will get you started on the ins and outs of the designer, it probably doesn't go into detail on some of the more interesting features such as actions and tasks. For this, MSDN has some extensive information and examples (it didn't used to).
Finally, I find the best resource to be .NET Reflector. Using this tool to look at how Microsoft has done it in various places within the framework has been a great learning exercise when working in design-time support areas. Find a control that does what you want and then go see how it does it.
All of these resources are free, however your time is not. I have found that design-time support can be a breeze in some areas but a complete nightmare in others. Good luck.
发布评论
评论(1)
您可以从剖析 AC# 应用程序开始,它涉及创建 SharpDevelop 的许多方面,用 .NET 编写的 C# IDE。 这涵盖了设计器架构的许多方面,并且以 PDF 形式免费提供。 然而,PDF很难找到(原始链接不再有效,但我相信这是一个有效的副本)。
虽然这将使您开始了解设计器的细节,但它可能不会详细介绍一些更有趣的功能,例如操作和任务。 为此,MSDN 有一些广泛的信息和示例(它没有过去)。
最后,我发现最好的资源是 .NET Reflector。 使用此工具来查看 Microsoft 如何在框架内的各个地方完成此操作,这是一次很好的学习练习在设计时支持领域工作。 找到一个可以实现您想要的功能的控件,然后看看它是如何实现的。
所有这些资源都是免费的,但您的时间不是免费的。 我发现设计时支持在某些领域可能是轻而易举的事情,但在其他领域却是一场噩梦。 祝你好运。
You can start with Dissecting A C# Application which goes into many aspects of creating SharpDevelop, C# IDE written in .NET. This covers many aspects of the designer architecture and it is free in a PDF. However, the PDF is hard to find (original links no longer work, but I believe this is a valid copy).
While that will get you started on the ins and outs of the designer, it probably doesn't go into detail on some of the more interesting features such as actions and tasks. For this, MSDN has some extensive information and examples (it didn't used to).
Finally, I find the best resource to be .NET Reflector. Using this tool to look at how Microsoft has done it in various places within the framework has been a great learning exercise when working in design-time support areas. Find a control that does what you want and then go see how it does it.
All of these resources are free, however your time is not. I have found that design-time support can be a breeze in some areas but a complete nightmare in others. Good luck.