How nhapthan58-design/rapphim works
RapPhim is a Windows Forms cinema showtime scheduler. Users open the scheduling form to create or edit a screening; the service validates time and room conflicts, then the data manager persists and reloads schedules. Users can also browse schedules in table or timeline form and copy a day’s schedule. Ticket-sales support is exposed as a service API. The README is empty, so capabilities and relationships here are based on the supplied source excerpts and SOURCE INDEX; configuration details are represented by the existing data directory.
Main entry points: LichChieuService.cs Schedule rules and operations · FormDanhSachLich.cs Schedule browser · DataManager.cs Data manager · FormXepLich.cs Schedule editor
Components 23
Desktop interface
- Application startup
RapPhim/Program.cs - Main menu
RapPhim/Form1.cs - Schedule editor
RapPhim/FormXepLich.cs - Schedule browser
RapPhim/FormDanhSachLich.cs - Day copy dialog
RapPhim/FormSaoChepLich.cs - Day timeline
RapPhim/UI/TimelineLichChieu.cs
Scheduling domain
- Schedule rules and operations
RapPhim/Services/LichChieuService.cs - Operation results
RapPhim/Services/KetQua.cs - Copy results
RapPhim/Services/KetQuaSaoChep.cs - Showtime record
RapPhim/Models/LichChieu.cs - Schedule view model
RapPhim/Models/LichChieuViewModel.cs - Movie catalog item
RapPhim/Models/Phim.cs - Screening room
RapPhim/Models/PhongChieu.cs
Data access
- Data manager
RapPhim/Data/DataManager.cs - Schedule repository contract
RapPhim/Data/ILichChieuRepository.cs - JSON schedule store
RapPhim/Data/JsonLichChieuRepository.cs - Catalog provider contract
RapPhim/Data/IDanhMucProvider.cs - Sample catalog provider
RapPhim/Data/MauDanhMucProvider.cs - Ticket count provider
RapPhim/Data/IVeDaBanProvider.cs - Ticket count provider
RapPhim/Data/BoDemVeDaBanProvider.cs - Storage configuration
RapPhim/Data/CauHinhLuuTru.cs
Other components
- Cinema staff
- Ticket module
Connections 31
- Application startup → Main menu: starts
RapPhim/Program.cs - Cinema staff → Main menu: uses
- Main menu → Schedule editor: opens
RapPhim/Form1.cs - Main menu → Schedule browser: opens
RapPhim/Form1.cs - Schedule editor → Data manager: loads catalog
RapPhim/FormXepLich.cs - Schedule editor → Schedule rules and operations: checks and saves
RapPhim/FormXepLich.cs - Schedule editor → Schedule browser: opens browser
RapPhim/FormXepLich.cs - Schedule browser → Data manager: loads schedules
RapPhim/FormDanhSachLich.cs - Schedule browser → Schedule view model: builds views
RapPhim/FormDanhSachLich.cs - Schedule browser → Day timeline: updates timeline
RapPhim/FormDanhSachLich.cs - Schedule browser → Schedule editor: edits selection
RapPhim/FormDanhSachLich.cs - Schedule browser → Day copy dialog: opens copy dialog
RapPhim/FormDanhSachLich.cs - Day copy dialog → Schedule rules and operations: copies schedule
RapPhim/FormSaoChepLich.cs - Day copy dialog → Data manager: reloads data
RapPhim/FormSaoChepLich.cs - Day timeline → Schedule rules and operations: reads clock
RapPhim/UI/TimelineLichChieu.cs - Schedule rules and operations → Data manager: reads and reloads
RapPhim/Services/LichChieuService.cs - Schedule rules and operations → Operation results: returns result
RapPhim/Services/LichChieuService.cs - Schedule rules and operations → Copy results: returns copy result
RapPhim/Services/LichChieuService.cs - Schedule rules and operations → Showtime record: validates and updates
RapPhim/Services/LichChieuService.cs - Ticket module → Schedule rules and operations: records sales
- Data manager → Schedule repository contract: uses repository
RapPhim/Data/DataManager.cs - Data manager → Catalog provider contract: loads catalog
RapPhim/Data/DataManager.cs - Data manager → Ticket count provider: configures provider
RapPhim/Data/DataManager.cs - Storage configuration → JSON schedule store: configures
RapPhim/Data/CauHinhLuuTru.cs - Storage configuration → Sample catalog provider: configures
RapPhim/Data/CauHinhLuuTru.cs - Storage configuration → Ticket count provider: configures
RapPhim/Data/CauHinhLuuTru.cs - JSON schedule store → Schedule repository contract: implements
RapPhim/Data/JsonLichChieuRepository.cs - Sample catalog provider → Catalog provider contract: implements
RapPhim/Data/MauDanhMucProvider.cs - Ticket count provider → Ticket count provider: implements
RapPhim/Data/BoDemVeDaBanProvider.cs - Catalog provider contract → Movie catalog item: provides
RapPhim/Data/IDanhMucProvider.cs - Catalog provider contract → Screening room: provides
RapPhim/Data/IDanhMucProvider.cs