chap10 - Chapter 10 VB.NET GUI Components Overview...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Object-Oriented Application Development Using VB .NET 1 Chapter 10 VB .NET GUI Components Overview
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Object-Oriented Application Development Using VB .NET 2 Objectives In this chapter, you will: Learn about the GUI classes in VB .NET Understand the code generated by VB .NET Handle VB .NET events Work with additional GUI controls
Background image of page 2
Object-Oriented Application Development Using VB .NET 3 Introducing the GUI Classes in VB .NET Form Instance of the Form class Consists of GUI controls, such as Buttons Labels Text boxes Check boxes Radio buttons Tab pages Menu items Form class Member of the System.Windows.Forms namespace
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Object-Oriented Application Development Using VB .NET 4 Introducing the GUI Classes in VB .NET
Background image of page 4
Object-Oriented Application Development Using VB .NET 5 Introducing the GUI Classes in VB .NET Component class Base class for all GUI components An instance of a component does not have a visible, graphical representation Control class A subclass of Component An instance of a control has a visible, graphical representation
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Object-Oriented Application Development Using VB .NET 6 Understanding the Code Generated by VB .NET Actions involved in visual programming Creating a form Setting properties of the form Adding controls and components to the form Setting properties of controls and components Adding the code to handle events As the programmer adds controls and modifies properties, VB .NET generates the code
Background image of page 6
Object-Oriented Application Development Using VB .NET 7 Exploring the FormDemo Program FormDemo program Contains A label A button When the button is pressed, a message box appears
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Object-Oriented Application Development Using VB .NET 8 Exploring the FormDemo Program FormDemo class An instance of Form Inherits methods from ContainerControl ScrollableControl Control Component
Background image of page 8
Object-Oriented Application Development Using VB .NET 9 Exploring the FormDemo Program FormDemo class definition Specifies that the FormDemo class inherits from the Form class Defines the constructor Defines the Dispose method Dispose method is a destructor Releases system resources when the program ends
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Object-Oriented Application Development Using VB .NET 10 Exploring the FormDemo Program FormDemo class definition (Continued) Declares an instance of the IContainer class IContainer: an interface that provides functionality for containers Container: an object that holds other components Declares controls that were created visually in Design window
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/07/2008 for the course CSC 208 taught by Professor Walker during the Spring '06 term at Monroe CC.

Page1 / 36

chap10 - Chapter 10 VB.NET GUI Components Overview...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online