public static lSearchPanel crtSearchPanel(lDataPanel dataPanel, List <lSearchCtrl> searchCtrls) { lSearchPanel newPanel = new lSearchPanel(); newPanel.init(dataPanel, searchCtrls); return(newPanel); }
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); }