I've only used the case from a 540 to make my 540c (with PPC upgrade), which was bought at an estate sale in pieces, whole again. But I think the 520, 520c, 540, and 540c all share the same model number. If it's the same resolution, I'm guessing it will be a direct swap.
While you're in...