Question: Use Visual Basic to create a GUI for a clock. Adding Buttons to the Form. Add 3 Buttons to the Form. (Hours, Minutes and seconds)
Use Visual Basic to create a GUI for a clock.
Adding Buttons to the Form. Add 3 Buttons to the Form. (Hours, Minutes and seconds)
1. When you bring up the program, the time of the Clock is set to the system time.
2. When you click one on the Hour button, the number of hours on the Clock will be increased by one, if two it will be increased by two and so forth.
3. When you click one on the Minute button, the number of minutes on the Clock will be increased by one, if two it will be increased by two and so forth.
Step by Step Solution
3.31 Rating (154 Votes )
There are 3 Steps involved in it
Public Class Form1 Dim currentHour As Integer Dim currentMinute As Integer Dim currentSecond As Inte... View full answer
Get step-by-step solutions from verified subject matter experts
