# jgaspar10/student-management-system architecture

> Architecture diagram of the GitHub repository jgaspar10/student-management-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jgaspar10/student-management-system
- Repository: https://github.com/jgaspar10/student-management-system

## Overview

This is a WinForms student-management application backed by MySQL. The principal workflow starts at the dashboard, opens student registration or management, and reads or writes student records; course forms provide a parallel course-management workflow. Student records can also be filtered and printed. The README additionally advertises academic-performance and grade management, but the sampled UI has only inert grade-menu handlers and the tree shows no grade implementation. The graph preserves that documented capability without implying a working flow; unsampled implementation details are not inferred.

Main entry points: [`MainForm.cs`](https://github.com/jgaspar10/student-management-system/blob/main/MainForm.cs) (Dashboard), [`StudentClass.cs`](https://github.com/jgaspar10/student-management-system/blob/main/StudentClass.cs) (Student operations), [`PrintStudent.cs`](https://github.com/jgaspar10/student-management-system/blob/main/PrintStudent.cs) (Student listing), [`CourseClass.cs`](https://github.com/jgaspar10/student-management-system/blob/main/CourseClass.cs) (Course operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application UI"]
  node_entry["App entry<br/>[Program.cs]"]
  node_dashboard["Dashboard<br/>[MainForm.cs]"]
  node_grade_capability["Grades capability<br/>[README.md]"]
end

subgraph group_students["Student records"]
  node_registration["Student registration"]
  node_student_manage["Student management<br/>[ManageStudent.cs]"]
  node_student_service["Student operations<br/>[StudentClass.cs]"]
  node_student_print["Student listing<br/>[PrintStudent.cs]"]
end

subgraph group_courses["Course records"]
  node_course_add["Course entry<br/>[AddCourse.cs]"]
  node_course_manage["Course management"]
  node_course_service["Course operations<br/>[CourseClass.cs]"]
end

subgraph group_data_print["Data and printing"]
  node_student_store[("Student database<br/>[DBconnect.cs]")]
  node_course_store[("Course database<br/>[DBconnect.cs]")]
  node_printer["Grid printer<br/>[DGVPrinter.cs]"]
end

node_user(("Authorized user"))
node_mysql[("MySQL server")]

node_user -->|"launches"| node_entry
node_entry -->|"starts"| node_dashboard
node_dashboard -->|"opens"| node_registration
node_dashboard -->|"opens"| node_student_manage
node_dashboard -->|"opens"| node_student_print
node_dashboard -->|"opens"| node_course_add
node_dashboard -->|"opens"| node_course_manage
node_registration -->|"inserts and lists"| node_student_service
node_student_manage -->|"reads and updates"| node_student_service
node_student_print -->|"loads records"| node_student_service
node_student_service -->|"queries"| node_student_store
node_course_add -->|"adds and lists"| node_course_service
node_course_manage -->|"updates and deletes"| node_course_service
node_course_service -->|"queries"| node_course_store
node_student_store -->|"connects"| node_mysql
node_course_store -->|"connects"| node_mysql
node_student_print -->|"prints grid"| node_printer
node_printer --> node_mysql

click node_entry "https://github.com/jgaspar10/student-management-system/blob/main/Program.cs"
click node_dashboard "https://github.com/jgaspar10/student-management-system/blob/main/MainForm.cs"
click node_registration "https://github.com/jgaspar10/student-management-system/blob/main/RegistrationForm.cs"
click node_student_manage "https://github.com/jgaspar10/student-management-system/blob/main/ManageStudent.cs"
click node_student_service "https://github.com/jgaspar10/student-management-system/blob/main/StudentClass.cs"
click node_student_store "https://github.com/jgaspar10/student-management-system/blob/main/DBconnect.cs"
click node_course_add "https://github.com/jgaspar10/student-management-system/blob/main/AddCourse.cs"
click node_course_manage "https://github.com/jgaspar10/student-management-system/blob/main/ManageCourseForm.cs"
click node_course_service "https://github.com/jgaspar10/student-management-system/blob/main/CourseClass.cs"
click node_course_store "https://github.com/jgaspar10/student-management-system/blob/main/DBconnect.cs"
click node_student_print "https://github.com/jgaspar10/student-management-system/blob/main/PrintStudent.cs"
click node_printer "https://github.com/jgaspar10/student-management-system/blob/main/DGVPrinter.cs"
click node_grade_capability "https://github.com/jgaspar10/student-management-system/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_dashboard,node_grade_capability,node_user toneBlue
class node_registration,node_student_manage,node_student_service,node_student_print,node_mysql toneAmber
class node_course_add,node_course_manage,node_course_service toneMint
class node_student_store,node_course_store,node_printer toneRose
```

## Components

### Application UI

- [App entry](https://github.com/jgaspar10/student-management-system/blob/main/Program.cs): `Program.cs`
- [Dashboard](https://github.com/jgaspar10/student-management-system/blob/main/MainForm.cs): `MainForm.cs`
- [Grades capability](https://github.com/jgaspar10/student-management-system/blob/main/README.md): `README.md`

### Student records

- [Student registration](https://github.com/jgaspar10/student-management-system/blob/main/RegistrationForm.cs): `RegistrationForm.cs`
- [Student management](https://github.com/jgaspar10/student-management-system/blob/main/ManageStudent.cs): `ManageStudent.cs`
- [Student operations](https://github.com/jgaspar10/student-management-system/blob/main/StudentClass.cs): `StudentClass.cs`
- [Student listing](https://github.com/jgaspar10/student-management-system/blob/main/PrintStudent.cs): `PrintStudent.cs`

### Course records

- [Course entry](https://github.com/jgaspar10/student-management-system/blob/main/AddCourse.cs): `AddCourse.cs`
- [Course management](https://github.com/jgaspar10/student-management-system/blob/main/ManageCourseForm.cs): `ManageCourseForm.cs`
- [Course operations](https://github.com/jgaspar10/student-management-system/blob/main/CourseClass.cs): `CourseClass.cs`

### Data and printing

- [Student database](https://github.com/jgaspar10/student-management-system/blob/main/DBconnect.cs): `DBconnect.cs`
- [Course database](https://github.com/jgaspar10/student-management-system/blob/main/DBconnect.cs): `DBconnect.cs`
- [Grid printer](https://github.com/jgaspar10/student-management-system/blob/main/DGVPrinter.cs): `DGVPrinter.cs`

### Other components

- **Authorized user**
- **MySQL server**

## Connections

- Authorized user → App entry: launches (evidence: `Program.cs`)
- App entry → Dashboard: starts (evidence: `Program.cs`)
- Dashboard → Student registration: opens (evidence: `MainForm.cs`)
- Dashboard → Student management: opens (evidence: `MainForm.cs`)
- Dashboard → Student listing: opens (evidence: `MainForm.cs`)
- Dashboard → Course entry: opens (evidence: `MainForm.cs`)
- Dashboard → Course management: opens (evidence: `MainForm.cs`)
- Student registration → Student operations: inserts and lists (evidence: `RegistrationForm.cs`)
- Student management → Student operations: reads and updates (evidence: `ManageStudent.cs`)
- Student listing → Student operations: loads records (evidence: `PrintStudent.cs`)
- Student operations → Student database: queries (evidence: `StudentClass.cs`)
- Course entry → Course operations: adds and lists (evidence: `AddCourse.cs`)
- Course management → Course operations: updates and deletes (evidence: `ManageCourseForm.cs`)
- Course operations → Course database: queries (evidence: `CourseClass.cs`)
- Student database → MySQL server: connects (evidence: `DBconnect.cs`)
- Course database → MySQL server: connects (evidence: `DBconnect.cs`)
- Student listing → Grid printer: prints grid (evidence: `PrintStudent.cs`)
- Grid printer → MySQL server
