In this exercise, you create an application that displays the names of the students earning a specific grade.
a. Open the Grade Solution (Grade Solution.sln) file contained in the ClearlyVB2012 Chap19Grade Solution folder. The interface provides a text box for the user to enter a letter grade. The text boxâ€™s MaxLength property is set to 1.
b. Open the Code Editor window. The txtGrade control should accept only the following letters and the Backspace key: A, a, B, b, C, c, D, d, F, and f. The contents of the txtNames control should be cleared when the user changes the grade entered in the txtGrade control. Code the appropriate event procedures.
c. In the btnDisplay_Click procedure, declare an empty String array named strNamesFound.
The btnDisplay_Click procedure should search the entire strGrades array for the letter grade entered by the user. When the letter grade is found in the array, the procedure should store the corresponding name from the strNames array in the strNamesFound array. After searching the strGrades array, the procedure should sort the contents of the strNamesFound array in ascending order and then display the result in the interface. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.