WorkOrderSelectionDlg Constructor
- Last UpdatedNov 06, 2025
- 1 minute read
The WorkOrderSelectionDlg() method opens the Selection dialog to display the work order for the specified pattern. This overload of the method includes a flag that can be set to make the selections view-only.
'Declaration
Public Function New( _
ByVal control As Control, _
ByVal pattern As String, _
ByVal includeEmptyWorkOrder As Boolean, _
ByVal requireFilter As Boolean _
)
public WorkOrderSelectionDlg(
Control control,
string pattern,
bool includeEmptyWorkOrder,
bool requireFilter
)
Parameters
- control
Required. Holds the parent control into which the selected work order will be placed.
- pattern
Holds the search pattern used for populating the list of work orders.
- includeEmptyWorkOrder
Holds a flag, if set to true, specifies that an entry will be included at the beginning of the list of work orders to allow for selection of 'None'.
- requireFilter
Required. Holds a flag, if set to true, determines that a filter pattern must be entered prior to displaying the list of work orders.