Sei sulla pagina 1di 1

DEPARTMENT OF COMPUTER SCIENCE &ENGINEERING

Doc No.: CEMK/CSE/4th/CS-492/01


SOFTWARE TOOLS LAB ASSIGNMENT- 1 Issue Date : 01/01/2018
LAB
Page 1 of 1

1. Design a VB form with the following objects and run the code as per the design. This
form should have caption name ”Welcome” and it contains two labels , one textbox and
three command buttons. First label should contain “Enter your name”. Textbox for
entering the name and second label should show the message “Hello! <name> , have a
nice day!!” when “GO” button will press. “Clear” button will clear the textbox and
“End” button should close the form. Initially visible property of second label is false.
When “GO” buttons is pressed then visibility of first label is false and second label
visibility is true.

2. Design a VB form with the following objects and run the code as per the design. This
form should have caption name “Arithmetic Operation” and it contain three labels,
three textboxes and three command buttons. First label should contain “First No” ,
second label should contain “ Second No” and third label contain “ Result” . First two
textboxes for entering the input data and third textbox for showing resultant value.
The result will show when “ADD” button will press. “Clear” button will clear all the
textboxes and “End” button should close the form.

3. Design a VB form with the following objects and run the code as per the design. This
form should have caption name “SWAP” and it contains two labels, two textboxes and
three command buttons. First label should contain “First No” , second label should
contain “ Second No”. Textboxes for entering the values. When “Submit” button
will press values are swapped between them “Clear” button will clear the textboxes and
“End” button should close the form.

4. Design a VB form with the following objects and run the code as per the design. This
form should have caption name “Square and Shape” and it contain three labels, two
textbox and three command buttons. First label should contain “Enter No” , second
label should contain “ Square No” and third label contain “ Display Shape” . First
textbox for entering the input data and second textbox for showing resultant value.
The result will show when “Calculate” button will press. “Click” button will show the
desired shape as per the properties of shape and “End” button should close the form.
Initially shape is not visible to running window, when “Click” button will press in that
time proper shape will be shown.

College of Engineering & Management, Kolaghat Prof. S.De, Dept. of CSE

Potrebbero piacerti anche