A receiver or receiver-manager of a company appointed by the court shall act in accordance with the directions of the court.