He later visited the headquarters of the software giant Microsoft in Redmond , and his evening plans included dining with local dignitaries at the Medina mansion of Bill Gates , the company 's chairman .