private void btnCapNhat_Click(object sender, EventArgs e)
        {
            int tuoiToiThieu    = Int32.Parse(txtTuoiToiThieu.Text);
            int tuoiToiDa       = Int32.Parse(txtTuoiToiDa.Text);
            int thoiHanGTThe    = Int32.Parse(txtThoiHanGiaTriThe.Text);
            int khoangCachNXB   = Int32.Parse(txtKhoangCachNamXuatBan.Text);
            int soLuongSachMuon = Int32.Parse(txtSoLuongSachMuon.Text);
            int soNgayMuon      = Int32.Parse(txtSoNgayMuon.Text);
            int tienPhat        = Int32.Parse(txtTienPhat.Text);

            try
            {
                ThamSoBUS.UpdateThamSo(tuoiToiThieu, tuoiToiDa, thoiHanGTThe, khoangCachNXB, soLuongSachMuon, soNgayMuon, tienPhat);
                MessageBox.Show(this, "Cập nhật quy định thành công", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
                LoadThamSo();
            }
            catch
            {
                MessageBox.Show(this, "Không thể cập nhật quy định", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }