In this exercise, you modify the Warren Fire Department application created in Lesson Bs Exercise 1. a.

Question:

In this exercise, you modify the Warren Fire Department application created in Lesson B’s Exercise 1.

a. Open the VB2015\Chap01\Warren Solution\Warren Solution (Warren Solution.sln) file. If necessary, open the designer window.

b. Delete the Exit button from the form and then delete the button’s code from the Code Editor window.

c. Add a timer control to the form. Change the timer’s name to tmrExit. Set the timer’s Enabled property to True. The timer should end the application after eight seconds have elapsed; set the appropriate property. Enter the Me.Close() instruction in the appropriate event procedure in the Code Editor window.

d. Save the solution and then start the application. When eight seconds have elapsed, the application ends.

e. Add a label control to the form. Position the label below the picture box. Change the label’s Text property to “Warren Fire Department” (without the quotation marks). Change its font size to 16pt. Center the label horizontally on the form.

f. Set the form’s FormBorderStyle property to FixedSingle. Also, remove the elements (icon and buttons) and text from the form’s title bar.

g. Save the solution and then start the application. Close the Code Editor window and then close the solution.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: