Add items to your project

Your Application Forms project may need more than just a main form. The Application Forms item templates makes it easy to add dialog boxes, wizards, master detail, and other supporting forms.

Contents

Add new item to your project

Figure 1: Adding new item to the Visual Studio project

  1. In Solution Explorer, open the context menu for your project, point to Add, and select New Item...
  2. In Add New Item dialog, select the IFS Application Forms sub category to display all available Application Forms templates.
  3. Select the Item Template that corresponds to the item type that you want to add.
  4. Adjust the name before closing the dialog

    IFS naming convention for an Application Forms window class item is <prefix><identifier>. Example a form class can be named frmMyNewForm. The different templates will give you a default value for the item that show the recommended item prefix.

Adjust location

The general guideline for Application Forms development suggests that top level forms are placed in a subfolder named Forms, classes in Classes and user controls in Controls. For new projects the default form is created in a Forms folder, so that folder is created automatically. For classes and controls you should create the folder and move the newly created item there.