private void frmTraCuuSinhVien_Load(object sender, EventArgs e)
        {
            QuocTichCtrl QT = new QuocTichCtrl();
            TonGiaoCtrl  TG = new TonGiaoCtrl();
            DanTocCtrl   DT = new DanTocCtrl();


            QT.LayComboboxQuocTich(cmbQuocTich);
            TG.LayComboboxTonGiao(cmbTonGiao);
            DT.LayComboboxDanToc(cmbDanToc);

            cmdDKDiaChi.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmdDKDiaChi.SelectedIndex = 0;
            cmbDKDanToc.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmbDKDanToc.SelectedIndex = 0;
            cmbDKQuocTich.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmbDKQuocTich.SelectedIndex = 0;
            cmbDKCMND.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmbDKCMND.SelectedIndex = 0;
            cmdDKGioiTinh.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmdDKGioiTinh.SelectedIndex = 0;
            cmbDKTonGiao.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmbDKTonGiao.SelectedIndex = 0;
            cmdDKMSSV.Items.AddRange(new string[] { "None", "And", "Or", "And Not", "Or Not" });
            cmdDKMSSV.SelectedIndex = 0;
        }
        private void frmSuaSinhVien_Load(object sender, EventArgs e)
        {
            QuocTichCtrl QT = new QuocTichCtrl();
            TonGiaoCtrl  TG = new TonGiaoCtrl();
            DanTocCtrl   DT = new DanTocCtrl();

            QuanHeCtrl     QH = new QuanHeCtrl();
            NgheNghiepCtrl NN = new NgheNghiepCtrl();

            QT.LayComboboxQuocTich(cmbQuocTich);
            TG.LayComboboxTonGiao(cmbTonGiao);
            DT.LayComboboxDanToc(cmbDanToc);

            QH.LayComboboxQuanHe(cmbQuanHeThanNhan);
            NN.LayComboboxNgheNghiep(cmbNgheNghiepThanNhan);

            ctrl.LayDSSVLenListView_Sua(listSinhVien);
        }
        private void frmThemSinhVien_Load(object sender, EventArgs e)
        {
            QuocTichCtrl QT = new QuocTichCtrl();
            TonGiaoCtrl  TG = new TonGiaoCtrl();
            DanTocCtrl   DT = new DanTocCtrl();

            QuanHeCtrl     QH = new QuanHeCtrl();
            NgheNghiepCtrl NN = new NgheNghiepCtrl();

            QT.LayComboboxQuocTich(cmbQuocTich);
            TG.LayComboboxTonGiao(cmbTonGiao);
            DT.LayComboboxDanToc(cmbDanToc);

            QH.LayComboboxQuanHe(cmbQuanHeThanNhan);
            NN.LayComboboxNgheNghiep(cmbNgheNghiepThanNhan);

            txtMaKTX.Text = SVCtrl.LayMaKTX();
        }
        private void btnThemDanToc_Click(object sender, EventArgs e)
        {
            DanTocCtrl DT = new DanTocCtrl();

            QLKTX.Dialog.DiaLog_ThemDanToc t = new QLKTX.Dialog.DiaLog_ThemDanToc();
            t.StartPosition = FormStartPosition.Manual;
            //t.Location = p;
            t.Left = this.Location.X + groupThongTin.Location.X + groupXaHoi.Location.X + btnThemDanToc.Location.X + btnThemDanToc.Height + 12;
            t.Top  = this.Location.Y + groupThongTin.Location.Y + groupXaHoi.Location.Y + btnThemDanToc.Location.Y + btnThemDanToc.Width + 12;

            t.ShowDialog();


            if (t.DialogResult == DialogResult.Yes)
            {
                DT.LayComboboxDanToc(cmbDanToc);
                cmbDanToc.Text = t.TenDT;
            }
        }