C-DEngine 5.105

TheNMIEngine..::..AddStartingBlock Method (TheThing, TheFormInfo, Int32, Int32, Action<(Of <(<'TheProcessMessage, Boolean>)>)>, ThePropertyBag)

This adds the default Starting Block to the NMI Form.

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static cdeConcurrentDictionary<string, TheFieldInfo> AddStartingBlock(
	TheThing pBaseThing,
	TheFormInfo pTargetForm,
	int pBaseFldNumber,
	int pAcl,
	Action<TheProcessMessage, bool> eventStartStop,
	ThePropertyBag pProperties
)
Public Shared Function AddStartingBlock ( _
	pBaseThing As TheThing, _
	pTargetForm As TheFormInfo, _
	pBaseFldNumber As Integer, _
	pAcl As Integer, _
	eventStartStop As Action(Of TheProcessMessage, Boolean), _
	pProperties As ThePropertyBag _
) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public:
static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddStartingBlock(
	TheThing^ pBaseThing, 
	TheFormInfo^ pTargetForm, 
	int^ pBaseFldNumber, 
	int^ pAcl, 
	Action<TheProcessMessage^, bool^>^ eventStartStop, 
	ThePropertyBag^ pProperties
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Thing that owns the start block
pTargetForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Target form for the block
pBaseFldNumber
Type: Int32
Start FldNumber of the block
pAcl
Type: Int32
Access Level of the block
eventStartStop
Type: Action<(Of <(<'TheProcessMessage, Boolean>)>)>
Callback that gets fired when user clicks start or stop
pProperties
Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Property bag for the block

Return Value