windows forms in action 2nd edition

841 8.4K 10
windows forms in action 2nd edition

Đ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

[...]... and binding sources 637 22.1 Binding lists 638 The IBindingList interface 638 22.2 Editable objects ✦ Creating a binding list 640 643 The IEditableObject interface object 644 22.3 Simple data binding 644 ✦ Creating an editable 647 The BindingSource class 648 ✦ Altering the MyAlbumData application 650 ✦ Performing simple binding 652 Updating data bound controls 656 ✦ Binding navigators 660 22.4 Recap... direction and focus for writing a book This book focuses on the System .Windows. Forms namespace, affectionately known as Windows Forms Windows Forms applications are programs executed by the Windows operating system Such programs employ the user interface features familiar to Windows desktop users everywhere The book attempts to provide a methodical approach to Windows Forms Most types defined by this namespace... readers in mind: • Windows programmers interested in developing desktop applications with NET • Developers familiar with NET or C# interested in learning more about Windows Forms classes and programming • C++ programmers with little or no experience creating Windows applications xxviii ABOUT THIS BOOK The first edition of this book was also found useful by Visual Basic and Java programmers interested in. .. Windows Forms controls 43 The AssemblyInfo file 43 The Toolbox window 46 2.3 Loading files ✦ Renaming a form 52 Handling events in Visual Studio 2.4 Resizing forms Part 2 52 ✦ Handling exceptions 56 58 Assigning the Anchor property property 60 2.5 Recap 46 58 ✦ Assigning the Dock 61 Basic Windows Forms 63 3 Menus 67 3.1 Controls and containers Control classes 68 ✦ 3.2 The nature of menus Menu terminology... ends NET 23.1 Printing 665 666 Using the print classes 23.2 Drag-and-drop 667 ✦ Drawing a print page 669 673 Initiating drag-and-drop 674 ✦ Receiving drag-and-drop 676 23.3 Web browsing 679 Creating an about box 680 Browse to a web site 683 23.4 Application settings ✦ The WebBrowser class 682 686 Storing the Location setting setting 690 686 ✦ Defining a custom xvii 23.5 Deployment 691 Creating a setup... the classes in the Windows Forms namespace The development of the MyPhotos application built in chapter 2 continues, shown in figure 2 as it appears in chapter 16 As you can see, part 2 covers xxvi ABOUT THIS BOOK Figure 1 The MyPhotos application as it appears in part 1 the core user interface components required to build Windows Forms applications, including menu and status strips, dialog windows, text... C# terminology, how a Windows Forms application is executed by the NET Framework, and the structure of a Windows Forms program in C# In chapter 2 we begin using Visual Studio, Microsoft’s graphical development environment for creating applications in the NET Framework This chapter recreates the application constructed manually in chapter 1 We call this application MyPhotos Part 2: Basic Windows Forms. .. diagram of the Windows Forms namespace, and includes a reference to the table or section where each class or other type is discussed ROADMAP The book contains 23 chapters organized into three parts Part 1: Hello Windows Forms The first part of the book introduces fundamental concepts behind C# in general and Windows Forms specifically Chapter 1 creates an application similar to figure 1 using a text editor... the entry point 579 20.2 Merged menus ✦ Creating an MDI child 581 Assigning merge actions 583 ✦ Assigning merge indexes Opening and closing child forms 587 20.3 MDI children 578 584 589 Merging tool strips 590 ✦ Displaying pixel data 594 Opening an album twice 599 ✦ Updating the title bar 600 xvi 20.4 MDI child window management Arranging MDI children list menu 605 20.5 Recap 603 602 Displaying an MDI... I am also much happier with the index, which I’m sure you’ll find easier to use than in the first edition Another big change between the first and second editions of this book is the title This edition has been renamed Windows Forms in Action to differentiate it from other books and to work with Manning’s new in Action titling theme The Action- Result table format used throughout this book lends itself . alt="" Windows Forms in Action Windows Forms in Action Second Edition of Windows Forms Programming with C# ERIK BROWN MANNING Greenwich (74° w. long.) For online information and ordering. love vii brief contents Part 1 Hello Windows Forms 1 1 Getting started with Windows Forms 3 2 Getting started with Visual Studio 33 Part 2 Basic Windows Forms 63 3Menus 67 4 Context menu and. Advanced Windows Forms 475 17 Custom controls 477 18 Explorer interfaces and tree views 507 19 List views 541 20 Multiple document interfaces 575 21 Data binding 608 22 Two-way binding and binding

Ngày đăng: 28/04/2014, 15:35

Từ khóa liên quan

Mục lục

  • Windows Forms in Action, Second Edition

    • preface

    • preface to the first edition

    • acknowledgments

    • about this book

    • what’s new in 2.0

    • PART 1 Hello Windows Forms

      • Getting started with Windows Forms

        • 1.1 Programming in C#

          • 1.1.1 Namespaces and classes

          • 1.1.2 Constructors and methods

          • 1.1.3 C# types

          • 1.1.4 The Main method

          • 1.1.5 The Application class

          • 1.1.6 Program execution

          • 1.2 Windows Forms controls

            • 1.2.1 The using directive

            • 1.2.2 The Control class

            • 1.2.3 The Controls property

            • 1.3 Loading files

              • 1.3.1 Events

              • 1.3.2 The OpenFileDialog class

              • 1.3.3 Bitmap images

              • 1.4 Resizing forms

                • 1.4.1 The Anchor property

                • 1.4.2 The Dock property

                • 1.5 Recap

Tài liệu cùng người dùng

Tài liệu liên quan