How nguyenquocan5432-bot/lab_at_oosd works
This tree contains two WinForms business applications: a library system and hotel-management implementations in LAB3 and an earlier LAB test variant. The user workflow is desktop navigation into domain forms, which delegate business operations to services that query or update SQL-backed records. The graph preserves the library circulation and catalog branches, plus hotel booking, amenities, service usage, checkout/payment, reporting, and reference-data capabilities. Some forms and service implementations were not sampled, so their links are omitted where caller evidence is unavailable.
Main entry points: Data/Db.cs Hotel DB access · Forms/FrmMain.cs Hotel navigation · Forms/FrmMain.cs Library navigation · Data/Db.cs Test DB access
Components 31
Library system
- Library navigation
LAB2/Quan_Ly_Thu_Vien/Forms/FrmMain.cs - Reader records
LAB2/Quan_Ly_Thu_Vien/Forms/FrmDocGia.cs - Reader service
LAB2/Quan_Ly_Thu_Vien/Services/DocGiaService.cs - Book catalog
LAB2/Quan_Ly_Thu_Vien/Forms/FrmSach.cs - Book service
LAB2/Quan_Ly_Thu_Vien/Services/SachService.cs - Loans and returns
LAB2/Quan_Ly_Thu_Vien/Forms/FrmMuonTra.cs - Circulation service
LAB2/Quan_Ly_Thu_Vien/Services/MuonTraService.cs - Library categories
LAB2/Quan_Ly_Thu_Vien/Services/DanhMucService.cs - Library reports
LAB2/Quan_Ly_Thu_Vien/Services/ThongKeService.cs - Report screen
LAB2/Quan_Ly_Thu_Vien/Forms/FrmThongKe.cs
Hotel management
- Hotel navigation
LAB3/QuanLyKhachSan/Forms/FrmMain.cs - Room booking
LAB3/QuanLyKhachSan/Forms/FrmDatPhong.cs - Booking service
LAB3/QuanLyKhachSan/Services/DatPhongService.cs - Service usage
LAB3/QuanLyKhachSan/Forms/FrmDichVu.cs - Service charges
LAB3/QuanLyKhachSan/Services/DichVuService.cs - Rooms and amenities
LAB3/QuanLyKhachSan/Forms/FrmPhongTienNghi.cs - Amenity service
LAB3/QuanLyKhachSan/Services/PhongTienNghiService.cs - Checkout and payment
LAB3/QuanLyKhachSan/Forms/FrmTraPhong.cs - Checkout service
LAB3/QuanLyKhachSan/Services/TraPhongService.cs - Hotel reference data
LAB3/QuanLyKhachSan/Services/DanhMucService.cs - Hotel reports
LAB3/QuanLyKhachSan/Forms/FrmThongKe.cs - Reporting service
LAB3/QuanLyKhachSan/Services/ThongKeService.cs
Hotel test variant
- Test booking service
LAB test/Services/Datphongservice.cs - Test checkout service
LAB test/Services/Traphong.cs - Test service usage
LAB test/Services/Dichvuservice.cs - Test amenities
LAB test/Services/Phongtiennghiservice.cs
Persistence layer
- Library DB access
LAB2/Quan_Ly_Thu_Vien/Data/Db.cs - Hotel DB access
LAB3/QuanLyKhachSan/Data/Db.cs - Test DB access
LAB test/Data/Db.cs
Other components
- Staff user
- SQL database
Connections 40
- Staff user → Library navigation: opens
- Library navigation → Reader records: opens
- Library navigation → Book catalog: opens
- Library navigation → Loans and returns: opens
- Library navigation → Report screen: opens
- Reader records → Reader service: calls
LAB2/Quan_Ly_Thu_Vien/Forms/FrmDocGia.cs - Book catalog → Book service: calls
LAB2/Quan_Ly_Thu_Vien/Forms/FrmSach.cs - Loans and returns → Circulation service: calls
LAB2/Quan_Ly_Thu_Vien/Forms/FrmMuonTra.cs - Loans and returns → Book service: calls
LAB2/Quan_Ly_Thu_Vien/Forms/FrmMuonTra.cs - Loans and returns → Reader service: calls
LAB2/Quan_Ly_Thu_Vien/Forms/FrmMuonTra.cs - Reader service → Library DB access: queries
LAB2/Quan_Ly_Thu_Vien/Services/DocGiaService.cs - Book service → Library DB access: queries
LAB2/Quan_Ly_Thu_Vien/Services/SachService.cs - Circulation service → Library DB access: queries
LAB2/Quan_Ly_Thu_Vien/Services/MuonTraService.cs - Report screen → Library reports: calls
- Library categories → Library DB access: uses
- Library reports → Library DB access: uses
- Staff user → Hotel navigation: opens
- Hotel navigation → Room booking: opens
- Hotel navigation → Service usage: opens
- Hotel navigation → Rooms and amenities: opens
- Hotel navigation → Checkout and payment: opens
- Hotel navigation → Hotel reports: opens
- Room booking → Booking service: calls
LAB3/QuanLyKhachSan/Forms/FrmDatPhong.cs - Service usage → Service charges: calls
LAB3/QuanLyKhachSan/Forms/FrmDichVu.cs - Rooms and amenities → Amenity service: calls
LAB3/QuanLyKhachSan/Forms/FrmPhongTienNghi.cs - Checkout and payment → Checkout service: calls
LAB3/QuanLyKhachSan/Forms/FrmTraPhong.cs - Checkout and payment → Hotel reference data: calls
LAB3/QuanLyKhachSan/Forms/FrmTraPhong.cs - Booking service → Hotel DB access: queries
LAB3/QuanLyKhachSan/Services/DatPhongService.cs - Service charges → Hotel DB access: queries
LAB3/QuanLyKhachSan/Services/DichVuService.cs - Amenity service → Hotel DB access: queries
LAB3/QuanLyKhachSan/Services/PhongTienNghiService.cs - Checkout service → Hotel DB access: queries
LAB3/QuanLyKhachSan/Services/TraPhongService.cs - Hotel reports → Reporting service: calls
- Hotel reference data → Hotel DB access: uses
- Reporting service → Hotel DB access: uses
- Hotel DB access → SQL database: queries
- Test booking service → Test DB access: queries
LAB test/Services/Datphongservice.cs - Test checkout service → Test DB access: queries
- Test service usage → Test DB access: queries
LAB test/Services/Dichvuservice.cs - Test amenities → Test DB access: queries
LAB test/Services/Phongtiennghiservice.cs - Test DB access → SQL database: queries