.NET framework libraries


.NET Framework Components for GUI/HMI Development.

libraries

NCnetic components for interpreting and plotting complex NC files are available within the .NET environment.

Create powerful interfaces for your CNC machines with NCnetic UI components for WinForms and WPF.

Demo projects

Visual Studio Installation Guide

  • Download the dll:
  • Add NCnetic DLL References:
    • Right-click on your project in the Solution Explorer pane.
    • Select Add > Reference….
    • In the Reference Manager dialog, click Browse.
    • Navigate to the folder where your NCnetic DLL(s) are located. Select the relevant DLL files and click Add.
  • Add NCnetic Components to the Toolbox:
    • Open the Choose Toolbox Items Dialog.
    • Go to the .NET Framework Components tab, click the Browse button and select your NCnetic DLL file.
  • Add NCnetic Components to Your UI - WinForms:
    • Open the Designer view of your form.
    • Drag a Panel or other container control to the form as a placeholder for the NCnetic component.
    • In your form constructor, start the control:
// Trial license key (1000 instructions limit)
string Key = "<License>\r\n  <ExpirationDate>9999-12-31T23:59:59.9999999</ExpirationDate>\r\n  <ID>TRIAL</ID>\r\n  <Modules>\r\n    <string>5AXIS</string>\r\n  </Modules>\r\n  <Signature>FaK0svHlTpY6j5HpvEh+7n3JANw8tDGaSOvLzI/P547nWwHYpTF8R+dGYOjMt/T/yJZ1XuY/z9JeAx6DSF9UF6A7BykSEosBlvF9CehXrZG/n0g/ndVI6lQZsrbXo3hH1q7yeOtR5ZEY72FS1q+RrdDUKrMLKlbwvU2+uCihzY8=</Signature>\r\n</License>";

public Form1()
{
   InitializeComponent();
   ncView1.Start(Key);
}
  • Add NCnetic Components to Your UI - WPF:
    • Open your XAML file and add NCnetic components as needed:
<Window x:Class="YourNamespace.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:NCneticLib="clr-namespace:NCneticLib;assembly=NCneticLib">
    <Grid>
        <NCneticLib:ncView Name="view"/>
    </Grid>
</Window>
  • In your window constructor, start the ncView control:
// Trial license key (1000 instructions limit)
string Key = "<License>\r\n  <ExpirationDate>9999-12-31T23:59:59.9999999</ExpirationDate>\r\n  <ID>TRIAL</ID>\r\n  <Modules>\r\n    <string>5AXIS</string>\r\n  </Modules>\r\n  <Signature>FaK0svHlTpY6j5HpvEh+7n3JANw8tDGaSOvLzI/P547nWwHYpTF8R+dGYOjMt/T/yJZ1XuY/z9JeAx6DSF9UF6A7BykSEosBlvF9CehXrZG/n0g/ndVI6lQZsrbXo3hH1q7yeOtR5ZEY72FS1q+RrdDUKrMLKlbwvU2+uCihzY8=</Signature>\r\n</License>";

public MainWindow()
{
   InitializeComponent();
   view.Start(Key);
}