Embedding the Form Region in Your Project

Next, you will add to your project the MySimpleFormRegion.ofs form region that you created earlier.

1. Click Project, and in the main menu click Add Existing Item. You also need to embed the MySimpleFormRegion.ofs as a resource in the assembly.

2. In the main menu, click Project and then SimpleFormRegion Properties.

3. Click the Resources tab, and select Files from the first drop-down menu in the Resources pane.

4. Drag and drop the MySimpleFormRegion.ofs file from Solution Explorer into the Resources pane to embed the file as a resource. You will see the MySimpleFormRegion file in the resources pane, as shown in Figure 14.40.

Figure 14.40. Embedded Outlook form region file
0 0

Post a comment