コード例 #1
0
ファイル: Plugin.cs プロジェクト: BdGL3/CXPortal
        public void Initialize(Object passedObj)
        {
            ContentParameter parameters = passedObj as ContentParameter;
            m_CaseObj = parameters.caseObject;
            SysConfiguration SysConfig = parameters.SysConfig;

            if (m_CaseObj.attachments.CountofType(AttachmentType.XRayImage) > 0)
            {
                m_XrayDisplays = new XRayDisplays(m_CaseObj, SysConfig);
                m_UserControlDisplays = m_XrayDisplays.Displays;
            }
            else
            {
                throw new NotSupportedException();
            }
        }
コード例 #2
0
        public void Initialize(Object passedObj)
        {
            ContentParameter parameters = passedObj as ContentParameter;

            m_CaseObj = parameters.caseObject;
            SysConfiguration SysConfig = parameters.SysConfig;

            if (m_CaseObj.attachments.CountofType(AttachmentType.XRayImage) > 0)
            {
                m_XrayDisplays        = new XRayDisplays(m_CaseObj, SysConfig);
                m_UserControlDisplays = m_XrayDisplays.Displays;
            }
            else
            {
                throw new NotSupportedException();
            }
        }