Nevron Open Vision Documentation
Getting Started / Project Templates
In This Topic
    Project Templates
    In This Topic

    NOV comes with a set of project templates that you can use to quickly create a new NOV application. To create a new NOV application using a template open the "New Project" dialog of Visual Studio and select one of the NOV project templates located at "Installed -> Templates -> Visual C# -> Nevron Open Vision". The source code produced by any of the NOV project templates is heavily commented and you should pay special attention to the places commented with "TODO:". These are the places you are going to put your custom code most often. To highlight these places you can click View and then Task List in Visual Studio.

     WinForms

    The WinForms category of NOV projects lets you quickly create a NOV based WinForms project. You can then create forms and add NOV widgets to them either through code or using the WinForms designer. The following NOV WinForms project templates are currently available:

    • NOV Windows Forms Application - creates a generic NOV Windows Forms application.
    • NOV Windows Forms Chart Application - creates a NOV Windows Forms application that contains a chart view in its main form.
    • NOV Windows Forms Grid Application - creates a NOV Windows Forms application that contains a table grid view in its main form.
    • NOV Windows Forms Diagram Application - creates a NOV Windows Forms application that contains a drawing view with ribbon in its main form.
    • NOV Windows Forms Schedule Application - creates a NOV Windows Forms application that contains a schedule view with ribbon in its main form.
    • NOV Windows Forms Text Editor Application - creates a NOV Windows Forms application that contains a rich text view with ribbon in its main form.

    All projects are available in 2 versions: one for .NET Framework 5.0 and one for .NET Framework 4.7.2. The title of the projects for .NET Framework 4.7.2 ends with "(.NET Framework)".

     WPF

    The WPF category of NOV projects lets you quickly create a NOV based WPF project. You can then create windows and add NOV widgets to them either through code or using the WPF designer. The following NOV WPF project templates are currently available:

    • NOV WPF Application - creates a generic NOV WPF application.
    • NOV WPF Chart Application - creates a NOV WPF application that contains a chart view in its main window.
    • NOV WPF Grid Application - creates a NOV WPF application that contains a table grid view in its main window.
    • NOV WPF Diagram Application - creates a NOV WPF application that contains a drawing view with ribbon in its main window.
    • NOV WPF Schedule Application - creates a NOV WPF application that contains a schedule view with ribbon in its main window.
    • NOV WPF Text Editor Application - creates a NOV WPF application that contains a rich text view with ribbon in its main window.

    All projects are available in 2 versions: one for .NET Framework 5.0 and one for .NET Framework 4.7.2. The title of the projects for .NET Framework 4.7.2 ends with "(.NET Framework)".

     Cross Platform

    The Cross Platform category of NOV projects lets you quickly create a cross platform NOV application that runs on all currently supported platforms. NOV cross platform application templates are typically multi-project templates that consist of a .NET Standard 2.0 library and an executable application project for each of the supported platforms. Each of the application projects references the .NET Standard class library. You should place all your code (i.e. the UI and the application logic) in the .NET Standard class library and thus your application will run from a single codebase and look exactly the same on all supported platforms. To see how it looks on a particular platform, right click the application for this platform in the Solution Explorer of Visual Studio, select "Set as StartUp Project" and run it.

    The following NOV portable project templates are currently available:

    • NOV Cross Platform Application - creates a generic NOV cross platform application.
    When creating a cross platform NOV application you should not use the designer because it produces platform specific code. You should create the UI of a cross platform NOV application only through code. For more information read the topics in the User Interface folder.
    See Also