Page 88 - Programming VB.NET
P. 88

84                                       Chapter 9: OOP


               9.1 Classes, Objects, Properties And Methods



                                       •An approach to
                                        programming that uses
                          OOP           class to define the
                                        properties and methods
                                        for objects.


                          Class:       •a pattern or blueprint used
                                        to create an object


                                       •an encapsulation  of data
                         Object         and procedures that act on
                                        that data

                                       •characteristics that
                       Properties       describe the object


                                       •operations that the object
                        Methods         is capable of performing




               9.2 Object Oriented Application


                   Step 1: Design the interface as shown in Figure 9.1
                   Step 2: On the Visual Studio Project menu, select

                   Add Class. The Add Class dialog box appears as
   83   84   85   86   87   88   89   90   91   92   93