private void btnXoa_Click(object sender, EventArgs e)
        {
            SinhVienCtrl sv = new SinhVienCtrl();

            if (MessageBox.Show("Xóa chứ!", "Sinh Vien", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                sv.LayDiSinhVienTuDanhSach(listSinhVien);
            }
        }
        private void btnSuaSinhVien_Click(object sender, EventArgs e)
        {
            QLKTX.Controller.SinhVienCtrl svCtrl = new SinhVienCtrl();
            SinhVienInfo sv = new SinhVienInfo();

            sv = svCtrl.LayDiSinhVienTuDanhSach(listSinhVien);


            //dien thong tin cua Sinh vien
            txtCMND.Text      = sv.SoCMDN;
            txtDiaChi.Text    = sv.DiaChi;
            txtDienThoai.Text = sv.DienThoai;
            txtHoTen.Text     = sv.HoTen;
            txtMaKTX.Text     = sv.MaKTX;
            txtMSSV.Text      = sv.MSSV;

            cmbDanToc.SelectedValue   = sv.DanToc.MaDanToc;
            cmbQuocTich.SelectedValue = sv.QuocTich.MaQuocTich;
            cmbTonGiao.SelectedValue  = sv.TonGiao.MaTonGiao;

            dateNgaySinh.Value = sv.Namsinh;

            chkDoanVien.Checked    = sv.DoanVien;
            chkCamTinhDang.Checked = sv.CamTinhDang;
            chkDangVien.Checked    = sv.DangVien;

            chkGioiTinh.Checked = sv.GioiTinh;

            try
            {
                picHinh.Load(sv.HinhAnh);
            }
            catch (Exception i) { i.ToString(); }

            listDSThanNhan.Items.Clear();
            for (int i = 0; i < sv.DSThanNhan.Count; i++)
            {
                ThanNhanInfo tn   = sv.DSThanNhan[i];
                ListViewItem item = new ListViewItem();
                item.Text = ((ThanNhanInfo)tn).MaThanNhan.ToString();
                item.SubItems.Add(((ThanNhanInfo)tn).HoTenThanNhan);
                item.SubItems.Add(((ThanNhanInfo)tn).QuanHe.TenQuanHe);
                item.SubItems.Add(((ThanNhanInfo)tn).NgheNghiep.TenNgheNghep);
                item.Tag = ((ThanNhanInfo)tn);
                listDSThanNhan.Items.Add(item);
            }



            //dien thong tin cua than nhan
        }