9. Components
Packaging code into classes is an effective way to promote code reuse and save coding effort. VS05 and the Windows Forms Designer take this one step further by providing an infrastructure that trades a programmatic experience f...
Components Defined
A component is a class that implements the IComponent interface, located in the System.ComponentModel namespace. Any class that implements IComponent can be integrated with a componenthosting environment, such as VS05. In this w...
Using Components
After a component is dropped onto a form, you can use it just like any regular class. For example, imagine that you'd like users to be able to set an alarm in your application and be notified when it goes off. You can easily imple...
Creating Custom Components
Although the .NET Framework offers a wide variety of standard components, it can't possibly cover every scenario where a component makes sense. When you need a component that's beyond the scope of the intrinsic .NET Fram...
Where Are We?
Custom components are a great way to package reusable Windows Forms code that typically doesn't have a UI or handle user input. Creating a custom component is much like creating a standard class, except that components come with bu...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.