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

            SinhVienTaoHd.ThongBaoHoatDong(thongBaoMoi);
            DuocPheDuyet = true;
        }
Exemplo 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;
        }
Exemplo 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;
        }