The MDBTreeNet User Control

The MDBTreeNet user control is an enhanced .NET version of the PI-MDBTree ActiveX control. It offers the features and functionality of the COM-version augmented with a rich set of database maintenance features, such as New, Edit, Delete, Copy/Paste/Move, Drag and Drop and module value/history maintenance.

The basic concepts, functionally and visual interface is shared between the two version, please review the PI-MDBTree section for details.

The added functionality for database maintenance can be accessed via expanded context menus, property dialog forms and drag & drop features provided that the control is in edit-mode (style set to ADMIN).

The context menus include, in addition to standard features like delete and edit, numerous copy/paste options. By selecting a proper menu item, the users can paste current value of a module, all values of a module, current hierarchy/tree branch and full value hierarchy/tree branch. Drag & Drop with special key sequences/combinations offer equivalent copy features.

The property/attribute dialog forms are similar to those in the COM-version but can be used to create new or modify existing modules, aliases, properties and headings.

Module value (or history) maintenance is available as an independent dialog form. This form is specifically designed for maintenance of all values of a selected module, one value at a time, and the immediate child modules, aliases and properties of the selected value.

The form is a modeless dialog and can interact with the tree; users are able to copy, paste and Drag & Drop data between the form and the tree.

Details on how to use the MDBTreeNet control and the associated dialogs can be found in the PISDKTools User reference.

What the control looks like in the Visual Studio.NET toolbox.

 

What the control looks like in an application.

  

When to Use the MDBTree Control

This control can be used in place of the PI-MDBTree ActiveX control in native .NET applications and in cases when the interactive users must be able to modify and maintain module databases.

Enabling Operational Intelligence