Ass 2 App Programming
Ass 2 App Programming
This is the interface showing the design view, I used a Label to enter the program heading and the used
the combo box for units selection, then the button to register the units.
When we run the program here is how we registered for the six units.
' Check if the selected unit is already registered or if prerequisites are not
met
Dim selectedUnit As String = ComboBox1.SelectedItem.ToString()
If unitsRegistrationStatus(selectedUnit) Then
MsgBox("You have already registered for this unit.")
Exit Sub
End If