BIT 2118: APPLICATION PROGRAMMING I ~ LAB WORK 1
Design a Visual Basic application that consists of the following forms as shown below
Form One
Welcoming Form
Load Object Demo EXIT
Tasks:
1. Design the following GUI and assign the appropriate name and text properties to
the controls and form
2. Write the code to perform the following:
• Load and display form “Object Demonstrations” on click of the button
Load Object Demo
• Terminate the application on click of the Exit Command button
• Maximize the form on clicking the form and change background colour to
RED
• Assign appropriate tooltips to the buttons
1
Form Two
1. Design the following GUI and assign the various appropriate properties for
controls and form
2. Write the code to perform the intended task
Object Demonstrations
Display Test
Font
Sample Test Garamond Magneto Tahoma
Font Style Font Color
Green
Italic
Bold Blue
Bold Italic
Red
Load Picture Exit
Image Control
Used to unload the
form back to the
Textbox control welcoming form
Button, used to load a picture when the button is
from the hard disk of the
clicked
computer and display it in the
picture box control of the
form when it is clicked.
Used to change the various properties of “Sample Text” text
in the textbox i.e. font color or font styles