Voting finished in Myanmar's three-stage general election on Sunday with the dominant pro-military party on course for a landslide victory in a junta-run vote that critics say was neither free nor democratic, and designed to legitimize the military's rule.