Thanks. I've now generated the example successfully. However, there are many discrepancies from the description in FTN95 Help, so here's the method that worked for me.
In the Visual Studio main menu, select ‘File > New > Project…’. In the ‘New Project’ dialog, select ‘Project types: Visual C# > Windows’, ‘Templates: Windows Forms Application’, and ‘.NET Framework 2.0’; check ‘Create directory for solution’; set ‘Name: Resources1’ (default ‘WindowsFormsApplication1’), ‘Location: D:\ftn\tests\Visual Clearwin’, ‘Solution Name: Solution3’ (default ‘Resources1’); click ‘OK’. A solution ‘Solution3’ is created, containing a project ‘Resources1’. A new blank form is displayed in a design view.
Make sure that ‘Solution Explorer’, ‘Properties’, and ‘Toolbox’ windows are visible (via the ‘View’ menu). The ‘Solution Explorer’ window displays a tree comprising the solution, its projects, and the components of the projects.
The ‘Properties’ window shows properties of the item selected in ‘Solution Explorer’, or of an item selected in a design view. In most cases, all of the properties can be viewed and set in the ‘Properties’ window. However, the properties of solutions and projects are set in additional windows. To display these windows, right click on the solution or project in the ‘Solution Explorer’ window, and select ‘Properties’; alternatively, select the solution or project in the ‘Solution Explorer’ window, and click the ‘Property Pages’ button in the ‘Properties’ window. The ‘Property Pages’ of a solution, and of some projects, is a dialog with title ‘name Property Pages’. The ‘Property Pages’ of other projects is a tab in the main pane; this is called a ‘Project Designer’ in the Visual Studio help.
Display the ‘Project Designer’ for ‘Resources1’. In the ‘Application’ tab, set ‘Output Type: Class Library’. Close the ‘Project Designer’.
If this is your first use of ‘Visual ClearWin’, it’s necessary to add the ‘Visual ClearWin’ controls to the ‘Toolbox’ as follows. Right click on the ‘Toolbox’ and select ‘Add Tab’. Enter the name ‘Visual Clearwin’ for the tab. Right click on this tab, and select ‘Choose Items…’. In the resulting ‘Choose Toolbox Items’ dialog, select the tab for ‘.NET Framework Components’. Click ‘Browse…’, select ‘\Program Files\Silverfrost\FTN95\redist\Salford.VisualClearWin.dll’, and click ‘Open’. In the ‘Choose Toolbox Items’, all of the items in the Namespace ‘Salford.VisualClearWin’ are automatically selected. Click ‘OK’.
Now construct a form similar to that shown in FTN95 Help. To add a component to the form, select an item in the toolbox and drag a rectangle in the design view. Use the ‘Properties’ window for the form and for each component in order to create the visual attributes that you want. It is not necessary to view the code for the form. The input and output boxes on the form must use the ‘Visual ClearWin’ control ‘Double_Box’. ‘Value’ and ‘Result’ use the ‘Label’ control, and the ‘Square’ button uses the ‘Button’ control. In the properties for the button control, make sure that the ‘DialogResult’ property is set to ‘None’ (if the properties are ‘Categorized’, ‘DialogResult’ is under ‘Behaviour’).
In the References for the project, make sure that there is a reference to ‘Salford.VisualClearWin’.
(To be continued)