Exemplo n.º 1
0
        private void btnXepLichThi_Click(object sender, EventArgs e)
        {
            List <VerticeEntity> ListVertice = DsMonThi();

            new Algorithm().Run(ListVertice, TimeEntity.GetAll);
            XuLyDataGridView.ShowData(ListVertice, grwDanhSach, "NGÀY", "GIỜ THI");
        }
Exemplo n.º 2
0
        private void btnXepLichThi_Click(object sender, EventArgs e)
        {
            LenLichThi llt = new LenLichThi(DsMonThi(), GioThi.GetAll);

            if (llt.ThucHien())
            {
                XuLyDataGridView.ShowData(llt.DsMonThiDaXep, grwDanhSach, "NGÀY", "GIỜ THI");
            }
        }
Exemplo n.º 3
0
        private void btnChonNhom_Click(object sender, EventArgs e)
        {
            DataTable   kq  = XuLyDataGridView.GetTable(new string[] { "MÃ HP", "TÊN HỌC PHẦN", "LỚP", "NHÓM" }, (DataTable)grwDanhSach.DataSource);
            frmChonNhom fcn = new frmChonNhom(kq);

            if (fcn.ShowDialog() == DialogResult.OK)
            {
                XuLyDataGridView.ShowData(fcn.dgrDanhSach, grwDanhSach, "NHÓM", "NHÓM");
                btnChonPhong.Enabled = btnXepLichThi.Enabled = true;
            }
        }
Exemplo n.º 4
0
        private void btnChonPhong_Click(object sender, EventArgs e)
        {
            DataTable kq = XuLyDataGridView.GetTable(new string[] { "MÃ HP", "TÊN HỌC PHẦN", "SỐ SV", "HT THI", "PHÒNG" }, (DataTable)grwDanhSach.DataSource);

            MonXepPhong(kq);
            frmChonPhong fcp = new frmChonPhong(kq);

            if (fcp.ShowDialog() == DialogResult.OK)
            {
                XuLyDataGridView.ShowData(fcp.dgrDanhSach, grwDanhSach, "PHÒNG", "PHÒNG");
            }
        }