Private Sub Course_SelectedIndexChanged_1(sender As Object, e As EventArgs) Handles Course.SelectedIndexChanged If Course.Text = "Microsoft" Then Type.SelectedItem = ("Windows Server") Category.SelectedItem = ("All Windows Server Exams") ElseIf Course.Text = "Cisco Associate" Then Type.SelectedItem = ("Cisco CCNA") Category.SelectedItem = ("All CCNA Exams") ElseIf Course.Text = "Cisco Professional" Then Type.SelectedItem = ("Cisco CCNP") Category.SelectedItem = ("All CCNP Exams") ElseIf Course.Text = "CompTIA Hardware" Then Type.SelectedItem = ("CompTIA A+") Category.SelectedItem = ("CompTIA A+") ElseIf Course.Text = "CompTIA Security" Then Type.SelectedItem = ("CompTIA Sec+") Category.SelectedItem = ("CompTIA Sec+") End If End Sub Private Sub NQ_TextChanged(sender As Object, e As EventArgs) Handles NQ.TextChanged If NQ.Text < 100 Or NQ.Text = 0 Then ElseIf NQ.Text > 100 Then MessageBox.Show("Maximum question is 100") ElseIf IsNumeric(NQ.Text) Then End If End Sub Private Sub TPQ_TextChanged(sender As Object, e As EventArgs) Handles TPQ.TextChanged Dim seconds As Double seconds = 30 TPQ.Text = seconds & " seconds" End Sub Private Sub ET_TextChanged(sender As Object, e As EventArgs) Handles ET.TextChanged End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)