Example #1
0
        public static lSearchPanel crtSearchPanel(lDataPanel dataPanel, List <lSearchCtrl> searchCtrls)
        {
            lSearchPanel newPanel = new lSearchPanel();

            newPanel.init(dataPanel, searchCtrls);
            return(newPanel);
        }
Example #2
0
        public static lBasePanel crtPanel(lBasePanel panel)
        {
            lDataPanel   dataPanel   = lDataPanel.crtDataPanel(panel.m_dataPanel);
            lSearchPanel searchPanel = lSearchPanel.crtSearchPanel(dataPanel, panel.m_searchPanel.m_searchCtrls);
            lBaseReport  report      = lBaseReport.crtReport(panel.m_report);
            lBasePanel   newPanel    = new lBasePanel()
            {
                m_dataPanel   = dataPanel,
                m_searchPanel = searchPanel,
                m_report      = report
            };

            newPanel.init();
            return(newPanel);
        }