The framework of a switchgear cabinet is formed by identical frame sections in the shape of corner-pieces whose edges are folded at right angles to form folded ends. The edges of the corner-pieces are moreover joined together by a diagonal sealing partition which provides the sealing between the two panels of the cabinet forming the angular junction. The panels with folded edges are fixed to the frame sections by parts.