The example demonstrates how to handle FileOk event of the OpenFileDialog dialog box.
Download the file by clicking the link above.