Up | .Net 1.1 with Scorpion Examples | Winforms Controls Samples

Example 01 - StructuredPropertyBag | Example 02 - WinForms Controls | Example 3 - Custom User Interface | Example 04 - TCP Socket Communication | Example 05 - Simple Text Print | Example 06 - Modeless .Net Dialog | Example 07 - StopWatch | Example 08 - Product Selection Page | Example 09 - PyScripter - Eclipse Test Program | Example 10 - Access Control with custom .Net Plugin
 

  

 
.Net 1.1 with Scorpion Examples

To use .NET GUI (Graphical User Interface) components embedded into the existing Scorpion GUI, a specially developed component Tordivel.OverlayPanel is to be used. The OverlayPanel is a .NET Panel control that may cover an already existing window area in the Scorpion GUI.

Possible Scorpion window areas that may host the .NET OverlayPanel are:

- ResultPanel on the left hand side of the Scorpion GUI.

- Custom Pages created on the left hand side of the Scorpion GUI.

More information about ResultPanel and Custom Page python interfaces.

The OverlayPanel can be used with different DockStyle values to fill the entire area of the parent window, or dock into one of the sides of the parent window.

The general approach for using .NET GUI components is to derive a python class from the .NET Tordivel.OverlayPanel class and create a global instance of this class giving it a handle of the parent window (See the first example for an easy understanding).

The .NET event mechanism for button-clicks etc. will work just like in any real .NET programming language.

The following examples are relatively complete, and should work by pasting into the Scorpion central start script.

Example 02 is updated using RegisterPlugin and RegisterCallback methods.

Example 01 - StructuredPropertyBag
Example 02 - WinForms Controls
Example 3 - Custom User Interface
Example 04 - TCP Socket Communication
Example 05 - Simple Text Print
Example 06 - Modeless .Net Dialog
Example 07 - StopWatch
Example 08 - Product Selection Page
Example 09 - PyScripter - Eclipse Test Program
Example 10 - Access Control with custom .Net Plugin


Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.