8.7. Conclusion

In this chapter we have learned about Windows forms and several classes included in the System.Windows.Forms namespace.

We started this chapter with a discussion of the minimal Windows forms application and then we covered such basic classes as Component, Control, Scrollable Control, and ContainerControl, from which the Form class is derived. Then we learned about the Form class, which serves as a base class for windows, and discussed the different roles it can play in applications.

We have seen the different events that occur during a Windows form’s lifetime, caused by a user’s actions. We discussed how to handle mouse, keyboard, and system events.

Next, we discussed dialog and message boxes.

We learned about the Application ...

Get A Programmer's Guide to .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.