# oday-alnaqep-cs/dvld-management-system architecture

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

- Interactive diagram: https://gitdiagram.com/oday-alnaqep-cs/dvld-management-system
- Repository: https://github.com/oday-alnaqep-cs/dvld-management-system

## Overview

DVLD is a Windows desktop application for managing people, users, driver licensing, and the application and test stages involved in issuing licenses. The principal workflow starts at login, opens the dashboard, and branches into people and licensing operations; local-license applications can lead to test appointments and first-time license issuance, while international and other license actions have dedicated screens. The tree shows separate business and SQL data-access projects, but the sampled evidence does not establish most calls between those layers, so those links are omitted.

Main entry points: [`DVLD Project/FrmDashBoard.cs`](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/FrmDashBoard.cs) (Dashboard), [`DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Local%20Driving%20License/FrmShowLocalDrivingLicenseApplication.cs) (Local applications), [`DVLD Project/People/FrmListPeople.cs`](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmListPeople.cs) (People management), [`DVLD Project/User/FrmListUsers.cs`](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/User/FrmListUsers.cs) (User management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["App entry"]
  node_program["Program startup<br/>[Program.cs]"]
  node_login["Login<br/>[FrmLogin.cs]"]
  node_dashboard["Dashboard<br/>[FrmDashBoard.cs]"]
  node_global["Session and credentials<br/>[ClsGlobal.cs]"]
end

subgraph group_people["People and users"]
  node_peoplelist["People management<br/>[FrmListPeople.cs]"]
  node_personedit["Person editor"]
  node_personinfo["Person details"]
  node_userlist["User management<br/>[FrmListUsers.cs]"]
  node_useredit["User editor"]
  node_email["Email form<br/>[FrmSendToEmail.cs]"]
end

subgraph group_applications["Applications"]
  node_localapps["Local applications"]
  node_localedit["Local application editor"]
  node_tests["Test appointments"]
  node_apptypes["Application types"]
  node_internationalapp["International application"]
  node_internationalinfo["International license info"]
end

subgraph group_licenses["Licenses and drivers"]
  node_drivers["Driver list<br/>[FrmListDrivers.cs]"]
  node_history["License history"]
  node_localinfo["Local license info"]
  node_firstissue["First license issue"]
  node_internationalmanage["International licenses"]
  node_renew["Renewal"]
  node_replace["Replace license"]
  node_detain["Detain license"]
  node_release["Release license"]
end

subgraph group_data["Business and data"]
  node_business["Business entities"]
  node_dataaccess["SQL data access"]
  node_database[("SQL Server database")]
  node_dbinit["Database initializer"]
end

node_operator(("Operator"))

node_operator -->|"starts"| node_program
node_program -->|"opens"| node_login
node_login -->|"stores session"| node_global
node_login -->|"opens"| node_dashboard
node_dashboard -->|"opens"| node_peoplelist
node_dashboard -->|"opens"| node_userlist
node_dashboard -->|"opens"| node_localapps
node_dashboard -->|"opens"| node_internationalmanage
node_dashboard -->|"opens"| node_drivers
node_dashboard -->|"opens"| node_renew
node_dashboard -->|"opens"| node_replace
node_dashboard -->|"opens"| node_detain
node_dashboard -->|"opens"| node_release
node_peoplelist -->|"opens"| node_personedit
node_peoplelist -->|"opens"| node_personinfo
node_peoplelist -->|"opens"| node_email
node_userlist -->|"opens"| node_useredit
node_userlist -->|"opens"| node_personinfo
node_userlist -->|"opens"| node_email
node_localapps -->|"opens"| node_localedit
node_localapps -->|"opens"| node_tests
node_localapps -->|"opens"| node_localinfo
node_localapps -->|"opens"| node_firstissue
node_drivers -->|"opens"| node_personinfo
node_drivers -->|"opens"| node_internationalapp
node_drivers -->|"opens"| node_history
node_internationalmanage -->|"opens"| node_internationalapp
node_internationalmanage -->|"opens"| node_internationalinfo
node_internationalmanage -->|"opens"| node_history
node_internationalapp -->|"opens"| node_history
node_internationalapp -->|"opens"| node_internationalinfo
node_dbinit -->|"creates if absent"| node_database
node_business -.-> node_dataaccess

click node_program "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Program.cs"
click node_login "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Login/FrmLogin.cs"
click node_dashboard "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/FrmDashBoard.cs"
click node_global "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Global%20Classes/ClsGlobal.cs"
click node_peoplelist "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmListPeople.cs"
click node_personedit "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmAddUpdatePerson.cs"
click node_personinfo "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmShowPersonInfo.cs"
click node_userlist "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/User/FrmListUsers.cs"
click node_useredit "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/User/FrmAddUpdateUser.cs"
click node_email "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Global%20Classes/FrmSendToEmail.cs"
click node_localapps "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Local%20Driving%20License/FrmShowLocalDrivingLicenseApplication.cs"
click node_localedit "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Local%20Driving%20License/FrmLAddUpdateLocalDrivingLicenseApplication.cs"
click node_tests "https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD%20Project/Test"
click node_apptypes "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/FrmAddUpdateApplicationType.cs"
click node_internationalapp "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/International%20License/FrmAddInternationalLicenseApplicaiton.cs"
click node_internationalinfo "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/International%20License/FrmShowInternationalDrivingLicenseInfo.cs"
click node_drivers "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Drivers/FrmListDrivers.cs"
click node_history "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/FrmShowPersonLicenseHistory.cs"
click node_localinfo "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Local%20License/FrmShowLocalDrivingLicenseInfo.cs"
click node_firstissue "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Local%20License/FrmIssueDriverLicenseForTheFirstTime.cs"
click node_internationalmanage "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/International%20License/FrmManageInternationalLicense.cs"
click node_renew "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Renew%20Local%20License/FrmRenewLocalDrivingLicenseApplication.cs"
click node_replace "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Replace%20Lost%20Or%20Damage%20License/FrmReplaceLostOrDamageLicenseApplication.cs"
click node_detain "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Detatin%20License/FrmDetainedLicenseApplication.cs"
click node_release "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Release%20Detain%20License/FrmRelaceDetainedLIcense.cs"
click node_business "https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD_Buisness"
click node_dataaccess "https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD_DataAccess"
click node_dbinit "https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD_DataAccess/DatabaseInitializer.cs"

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_program,node_login,node_dashboard,node_global toneBlue
class node_peoplelist,node_personedit,node_personinfo,node_userlist,node_useredit,node_email toneAmber
class node_localapps,node_localedit,node_tests,node_apptypes,node_internationalapp,node_internationalinfo toneMint
class node_drivers,node_history,node_localinfo,node_firstissue,node_internationalmanage,node_renew,node_replace,node_detain,node_release toneRose
class node_business,node_dataaccess,node_database,node_dbinit,node_operator toneIndigo
```

## Components

### App entry

- [Program startup](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Program.cs): `DVLD Project/Program.cs`
- [Login](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Login/FrmLogin.cs): `DVLD Project/Login/FrmLogin.cs`
- [Dashboard](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/FrmDashBoard.cs): `DVLD Project/FrmDashBoard.cs`
- [Session and credentials](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Global%20Classes/ClsGlobal.cs): `DVLD Project/Global Classes/ClsGlobal.cs`

### People and users

- [People management](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmListPeople.cs): `DVLD Project/People/FrmListPeople.cs`
- [Person editor](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmAddUpdatePerson.cs): `DVLD Project/People/FrmAddUpdatePerson.cs`
- [Person details](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/People/FrmShowPersonInfo.cs): `DVLD Project/People/FrmShowPersonInfo.cs`
- [User management](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/User/FrmListUsers.cs): `DVLD Project/User/FrmListUsers.cs`
- [User editor](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/User/FrmAddUpdateUser.cs): `DVLD Project/User/FrmAddUpdateUser.cs`
- [Email form](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Global%20Classes/FrmSendToEmail.cs): `DVLD Project/Global Classes/FrmSendToEmail.cs`

### Applications

- [Local applications](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Local%20Driving%20License/FrmShowLocalDrivingLicenseApplication.cs): `DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`
- [Local application editor](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Local%20Driving%20License/FrmLAddUpdateLocalDrivingLicenseApplication.cs): `DVLD Project/Applications/Local Driving License/FrmLAddUpdateLocalDrivingLicenseApplication.cs`
- [Test appointments](https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD%20Project/Test): `DVLD Project/Test`
- [Application types](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/FrmAddUpdateApplicationType.cs): `DVLD Project/Applications/FrmAddUpdateApplicationType.cs`
- [International application](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/International%20License/FrmAddInternationalLicenseApplicaiton.cs): `DVLD Project/Applications/International License/FrmAddInternationalLicenseApplicaiton.cs`
- [International license info](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/International%20License/FrmShowInternationalDrivingLicenseInfo.cs): `DVLD Project/Applications/International License/FrmShowInternationalDrivingLicenseInfo.cs`

### Licenses and drivers

- [Driver list](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Drivers/FrmListDrivers.cs): `DVLD Project/Drivers/FrmListDrivers.cs`
- [License history](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/FrmShowPersonLicenseHistory.cs): `DVLD Project/Licenses/FrmShowPersonLicenseHistory.cs`
- [Local license info](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Local%20License/FrmShowLocalDrivingLicenseInfo.cs): `DVLD Project/Licenses/Local License/FrmShowLocalDrivingLicenseInfo.cs`
- [First license issue](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Local%20License/FrmIssueDriverLicenseForTheFirstTime.cs): `DVLD Project/Licenses/Local License/FrmIssueDriverLicenseForTheFirstTime.cs`
- [International licenses](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/International%20License/FrmManageInternationalLicense.cs): `DVLD Project/Licenses/International License/FrmManageInternationalLicense.cs`
- [Renewal](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Renew%20Local%20License/FrmRenewLocalDrivingLicenseApplication.cs): `DVLD Project/Applications/Renew Local License/FrmRenewLocalDrivingLicenseApplication.cs`
- [Replace license](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Replace%20Lost%20Or%20Damage%20License/FrmReplaceLostOrDamageLicenseApplication.cs): `DVLD Project/Applications/Replace Lost Or Damage License/FrmReplaceLostOrDamageLicenseApplication.cs`
- [Detain license](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Licenses/Detatin%20License/FrmDetainedLicenseApplication.cs): `DVLD Project/Licenses/Detatin License/FrmDetainedLicenseApplication.cs`
- [Release license](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD%20Project/Applications/Release%20Detain%20License/FrmRelaceDetainedLIcense.cs): `DVLD Project/Applications/Release Detain License/FrmRelaceDetainedLIcense.cs`

### Business and data

- [Business entities](https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD_Buisness): `DVLD_Buisness`
- [SQL data access](https://github.com/oday-alnaqep-cs/dvld-management-system/tree/test-restore-point/DVLD_DataAccess): `DVLD_DataAccess`
- **SQL Server database**
- [Database initializer](https://github.com/oday-alnaqep-cs/dvld-management-system/blob/test-restore-point/DVLD_DataAccess/DatabaseInitializer.cs): `DVLD_DataAccess/DatabaseInitializer.cs`

### Other components

- **Operator**

## Connections

- Operator → Program startup: starts (evidence: `DVLD Project/Program.cs`)
- Program startup → Login: opens (evidence: `DVLD Project/Program.cs`)
- Login → Session and credentials: stores session (evidence: `DVLD Project/Login/FrmLogin.cs`)
- Login → Dashboard: opens (evidence: `DVLD Project/Login/FrmLogin.cs`)
- Dashboard → People management: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → User management: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Local applications: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → International licenses: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Driver list: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Renewal: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Replace license: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Detain license: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- Dashboard → Release license: opens (evidence: `DVLD Project/FrmDashBoard.cs`)
- People management → Person editor: opens (evidence: `DVLD Project/People/FrmListPeople.cs`)
- People management → Person details: opens (evidence: `DVLD Project/People/FrmListPeople.cs`)
- People management → Email form: opens (evidence: `DVLD Project/People/FrmListPeople.cs`)
- User management → User editor: opens (evidence: `DVLD Project/User/FrmListUsers.cs`)
- User management → Person details: opens (evidence: `DVLD Project/User/FrmListUsers.cs`)
- User management → Email form: opens (evidence: `DVLD Project/User/FrmListUsers.cs`)
- Local applications → Local application editor: opens (evidence: `DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`)
- Local applications → Test appointments: opens (evidence: `DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`)
- Local applications → Local license info: opens (evidence: `DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`)
- Local applications → First license issue: opens (evidence: `DVLD Project/Applications/Local Driving License/FrmShowLocalDrivingLicenseApplication.cs`)
- Driver list → Person details: opens (evidence: `DVLD Project/Drivers/FrmListDrivers.cs`)
- Driver list → International application: opens (evidence: `DVLD Project/Drivers/FrmListDrivers.cs`)
- Driver list → License history: opens (evidence: `DVLD Project/Drivers/FrmListDrivers.cs`)
- International licenses → International application: opens (evidence: `DVLD Project/Licenses/International License/FrmManageInternationalLicense.cs`)
- International licenses → International license info: opens (evidence: `DVLD Project/Licenses/International License/FrmManageInternationalLicense.cs`)
- International licenses → License history: opens (evidence: `DVLD Project/Licenses/International License/FrmManageInternationalLicense.cs`)
- International application → License history: opens (evidence: `DVLD Project/Applications/International License/FrmAddInternationalLicenseApplicaiton.cs`)
- International application → International license info: opens (evidence: `DVLD Project/Applications/International License/FrmAddInternationalLicenseApplicaiton.cs`)
- Database initializer → SQL Server database: creates if absent (evidence: `DVLD_DataAccess/DatabaseInitializer.cs`)
- Business entities → SQL data access (evidence: `DVLD_Buisness/clsDVLDSystemDataBaseManager.cs`)
