glue the mitered corners of the mdf door trim casing

Hold the piece in place long enough for the mitered pieces to tack up.