Esempio n. 1
0
        public void PheDuyetHoatDong()
        {
            var thongBaoMoi = ThongBaoHoatDong.TaoThongBaoPheDuyet(this);

            SinhVienTaoHd.ThongBaoHoatDong(thongBaoMoi);
            DuocPheDuyet = true;
        }
Esempio n. 2
0
        public void KetThucHoatDong()
        {
            var thongBaoMoi = ThongBaoHoatDong.TaoThongBaoKetThuc(this);

            foreach (var sinhVien in DanhSachSinhVienTheoDoi.Select(td => td.SinhVien))
            {
                sinhVien.ThongBaoHoatDong(thongBaoMoi);
            }
            SinhVienTaoHd.ThongBaoHoatDong(thongBaoMoi);
            DaKetThuc = true;
        }
Esempio n. 3
0
        public void HuyHoatDong()
        {
            var thongBaoMoi = ThongBaoHoatDong.TaoThongBaoHuy(this);

            foreach (var sinhVien in DanhSachSinhVienTheoDoi.Select(td => td.SinhVien))
            {
                sinhVien.ThongBaoHoatDong(thongBaoMoi);
            }
            SinhVienTaoHd.ThongBaoHoatDong(thongBaoMoi);
            BiHuy        = true;
            DuocPheDuyet = true;
            DanhSachSinhVienThamGia.Clear();
            DanhSachSinhVienTheoDoi.Clear();
            DanhSachChuongTrinhHoatDong.Clear();
            SoLuotThamGia = 0;
        }