.NET Interface

The .NET interface enables seamless integration between PxPlus and the .NET ecosystem. This interface allows developers to leverage the power of .NET's robust libraries in PxPlus when using .NET applications.

The .NET interface supports running on WindX client machines. See Important Note below.

(The .NET interface was added in PxPlus 2025.)

A number of ways are available to define and interact with a .NET object. A .NET object can be created in a PxPlus program or in a NOMADS panel.

PxPlus Program

The DEF OBJECT directive is used to create a new instance of a .NET control. The .NET control can be a graphical (visible) control or a data (invisible) control. Once you define a .NET object, you can use it like any PxPlus object through properties, methods and events.

The ON EVENT directive is used to activate support for individual .NET control events for use in PxPlus applications. All .NET events have two arguments, sender and evtArgs, where sender is the .NET object that triggered the event while evtArgs is a .NET object that contains additional event arguments, if needed. Event arguments are supported only when handling events via a class.

NOMADS Panel

The External Control Properties dialogue is used to create a .NET object in a NOMADS panel where .NET properties and events can be added.

Important Note:
All formats are Windows only, and you must have installed Windows Desktop Runtime 8.

If using 64-bit PxPlus, you must have the x64 Runtime installed. If using 32-bit PxPlus, you must have the x86 Runtime installed.

The .NET interface can be used when running under WindX, in which case, Windows Desktop Runtime 8 must be installed on client machines.

See Also

How To Tutorials (for .NET Interface)