Open the MessageBox Value Solution (MessageBox Value Solution.sln) file contained in the VB2015Chap04MessageBox Value Solution folder. Open

Question:

Open the MessageBox Value Solution (MessageBox Value Solution.sln) file contained in the VB2015\Chap04\MessageBox Value Solution folder. Open the Code Editor window. When the Hours worked text box receives the focus, its existing text should be selected. The text box should accept only numbers, the period, and the Backspace key. Before displaying the gross pay, the btnCalc_Click procedure should ask whether the user wants to include a dollar sign in the gross pay amount. Use the MessageBox.Show method with Yes and No buttons. If the user clicks the Yes button, the procedure should display the gross pay amount using the “C2” format; otherwise, the amount should be displayed using the “N2” format. Test the application appropriately.

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

Step by Step Answer:

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