private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (RaTruong == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruong();
         BaoCao.BaoCao.Kieu   = "RaTruong";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
     if (RaTruong_NhanBang == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruongDuocNhanBang();
         BaoCao.BaoCao.Kieu   = "RaTruong_NhanBang";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
         RaTruong_NhanBang = 0;
     }
     if (RaTruong_KhongBang == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruongKhongDuocNhanBang();
         BaoCao.BaoCao.Kieu   = "RaTruong_KhongBang";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
         RaTruong_KhongBang = 0;
     }
 }
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (XacNhanIn == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaSinhVien            = txtMaSo.Text;
         BaoCao.BaoCao.DuLieu     = cls_BD.LayKetQuaHocTap(BD);
         BaoCao.BaoCao.Kieu       = "KetQuaRaTruong";
         BaoCao.BaoCao.TichLuy    = txtSoTCTichLuy.Text;
         BaoCao.BaoCao.He10       = txtDiemTLHe10.Text;
         BaoCao.BaoCao.He4        = txtDiemTLHe4.Text;
         BaoCao.BaoCao.HoTen      = txtHoTen.Text;
         BaoCao.BaoCao.MaSinhVien = txtMaSo.Text;
         BaoCao.BaoCao.Lop        = txtLop.Text;
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
     if (XacNhanIn == 1)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaSinhVien            = txtMaSo.Text;
         BD.MaHocKy               = cbHocKy.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu     = cls_BD.LayDiemTheoKySinhVien(BD);
         BaoCao.BaoCao.Kieu       = "KetQuaHocKy";
         BaoCao.BaoCao.TichLuy    = txtSoTCDat.Text;
         BaoCao.BaoCao.He10       = txtDiemTBHe10.Text;
         BaoCao.BaoCao.He4        = txtDiemTBHe4.Text;
         BaoCao.BaoCao.HoTen      = txtHoTen.Text;
         BaoCao.BaoCao.MaSinhVien = txtMaSo.Text;
         BaoCao.BaoCao.Lop        = txtLop.Text;
         BaoCao.BaoCao.HocKy      = cbHocKy.Text;
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
 }
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     SinhVien_ThongTin SV = new SinhVien_ThongTin();
     SV.MaSinhVien = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_SinhVien.TimKiemSinhVien(SV);
     BaoCao.BaoCao.Kieu = "TimKiemSinhVien";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     MonHoc_ThongTin MH = new MonHoc_ThongTin();
     MH.MaMonHoc = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_MonHoc.TimMonHoc(MH);
     BaoCao.BaoCao.Kieu = "TimKiemMonHoc";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     HocKy_ThongTin HK = new HocKy_ThongTin();
     HK.MaHocKy = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_HocKy.TimKiemHocKy(HK);
     BaoCao.BaoCao.Kieu = "TimKiemHocKy";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     HeDaoTao_ThongTin HDT = new HeDaoTao_ThongTin();
     HDT.MaHe = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_HeDaoTao.TimKiemHeDaoTao(HDT);
     BaoCao.BaoCao.Kieu = "TimKiemHeDaoTao";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     DangNhap_ThongTin DN = new DangNhap_ThongTin();
     DN.TaiKhoan = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_DangNhap.TimKiemTaiKhoan(DN);
     BaoCao.BaoCao.Kieu = "TimKiemTaiKhoan";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     NganhDaoTao_ThongTin NDT = new NganhDaoTao_ThongTin();
     NDT.MaNganh = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_NganhDaoTao.TimKiemThongTinNganhDaoTao(NDT);
     BaoCao.BaoCao.Kieu = "TimKiemNganhDaoTao";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     Lop_ThongTin Lop = new Lop_ThongTin();
     Lop.MaLop = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_Lop.TimKiemLopHoc(Lop);
     BaoCao.BaoCao.Kieu = "TimKiemLopHoc";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     KhoaHoc_ThongTin KH = new KhoaHoc_ThongTin();
     KH.MaKhoaHoc = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_KhoaHoc.TimKiemKhoaHoc(KH);
     BaoCao.BaoCao.Kieu = "TimKiemKhoaHoc";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
Пример #11
0
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     Khoa_ThongTin Khoa = new Khoa_ThongTin();
     Khoa.MaKhoa = txtTimKiem.Text;
     BaoCao.BaoCao.DuLieu = cls_Khoa.TimKiemKhoa(Khoa);
     BaoCao.BaoCao.Kieu = "TimKiemKhoa";
     BaoCao.BaoCao BC = new BaoCao.BaoCao();
     BC.ShowDialog();
 }
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            KhoaHoc_ThongTin KH = new KhoaHoc_ThongTin();

            KH.MaKhoaHoc         = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_KhoaHoc.TimKiemKhoaHoc(KH);
            BaoCao.BaoCao.Kieu   = "TimKiemKhoaHoc";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
        //IN BÁO CÁO
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            Lop_ThongTin Lop = new Lop_ThongTin();

            Lop.MaLop            = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_Lop.TimKiemLopHoc(Lop);
            BaoCao.BaoCao.Kieu   = "TimKiemLopHoc";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #14
0
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            MonHoc_ThongTin MH = new MonHoc_ThongTin();

            MH.MaMonHoc          = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_MonHoc.TimMonHoc(MH);
            BaoCao.BaoCao.Kieu   = "TimKiemMonHoc";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #15
0
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            HocKy_ThongTin HK = new HocKy_ThongTin();

            HK.MaHocKy           = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_HocKy.TimKiemHocKy(HK);
            BaoCao.BaoCao.Kieu   = "TimKiemHocKy";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #16
0
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            Khoa_ThongTin Khoa = new Khoa_ThongTin();

            Khoa.MaKhoa          = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_Khoa.TimKiemKhoa(Khoa);
            BaoCao.BaoCao.Kieu   = "TimKiemKhoa";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #17
0
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            HeDaoTao_ThongTin HDT = new HeDaoTao_ThongTin();

            HDT.MaHe             = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_HeDaoTao.TimKiemHeDaoTao(HDT);
            BaoCao.BaoCao.Kieu   = "TimKiemHeDaoTao";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #18
0
        //IN BÁO CÁO
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            SinhVien_ThongTin SV = new SinhVien_ThongTin();

            SV.MaSinhVien        = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_SinhVien.TimKiemSinhVien(SV);
            BaoCao.BaoCao.Kieu   = "TimKiemSinhVien";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #19
0
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            NganhDaoTao_ThongTin NDT = new NganhDaoTao_ThongTin();

            NDT.MaNganh          = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_NganhDaoTao.TimKiemThongTinNganhDaoTao(NDT);
            BaoCao.BaoCao.Kieu   = "TimKiemNganhDaoTao";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
        private void btInBaoCao_Click(object sender, EventArgs e)
        {
            DangNhap_ThongTin DN = new DangNhap_ThongTin();

            DN.TaiKhoan          = txtTimKiem.Text;
            BaoCao.BaoCao.DuLieu = cls_DangNhap.TimKiemTaiKhoan(DN);
            BaoCao.BaoCao.Kieu   = "TimKiemTaiKhoan";
            BaoCao.BaoCao BC = new BaoCao.BaoCao();
            BC.ShowDialog();
        }
Пример #21
0
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (HocKy == 1 && Khoa == 0 && Top == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy           = cbHocKy.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong(BD);
         BaoCao.BaoCao.Kieu   = "HocBong";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BC.ShowDialog();
     }
     if (HocKy == 1 && Khoa == 1 && Top == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy           = cbHocKy.SelectedValue.ToString();
         BD.MaMonHoc          = cbKhoa.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong_Khoa(BD);
         BaoCao.BaoCao.Kieu   = "HocBong_Khoa";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BaoCao.BaoCao.Khoa  = cbKhoa.Text;
         BC.ShowDialog();
         Khoa = 0;
     }
     if (HocKy == 1 && Khoa == 1 && Top == 1)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy           = cbHocKy.SelectedValue.ToString();
         BD.MaMonHoc          = cbKhoa.SelectedValue.ToString();
         BD.MaSinhVien        = txtTop.Text;
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong_Khoa_Top(BD);
         BaoCao.BaoCao.Kieu   = "HocBong_Khoa_Top";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BaoCao.BaoCao.Khoa  = cbKhoa.Text;
         BaoCao.BaoCao.Top   = txtTop.Text;
         BC.ShowDialog();
         Khoa = 0;
         Top  = 0;
     }
 }
Пример #22
0
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (HocKy == 1 && Khoa == 0 && Top == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy = cbHocKy.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong(BD);
         BaoCao.BaoCao.Kieu = "HocBong";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BC.ShowDialog();
     }
     if (HocKy == 1 && Khoa == 1 && Top == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy = cbHocKy.SelectedValue.ToString();
         BD.MaMonHoc = cbKhoa.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong_Khoa(BD);
         BaoCao.BaoCao.Kieu = "HocBong_Khoa";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BaoCao.BaoCao.Khoa = cbKhoa.Text;
         BC.ShowDialog();
         Khoa = 0;
     }
     if (HocKy == 1 && Khoa == 1 && Top == 1)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaHocKy = cbHocKy.SelectedValue.ToString();
         BD.MaMonHoc = cbKhoa.SelectedValue.ToString();
         BD.MaSinhVien = txtTop.Text;
         BaoCao.BaoCao.DuLieu = cls_BangDiem.DanhSachSinhVienXetHocBong_Khoa_Top(BD);
         BaoCao.BaoCao.Kieu = "HocBong_Khoa_Top";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BaoCao.BaoCao.Khoa = cbKhoa.Text;
         BaoCao.BaoCao.Top = txtTop.Text;
         BC.ShowDialog();
         Khoa = 0;
         Top = 0;
     }
 }
 //IN BÁO CÁO
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (XacNhanIn == 0)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaSinhVien = txtMaSo.Text;
         BaoCao.BaoCao.DuLieu = cls_BD.LayKetQuaHocTap(BD);
         BaoCao.BaoCao.Kieu = "KetQuaRaTruong";
         BaoCao.BaoCao.TichLuy = txtSoTCTichLuy.Text;
         BaoCao.BaoCao.He10 = txtDiemTLHe10.Text;
         BaoCao.BaoCao.He4 = txtDiemTLHe4.Text;
         BaoCao.BaoCao.HoTen = txtHoTen.Text;
         BaoCao.BaoCao.MaSinhVien = txtMaSo.Text;
         BaoCao.BaoCao.Lop = txtLop.Text;
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
     if (XacNhanIn == 1)
     {
         BangDiem_ThongTin BD = new BangDiem_ThongTin();
         BD.MaSinhVien = txtMaSo.Text;
         BD.MaHocKy = cbHocKy.SelectedValue.ToString();
         BaoCao.BaoCao.DuLieu = cls_BD.LayDiemTheoKySinhVien(BD);
         BaoCao.BaoCao.Kieu = "KetQuaHocKy";
         BaoCao.BaoCao.TichLuy = txtSoTCDat.Text;
         BaoCao.BaoCao.He10 = txtDiemTBHe10.Text;
         BaoCao.BaoCao.He4 = txtDiemTBHe4.Text;
         BaoCao.BaoCao.HoTen = txtHoTen.Text;
         BaoCao.BaoCao.MaSinhVien = txtMaSo.Text;
         BaoCao.BaoCao.Lop = txtLop.Text;
         BaoCao.BaoCao.HocKy = cbHocKy.Text;
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
 }
 private void btInBaoCao_Click(object sender, EventArgs e)
 {
     if (RaTruong == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruong();
         BaoCao.BaoCao.Kieu = "RaTruong";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
     }
     if (RaTruong_NhanBang == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruongDuocNhanBang();
         BaoCao.BaoCao.Kieu = "RaTruong_NhanBang";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
         RaTruong_NhanBang = 0;
     }
     if (RaTruong_KhongBang == 1)
     {
         BaoCao.BaoCao.DuLieu = cls_SinhVien.DanhSachSinhVienRaTruongKhongDuocNhanBang();
         BaoCao.BaoCao.Kieu = "RaTruong_KhongBang";
         BaoCao.BaoCao BC = new BaoCao.BaoCao();
         BC.ShowDialog();
         RaTruong_KhongBang = 0;
     }
 }