Example #1
0
        private void btnThem_Click(object sender, EventArgs e)
        {
            ThemTieuDe frmThemTieuDe = new ThemTieuDe();

            frmThemTieuDe.ShowDialog();
            lst = busTD.LayToanBoTieuDe();
            LoadDataDgvTieuDe();
        }
Example #2
0
 private void QLTieuDe_Load(object sender, EventArgs e)
 {
     busTD   = new busTieuDe();
     busLoai = new busLoaiDia();
     busD    = new busDia();
     dts     = new DataTable();
     lst     = busTD.LayToanBoTieuDe();
     LoadDataDgvTieuDe();
 }
 private void tbxLoc_TextChanged(object sender, EventArgs e)
 {
     if (!String.IsNullOrEmpty(tbxLoc.Text) && !String.IsNullOrWhiteSpace(tbxLoc.Text))
     {
         lst = busTD.LayTieuDeCoTen(tbxLoc.Text);
         LoadDataDgvTieuDe();
     }
     else
     {
         lst = busTD.LayToanBoTieuDe();
         LoadDataDgvTieuDe();
     }
 }