TAILIEUCHUNG - Manning Windows Forms Programming (phần 3)
Tham khảo tài liệu 'manning windows forms programming (phần 3)', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | PART 2 Basic Windows Forms If you have actually read part 1 of this book then you have a good idea where we are going here. Chapter 2 constructed our program using Visual Studio .NET and extended the discussion of the .NET architecture and Windows Forms programming provided in chapter 1. Here we pick up where chapter 2 left off and provide a somewhat systematic discussion of basic Windows Forms development. The goal here is to cover the essential concepts and classes needed in most Windows Forms applications. Following our practice in chapter 2 the complete steps required to create each example are provided. For the most part the MyPhotos application is used throughout the book. In a couple places we create alternate applications to provide variety and because I felt the topics were better presented separately. For all applications the code used for each section in the book is available on the book s web site at eebrown. Follow the instructions and links to the version number corresponding to the desired section in order to retrieve the appropriate files. We begin this part of the book with chapter 3 on Menus and add various types of menus to the MyPhotos application. This chapter also presents the foundations of the Windows Forms class hierarchy and the handling of events in Visual Studio .NET. By the end of this chapter our application will be able to load a photographic image from disk and display it in various ways within the main window. Chapter 4 covers Status bars containing both simple text and a set of panels. A status bar is used to provide feedback to the user during potentially long operations and to summarize what is displayed in the main window. An introduction to the .NET drawing interface is presented by way of a custom status bar panel. Chapter 5 on Reusable libraries steps out of Windows Forms momentarily to create a reusable photo album library. This chapter discusses collection classes in .NET and the concept of interfaces. A .
đang nạp các trang xem trước