Calling Iron Python Code

Before we can use IronPython code in our application, we need to add references to the libraries I mentioned earlier in the chapter. Right-click on the IPEngine project and click Add Reference. Click the Browse tab you'll need to locate the directory on which IronPython is installed on your hard drive. For me, that's C Program Files IronPython 2.0. Once you've browsed to the correct folder, you'll see a variety of files listed in the folder. Hold down the Ctrl key and left-click on...

Open Sesame

The task of displaying a functional dialog box that is suitable for opening or saving files is essentially boilerplate code. One of the great things about .NET is that it provides a huge library of boilerplate code snippets to do all of the basic Windows tasks. So not only is it simple to display Open and Close dialog windows, but they're also standardized in appearance so that users have little if any learning curve with our application's basic operations. Let's start to use these code...