Is this a single zap when you touch the case?
Or, is it a continuous shock when you touch the case.
In the case of a single shock each time you touch the case, your problem is static electricity.
The friction between your chair and the carpet or chair pad is generating a static charge.
Your computer case being grounded simply provides a path for the static electricity to discharge.
If this just recently started, one possible trigger is your heating system. Most heating systems reduce the humidity of the air increasing the chance and strength of static charges.
Using a humidifier near the computer can help.
In the case of a continuous shock when you touch the case, you have an electrical problem.
DO NOT USE THE PC OR ELECTRICAL OUTLET UNTIL THIS PROBLEM IS CHECKED BY A QUALIFIED INDIVIDUAL!!!!!
While it might be a problem with the power supply in the PC, it is also possible that the safety ground on the outlet has failed. Or some other wiring problem exists.
There are various ways to check for either issue that require special tools and equipment.
Chas