Connects a controlHandler to a given control.

Namespace:  C1.Win.Data.Entities
Assembly:  C1.Win.Data.Entity (in C1.Win.Data.Entity.dll)

Syntax

C#
public void SetControlHandler(
	Control control,
	ControlHandler controlHandler
)
Visual Basic
Public Sub SetControlHandler ( _
	control As Control, _
	controlHandler As ControlHandler _
)

Parameters

control
Type: System.Windows.Forms..::..Control
The control to be handled by the specified controlHandler.
controlHandler
Type: C1.Win.Data..::..ControlHandler
The control handler to handle the specified control, or null to disconnect the control from the previously connected control handler.

See Also