1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Winform C lập trình ứng dụng

755 1.6K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Winform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụngWinform C lập trình ứng dụng

[...]... required The Container class encapsulates the container concept, with the IContainer interface defining the members required by all containers A control is a component with a visual aspect In the Windows Forms namespace, a control is a component that presents a graphical interface on the Windows desktop The Windows Forms Control class, discussed in chapter 4, is the basis for all Windows Forms controls... objects are all components, and are treated in a special manner by the Form class itself The controls in the Windows Forms namespace are discussed throughout the book Many of the more common controls appear in chapter 9, “Basic controls,” chapter 10, “List controls,” chapter 11, “More controls,” and chapter 13, “Tool bars and tips.” Advanced controls such as list views, tree views, and data grids are covered... 121 125 5 Reusable libraries 126 5.1 C# classes and interfaces Interfaces 127 128 ✦ Data collection classes 129 5.2 Class libraries 133 Creating the class library 134 ✦ Using the command-line tools 138 ✦ Creating the PhotoAlbum class 139 Creating the Photograph class 141 5.3 Interfaces revisited 145 Supporting the ICollection interface 146 Supporting the IList interface 146 Implementing album position... StatusBar class, which is a control Status bars are the subject of chapter 4 Controls may also be containers in that they may contain a set of controls or components The StatusBar class is a container for zero or more StatusBarPanel components One of the more important container controls is the Form class, which represents an application window for display on the Windows desktop The Form class is introduced... SizeModeChanged Occurs when the value of the SizeMode property changes Note the following features of these tables: • An initial paragraph defines the purpose of the class, the namespace that contains the class, and the base class If the namespace containing the base class is not indicated, then it can be found in the same namespace containing the described class If the base class is not indicated,... which defines the members supported by all components We discuss interfaces in chapter 5, and the Component class in chapter 3 A container is an object that can hold zero or more components A container is simply a grouping mechanism, and ensures that sets of components are encapsulated and manipulated in similar ways Containers are used throughout the Windows Forms namespace whenever a group of objects... www.manning.com/eebrown for instructions on downloading this source code AUTHOR ONLINE Free access to a private Internet forum, Author Online, is included with the purchase of this book Visit the web site for detailed rules about the forum, to subscribe to and access the forum, to retrieve the code for each chapter and section, and to view updates and corrections to the material in the book Make comments,... namespace specifically, namely components, containers, and controls The book covers these terms in detail, so this section will provide only a brief introduction and a few examples A component is an object that permits sharing between applications The Component class encapsulates this notion, and is the basis for most of the members of the Windows Forms namespace Also of note is the IComponent interface,... namespace for file and directory related objects, the System.Data namespace for database-related objects, the System.Drawing namespace for graphical objects, and the System.Security namespace for security objects An overview of the more commonly used namespaces in NET is provided in appendix B THE WINDOWS FORMS NAMESPACE In addition to imposing structure on the vast collection of objects supported by the... fundamental concepts behind C# in general and Windows Forms specifically Chapter 1 creates the application shown in figure 1 using a text editor We discuss how a Windows Forms application is executed by the NET Framework, and how a Windows Forms program is structured in C# In chapter 2 we begin using Visual Studio NET, the graphical development environment from Microsoft for creating applications in

Ngày đăng: 20/11/2014, 23:13

Xem thêm: Winform C lập trình ứng dụng

TỪ KHÓA LIÊN QUAN

Mục lục

    Part 1 Hello Windows Forms1

    Part 2 Basic Windows Forms67

    Part 3 Advanced Windows Forms437

    The Windows Forms namespace

    Part 1: Hello Windows Forms

    Part 2: Basic Windows Forms

    Part 3: Advanced Windows Forms

    Who should read this book?

    about the cover illustration

    Getting started with Windows Forms

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w