Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
C# ПІДРУЧНИКИ / c# / Manning - Windows.forms.programming.with.c#.pdf
Скачиваний:
108
Добавлен:
12.02.2016
Размер:
14.98 Mб
Скачать

using a Web Browser such as Internet Explorer, where the user has more control over which pages are displayed.

This completes our example wrapping the Web Browser ActiveX control as a Windows Forms control. It also completes this chapter as well as the book.

In keeping with tradition, we provide a final recap of the topics covered in this chapter.

18.5RECAP

This chapter presented an overview of various topics in Windows Forms application development. Each topic was discussed very briefly, and we demonstrated each feature with an example that extended the MyPhotos MDI application built in chapter 16.

The specific topics covered included printing from an application, using Windows Forms timers, dragging and dropping objects into and out of an application, and hosting an ActiveX control within a Windows Forms program. On the final topic, we illustrated this feature by embedding a Web Browser control within an AboutBox form displayed by our application.

Along the way we also illustrated some classes not previously discussed, notably the TrackBar and LinkLabel controls. More details on these as well as the other topics in this chapter are available in the online documentation for the .NET Framework.

If you have read this book from cover to cover, then congratulations. Regardless of how you came to this sentence, the appendices include some reference material on C# and .NET namespaces, as well as class hierarchy charts for the Windows Forms namespace.

Good luck with your programming endeavors. May your code always compile and applications never fail.

RECAP

635

A P P E N D I X A

C# primer

A.1 C# programs 638

A.2 Types 639

A.3 Language elements 654

A.4 Special features 667

This appendix provides an introduction and reference to the C# programming language. If you are looking for a detailed description of C#, there are a number of resources listed in the bibliography that provide this kind of coverage. If you are familiar with object-oriented programming or with C-based languages such as C++ or Java, then this appendix will get you started and serve as a quick reference for terms and keywords you encounter in this book and elsewhere.

You will also discover that many of the terms and keywords presented here are discussed in detail in the text. A reference to one or more of these locations is provided for many of the topics shown here. These are also indexed at the back of the book.

This appendix will approach C# in a somewhat formal manner. We will discuss the following topics:

The organization of a C# program.

The types and type members available in the language.

The formal elements of the language, including built-in types, operators, and keywords.

Special features of C#, such as arrays and automated documentation.

637

Соседние файлы в папке c#