Click or drag to resize
CGUIiTwoPanelSelectionEx Method (CGXNETCore, IWin32Window, CLST, CLST, Int32, Int32, String)
Two-panel selection; options for sort and ability to select no items.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Same as iTwoPanelSelection_GUI, but the items in the two lists are not sorted alphabetically, but are ordered exactly as input, and when an item is selected it is added at the end of the lists.
Syntax
public static int iTwoPanelSelectionEx(
	CGXNETCore gxNetShared,
	IWin32Window owner,
	CLST ls_tf,
	CLST ls_ts,
	int sorted,
	int allow_no_select,
	string title
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
ls_tf
Type: GeoEngine.Core.GXNetXCLST
All available items for selection.
ls_ts
Type: GeoEngine.Core.GXNetXCLST
Selections (altered on output)
sorted
Type: SystemInt32
Sort items alphabetically (0:No, 1:Yes)
allow_no_select
Type: SystemInt32
Allow no items selected (0:No, 1:Yes)
title
Type: SystemString
Title for dialog

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also