The gunman who killed one person and wounded five others in northwest Washington on Thursday attributed the attack to his long-standing frustrations with the management of the condominium complex where he lived, according to a building manager who spoke with him shortly after the shooting.