private void btnTraCuuDataDiem_Click(object sender, EventArgs e)
        {
            if (tb_TTD_NamHoc.Text == "" || KiemtraSpace(tb_TTD_NamHoc.Text) == 0 || tb_TTD_HocKy.Text == "" || KiemtraSpace(tb_TTD_HocKy.Text) == 0 || tb_TTD_MaCD.Text == "" || KiemtraSpace(tb_TTD_MaCD.Text) == 0)

            {
                MessageBox.Show("Thông tin tra cứu không hợp lệ.", "Thông báo");
                return;
            }
            if (tb_TTD_MaSV.Text == "" || KiemtraSpace(tb_TTD_MaSV.Text) == 0)
            {
                var tab = new VIEW_DTO.GiaoVu.TraCuuDiem
                {
                    namhoc = tb_TTD_NamHoc.Text,
                    hocky  = Int32.Parse(tb_TTD_HocKy.Text),
                    macd   = tb_TTD_MaCD.Text,
                    tencd  = tb_TTD_TenCD.Text
                };
                if (tb_TTD_TenCD.Text == "" || KiemtraSpace(tb_TTD_TenCD.Text) == 0)
                {
                    tab.tencd = "no";
                }

                panelTrangChu.Visible = false;
                panel.Visible         = true;
                this.panel.Controls.Clear();
                ContentTraCuuDiem frm = new ContentTraCuuDiem(tab);
                frm.TopLevel        = false;
                frm.FormBorderStyle = FormBorderStyle.None;
                frm.AutoScroll      = true;
                this.panel.Controls.Add(frm);
                frm.Show();
            }
            else
            {
                var tab = new VIEW_DTO.GiaoVu.TraCuuDiemSV
                {
                    namhoc = tb_TTD_NamHoc.Text,
                    hocky  = Int32.Parse(tb_TTD_HocKy.Text),
                    macd   = tb_TTD_MaCD.Text,
                    tencd  = tb_TTD_TenCD.Text,
                    mand   = tb_TTD_MaSV.Text,
                    tennd  = tb_TTD_TenSV.Text
                };
                panelTrangChu.Visible = false;
                panel.Visible         = true;
                this.panel.Controls.Clear();
                ContentTraCuuDiem frm = new ContentTraCuuDiem(tab);
                frm.TopLevel        = false;
                frm.FormBorderStyle = FormBorderStyle.None;
                frm.AutoScroll      = true;
                this.panel.Controls.Add(frm);
                frm.Show();
            }
        }
        private void kick_contentTraCuuSV()
        {
            panelTrangChu.Visible = false;
            panel.Visible         = true;
            panel.Controls.Clear();
            ContentTraCuuDiem frm1 = new ContentTraCuuDiem();

            frm1.TopLevel        = false;
            frm1.FormBorderStyle = FormBorderStyle.None;
            panel.Controls.Add(frm1);
            frm1.Show();
        }