PopulateComboBoxWithSeqNos Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopulateComboBoxWithSeqNos() method populates the specified combo box with sequence numbers for the specified operation.
'Declaration
Public Shared Sub PopulateComboBoxWithSeqNos( _
ByVal cboSeqNos As ComboBox, _
ByVal cboOperations As ComboBox, _
ByVal operID As String, _
ByVal includeEmptyEntry As Boolean _
)
public static void PopulateComboBoxWithSeqNos(
ComboBox cboSeqNos,
ComboBox cboOperations,
string operID,
bool includeEmptyEntry
)
Parameters
- cboSeqNos
- Required. Holds the the combo box to fill.
- cboOperations
- Holds the combo box containing the list of operations. The associated data with each entry in the combo box must contain an OperationData structure, which includes the list of valid sequence numbers for the operation.
- operID
- Holds the ID of the operation whose sequence numbers are being retrieved.
- includeEmptyEntry
- Required. Holds the a flag that, if set to true, causes an empty entry to be placed at the beginning of the combo box.