To create multiple forms, see the following example.
-
From Solution Explorer, right-click TestForm, add a new Windows form, and name it TestForm2.
For information about adding a new windows form, see Add a new Windows form.
-
Change the background of the form to any image, as shown in the following illustration, and add controls.
For more information, see Design the symbol background and Place a control on the form.
-
Go to the main TestForm, Add a Button, and rename the button as Insulation.
-
Double-click the button to be directed to the code page, and type the following text:
TestForm1.TestForm2 oTestForm2 = null;
oTestForm2 = new TestForm1.TestForm2();
Form oFrm = (Form)oTestForm2;
oFrm.ShowDialog();
-
Save and Build the solution.
-
Open Smart 3D, and go to the Catalog task. Type 'TestForm,TestForm.TestForm' on the FormDefinition column of the Equipment part in the Catalog task, as shown in the following example.