Dichlor and trichlor are 'stabilized chlorine'. They are in solid form, granules or tablets/pucks. They contain cyanuric acid, the stabilizer, which protects the chlorine from being broken down by the sun.

Whether chlorine is added as some concentration of bleach in liquid form or as a solid, in the end it's all chlorine and sanitizes the same.