Exercise 9 public class form1 is based on exercise 9 exercise 9. In this exercise, a button is used to display a time value in a text box. The button is then used to display the time in an hour format.
Exercise 9 public class form1 is based on exercise 9 exercise 9. In this exercise, a button is used to display a time value in a text box. The button is then used to display the time in an hour format.
Exercise 9 public class form1 is based on exercise 9 exercise 9. In this exercise, a button is used to display a time value in a text box. The button is then used to display the time in an hour format.
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged Me.Label2.Text = Nothing Me.Label1.Text = Val(TextBox1.Text) * 60 Me.Label3.Text = "minutes to seconds" End Sub Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged Me.Label2.Text = Val(TextBox1.Text) \ 60 Me.Label1.Text = Val(TextBox1.Text) Mod 60 Me.Label3.Text = "time in hour format" End Sub End Class