DataSourceEditor Constructor

DataSourceEditor(DataSource datasource, GeoCalc.ObjectType objectType, Form parent, String name, SearchFilter filter, String defaultIssuer, String defaultCode, GeoCalc.ObjectType defaultType, bool isLocked, bool defaultToAll = false)

 

DataSourceEditor(DataSource datasource, GeoCalc.ObjectType objectType, IntPtr parent, String name, SearchFilter filter, String defaultIssuer, String defaultCode, GeoCalc.ObjectType defaultType, bool isLocked, bool defaultToAll = false)

 

Description

The DataSourceEditor constructor creates a new instance of the DataSourceEditor class.  There are two signatures for the constructor, which allow you to provide the parent window for the editor as either a Form or a handle.

Parameters:

only two required arguments for this constructor, which give, and the ObjectType for the objects that should be displayed in the dialog.  The remaining parameters can be used to specify the parent window for the dialog, the name of the dialog, and the issuer, code, ObjectType that identify the object that should be selected when the dialog is initially displayed, and if well know objects are editable.  This constructor will not display the dialog.