Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | See Also
.NET Framework Class Library
EhrFramework..::On Method

BMXNET 4.0 Developer API

Used to create the single EhrFramework instance used for each EHR/VueCentric-based component

Namespace: IndianHealthService.BMXNet.EHR
Assembly: BMXEHR40 (in BMXEHR40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public static EhrFramework On(
    	CSS_Session aCssSession,
    	IEhrEvents anEventSource,
    	ICSS_SessionEvents sessionEvents
    )

    Public Shared Function On ( _
    	aCssSession As CSS_Session, _
    	anEventSource As IEhrEvents, _
    	sessionEvents As ICSS_SessionEvents _
    ) As EhrFramework

    public:
    static EhrFramework^ On(
    	CSS_Session^ aCssSession,
    	IEhrEvents^ anEventSource,
    	ICSS_SessionEvents^ sessionEvents
    )

#### Parameters

aCssSession
  CSS_Session
  A COM instance of CSS_Session. The EhrFramework will Release() it

anEventSource
  IEhrEvents
  The event source bridge to pass events from your COM-Visible control to the EhrFramework

sessionEvents
  ICSS_SessionEvents
  A COM instance of ICSS_SessionEvents. The EhrFramework will Release() it

#### Return Value

# Remarks

Use the provided partial class to construct a UserControl-based component to host in the EHR/VueCentric framework

# See Also

EhrFramework Class
IndianHealthService.BMXNet.EHR Namespace