Esempio n. 1
0
        private void FormUnicomm()
        {
            m_pFrmSection.InitializeSectionList(m_pDbHelper, CAlarmSound.getInstance(), m_pSectionObjList);

            m_pFrmRainMap.ToolBarControl = m_pRainfallsToolbar;
            m_pFrmRainMap.SiteObjList    = m_pSiteObjList;
            m_pFrmRainMap.SiteControl    = m_pFrmSite.SiteControl;

            m_pSiteObserver.RainMapObj   = m_pFrmRainMap.RainMapObj;
            m_pFrmSite.RainMapObj        = m_pFrmRainMap.RainMapObj;
            m_pFrmSite.RainMapCaptionObj = m_pFrmRainMap.RainMapCaptionObj;
            m_pFrmRainMap.Unicom();
        }
Esempio n. 2
0
        private void NewLayout()
        {
            m_pFrmSection = frmSection.getInstance();
            m_pFrmSection.Show(m_pDockPanel, DockState.Document);
            m_pFrmSection.InitializeSectionList(m_pDbHelper, CAlarmSound.getInstance(), m_pSectionObjList);

            m_pFrmSite = frmSite.getInstance();
            m_pFrmSite.InitializeSiteList((m_pSiteObjList));
            m_pFrmSite.Show(m_pDockPanel, DockState.Document);

            m_pFrmRainMap = frmRainMap.getInstance();
            m_pFrmRainMap.DrawRainMap(m_pSiteRainCalc, m_pDbHelper);
            m_pFrmRainMap.Show(m_pDockPanel, DockState.Document);

            m_pFrmInspector = frmInspector.getInstance();
            m_pFrmInspector.Show(m_pDockPanel, DockState.Document);

            //m_pFrmToolbar = frmToolBar.getInstance();
            //m_pFrmToolbar.Show(m_pDockPanel, DockState.Document);
        }