Method of forming a housing for an electronic device