a method of molding resin on a thin - film resin substrate having a first surface provided with an electronic circuit and a second unleveled surface opposite the first surface is disclosed . the method includes the steps of : a ) providing deformation restricting means for the substrate ; and b ) molding the resin on the first surface .