Question: Question: 1. (5 marks) Create a VB.NET Windows Form Application that does the following: (1) Display two textboxes and a button. The user is expected
Question: 1. (5 marks) Create a VB.NET Windows Form Application that does the following: (1) Display two textboxes and a button. The user is expected to input a students A-number into the first textbox and input a name into the second textbox. (2) Display a message XXXXXXs student A-number is A######## below the button after the user inputs and clicks the button, where XXXXXX and A######## should be the inputted name and A-number respectively. Print your Form1.vb source code. Do NOT print/submit the user interface.
2. (5 marks) Create a VB.NET Windows Form Application that does the following: (1) Display an interface, which includes a textbox and a button, for the user to calculate the HST and total price of a textbook. The user is expected to input a price of a textbook into the textbox. (2) After the user inputs and clicks the button, A. Check if the user inputs a numeric value in the textbox using the IsNumeric(...) function. B. Display a message Please input the numeric price below the button if the users input in the textbox is not a number. C. Display two messages below the button if otherwise. One message starts with HST: followed by the value of the HST which is 15% of the users input in the textbox. The other message starts with Total: followed by the total price which is the sum of the HST and the users input in the textbox.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
