From http://www.devbook.cz/c-sharp-tutorial-windows-forms-dialogy