doing objects in visual basic 2005

548 867 0
doing objects in visual basic 2005

Đ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

[...]... Binding the User Interface to the Business Objects 357 What Does This Chapter Cover? Understanding Object Binding Object Binding Versus Data Binding Using Object Binding Configuring a Data Source Creating a Data Source Adding Properties to a Data Source Hiding... Visual Basic 2005 still allows you to create modules, and it provides default form instances Thus, you can still pretend to code without objects So why make the move to using object-oriented techniques in your Visual Basic applications? ■ ■ ■ ■ Objects help you think about an application in terms of real-world things, aiding in the design process Objects define all their data and processing in one programming... architecting, designing, and developing successful applications She has authored several books, including the Doing Objects in Visual Basic series (Sams), Best Kept Secrets in NET (Apress), and Doing Web Development: Client-Side Techniques (Apress) She also writes for MSDN and CoDe magazine (http://www.code-magazine.com/) Deborah speaks at NET user groups all over the country as a member of the INETA... Building an MDI User Interface Creating an MDI Parent Form Creating an MDI Child Form Accessing MDI Child Forms Additional User Interface Techniques Saving User and Application Settings Using a Settings Key to Define Settings per Form Drawing Graphics Printing Handling... techniques such as building master/detail classes Chapter 7, “Binding the User Interface to the Business Objects : Visual Studio provides enhanced features for binding your user interface elements to business object properties This chapter describes binding and details how to perform object binding It also covers how to write code to validate user-entered values Chapter 8, “Building the Data Access Layer”:... of Visual Basic 2005, Visual Studio 2005, and the NET Framework It makes no assumptions about your experience with NET It provides tips for experienced NET developers and those new to NET There are even some tips specifically for developers moving from VB6 to NET xix xx Preface Why Do Objects? Everything in NET is basically an object You cannot really do anything in NET without doing objects But Visual. .. “Introduction to OO in NET”: Basic object-oriented terminology and concepts are covered in this first chapter, including specifics on how these concepts are realized in Visual Basic It also provides an in- depth discussion about the benefits of an objectoriented approach Chapter 2, “Designing Software”: When designing an application, you have many design aspects to consider, such as user interface, business objects, ... 307 Using Class Designer 308 Creating a Class Diagram 308 xiv Contents Adding Items to the Designer Defining Inheritance Defining Properties and Methods Using Object Test Bench Using Code Snippets Inserting Code Snippets Managing Code Snippets Understanding Code Snippets Building... xv Contents Binding to Grids Binding to a Grid Specifying a Read-Only Grid Modifying Grid Columns Displaying Related Object Properties Binding to Combo Boxes Binding a Combo Box for Data Entry Binding a Combo Box for Programmatic Use Handling User Entry Errors Displaying an Error ... and base business object classes Common code resides in these base classes and not within every form or code file This can drastically reduce the amount of code you have to write, test, and maintain Objects allow you to work with other high-productivity features in NET, such as object binding This book expands on these topics to help you know when, how, and why to do objects in Visual Basic 2005 Who Should . Praise for Doing Objects in Visual Basic 2005 Doing Objects in Visual Basic 2005 is one of the few books that I’ve seen that lays the proper object-oriented foundation to make new Visual Basic. NET. trying to make that jump, reading this will enable you to do so with minimal pain.” —Robin Shahan, VB Developer DOING OBJECTS IN V ISUAL BASIC 2005 This page intentionally left blank DOING OBJECTS. VB6 veterans successful in moving to the .NET Framework.” —Paul Ballard, President, Rochester Consulting Partnership, Inc. “Deborah Kurata’s Doing Objects in Visual Basic 2005 is salvation for

Ngày đăng: 01/06/2014, 01:21

Từ khóa liên quan

Mục lục

  • Doing objects in Visual basic 2005

    • Contents

    • Preface

    • Foreword

    • Chapter 1: Introduction to OO in .NET

      • What Is OO?

      • Introduction to Object-Oriented Concepts

        • What Are Objects?

        • What Are Scenarios?

        • What Are Classes?

        • What Is Inheritance?

        • What Is an Interface?

        • What Is a Namespace?

        • The Basic Elements of an Object-Oriented System

          • Abstraction: Focusing on What Is Important

          • Encapsulation: Hiding Your Private Parts

          • Inheritance: Attaining Reuse

          • Polymorphism: Same Behavior, Different Implementation

          • Object Orientation as a Process

            • OOA: Analysis or Domain Model

            • OOD: Design Model

            • OOP: Programming

            • Benefits of an Object-Oriented Approach

              • Speaking the Same Language

              • Devising Real-World Models

              • Estimating How Long It Will Take

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

  • Đang cập nhật ...

Tài liệu liên quan