Page 74 - Programming VB.NET
P. 74

70                            Chapter 7: Exceptions Handling


               Table 7.1 Plan the Objects and Properties
               Object                 Property


               Button1                Name:btnzero


                                      Text: DIVIDE BY ZERO

               Button2                Name: btnoverflow


                                      Text:  OVERFLOW


               TextBox1               Name:txtnum1

                                      Text: -


               TextBox2               Name:txtnum2


                                      Text: -




               Table 7.2 Plan the Event Procedures
                   Procedure                Action


                   btnzero                  View divide by zero
                                            exception


                   btnoverflow              View overflow
                                            exception
   69   70   71   72   73   74   75   76   77   78   79