# huyoa123/organizationprofile architecture

> Architecture diagram of the GitHub repository huyoa123/organizationprofile, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/huyoa123/organizationprofile
- Repository: https://github.com/huyoa123/organizationprofile

## Overview

A small Windows Forms student-profile registration app: a user enters student details, the form validates and formats them, stores the values in static shared fields, and opens a confirmation dialog that displays them. Source excerpts show the registration and confirmation handoff; no README or persistence/integration capabilities are present.

Main entry points: [`OrganizationProfile/Form1.cs`](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.cs) (Registration form), [`OrganizationProfile/frmConfirmation.cs`](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/frmConfirmation.cs) (Confirmation dialog), [`OrganizationProfile/StudentInformationClass.cs`](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/StudentInformationClass.cs) (Student profile state), [`OrganizationProfile/Program.cs`](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Program.cs) (Application startup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Registration UI"]
  node_app["Application startup<br/>[Program.cs]"]
  node_register["Registration form<br/>[Form1.cs]"]
  node_register_design["Form controls<br/>[Form1.Designer.cs]"]
  node_confirm["Confirmation dialog<br/>[frmConfirmation.cs]"]
  node_confirm_design["Confirmation controls"]
end

subgraph group_profile["Profile flow"]
  node_validation["Input validation<br/>[Form1.cs]"]
  node_shared["Student profile state"]
end

node_user(("User"))

node_app -->|"launches"| node_register
node_register -->|"initializes"| node_register_design
node_user -->|"enters details"| node_register
node_register -->|"validates inputs"| node_validation
node_register -->|"writes profile"| node_shared
node_register -->|"opens dialog"| node_confirm
node_confirm -->|"initializes"| node_confirm_design
node_confirm -->|"reads profile"| node_shared
node_user -->|"submits"| node_confirm

click node_app "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Program.cs"
click node_register "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.cs"
click node_register_design "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.Designer.cs"
click node_validation "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.cs"
click node_shared "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/StudentInformationClass.cs"
click node_confirm "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/frmConfirmation.cs"
click node_confirm_design "https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/frmConfirmation.Designer.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_app,node_register,node_register_design,node_confirm,node_confirm_design,node_user toneBlue
class node_validation,node_shared toneAmber
```

## Components

### Registration UI

- [Application startup](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Program.cs): `OrganizationProfile/Program.cs`
- [Registration form](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.cs): `OrganizationProfile/Form1.cs`
- [Form controls](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.Designer.cs): `OrganizationProfile/Form1.Designer.cs`
- [Confirmation dialog](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/frmConfirmation.cs): `OrganizationProfile/frmConfirmation.cs`
- [Confirmation controls](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/frmConfirmation.Designer.cs): `OrganizationProfile/frmConfirmation.Designer.cs`

### Profile flow

- [Input validation](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/Form1.cs): `OrganizationProfile/Form1.cs`
- [Student profile state](https://github.com/huyoa123/organizationprofile/blob/master/OrganizationProfile/StudentInformationClass.cs): `OrganizationProfile/StudentInformationClass.cs`

### Other components

- **User**

## Connections

- Application startup → Registration form: launches
- Registration form → Form controls: initializes
- User → Registration form: enters details
- Registration form → Input validation: validates inputs
- Registration form → Student profile state: writes profile
- Registration form → Confirmation dialog: opens dialog
- Confirmation dialog → Confirmation controls: initializes
- Confirmation dialog → Student profile state: reads profile
- User → Confirmation dialog: submits
