Lab Assignment 1
Objective: To familiarize yourself with the use of Textboxes, Labels and Buttons.
Application: Create an application that looks like the picture below. This application should do the following: When the user enters his/her name into the textbox txtName and clicks the button btnClick the name typed in by the user into textbox txtName is displayed on the label lblName.
Object Type | Object Name | Function |
Textbox | txtName | It is used by the user to enter his/her name. |
Button | btnClick | When clicked it displays the text in the textbox txtName on the label lblName |
Label | lblName | It is used to display the text entered by the user in textbox txtName. |
Working
1. The user enters his/her name into the textbox txtName.
2. The user clicks on the button btnClick.
3. The name is displayed in the label lblName.