Leadtools.Medical.Workstation Namespace > WorkstationEventBroker Class : Subscribe<T> Method |
public void Subscribe<T>( EventHandler<T> onEventExecuted ) where T: EventArgs
'Declaration Public Sub Subscribe(Of T As EventArgs)( _ ByVal onEventExecuted As EventHandler(Of T) _ )
'Usage Dim instance As WorkstationEventBroker Dim onEventExecuted As EventHandler(Of T) instance.Subscribe(Of T)(onEventExecuted)
public void Subscribe<T>( EventHandler<T> onEventExecuted )where T: ~Remove~
function Leadtools.Medical.Workstation.WorkstationEventBroker.Subscribe( onEventExecuted )
public: void Subscribe<T>( EventHandler<T*>* onEventExecuted ) where T: EventArgs
public: void Subscribegeneric<typename T> ( EventHandler<T*>* onEventExecuted ) where T: EventArgs
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2