Agile Software Development with C# Book II this chapter should not serve as a strict guideline. It is a starting point for communication. You should ask your instructor if you have any questions about the problems.
Treat your instructor as the product owner of your team.
Project One
The Problem: The Tiny College keeps track of its students taking courses.
A student has a student Id, student name, and courses completed or taking them right now.
course has a course Id, course title, and semester offered.
Create a graphical user interface application that can
1) add new students;
2) add new courses;
3) allow for students to enroll in courses;
4) display all students registered for a course;
5) display all courses taken by a student.
When the "Add a Student" button is clicked, a new form (Figure 8.2) opens up that allows the user to enter a student name (the student ID will be automatically generated by the database). Note the use of the StatusStrip control towards the end of the form. The StatusStrip control can be used to send user feedback. For example, if the student is added successfully, the feedback should be, "The student is added to the database.”
After you add a StatusStrip to a form, on the left end of the control, click on the dropdown triangle to see four options: A
StatusLabel
ProgressBar
DropDownButton
SplitButton
6)Select the "StatusLabel”. Go to the properties window. Set its name property to: feedbackToolStrip Status Label. In the code when you need a feedback, say "The student is added to the database", you add the following statement: feedbackToolStripStatusLabel.Text = "The student is added to the database.” –
Add a Student Enter Student Data New Student Name: Close Add Student When the
"Add a Course" button on the Main form is clicked, a new form (Figure 8.3) opens that Figure 8.2 "Add a Student” form 283 allows the user to enter the course data.
Add a Course Enter Course Data Course Title: Semester Offered: Add Course Close b
Figure 8.3 "Add a Course" form When "Display all students" button on the Main form is clicked, A form with all students displayed.
AllStudentsForm studentld student Name 1 Andrea Boyer 2 Caley Cooper Close
Figure 8.4 "All Students" form
When “Display all courses" button on the Main form is clicked, A form with all courses displayed Х AllCourses Form course Name semesterOffere courseld Introduction to Agile Fall 2021 1 Advanced Agile Spring 2022 > Close
Figure 8.5 "All Courses” form.
When "Enroll a Student in a Course" button on the Main form is clicked, a form opens and should be similar to Figure 8.6. When the form loads, all student names should appear in the student combobox and all course titles should appear in the course combobox. The user can select a student and a course. Then click on the Enroll button to add enrollment data to the database.
Enroll a Student In a Course Enrollment Data Select a Student: Select a Course: Close Enroll 0 b-
Figure 8.6 Enroll a student to a course
When "Who Is in a Course” button is clicked, the form will look like Figure 8.7. A textbox will allow the user to enter a course ID, and a Find button will list all students (student ID and student 285 name) in that course in a listbox control on the same form. X Who is in a Course Coune Data Find Course ID: Course Title: All Students Enrolled In This Course: Student List Box Close D
Figure 8.7 List all students who are enrolled in a course
When "What courses a student enrolled in" is clicked, a form that is similar to Figure 8.8 appears. A user can enter a student ID, then click on the Find button. The student name will appear in the label and all course details the student is enrolled in will show in a listbox control. ox What Courses a Student Enrolled Student Data Find Student ID: Student Name: All Courses by This Student: course List Box Close
Figure 8.8 List all courses a student enrolled