예제 #1
0
        protected void RenderSelectionPanel(ComponentController paComponentController, SelectionPanelType paSelectionPanelType, String paMode, String paTitle, Dictionary <String, String> paDictionary)
        {
            SubControlSelectionPanel lcSubControlSelectionPanel;

            lcSubControlSelectionPanel = new SubControlSelectionPanel(paSelectionPanelType.ToString().ToLower(), paMode, paTitle, paDictionary);
            lcSubControlSelectionPanel.RenderChildMode(paComponentController);
        }
예제 #2
0
        private void RenderSelectionPanel(ComponentController paComponentController, String paPanelType, String paTitle, Dictionary <String, String> paItemList)
        {
            SubControlSelectionPanel lcSubControlSelectionPanel;

            lcSubControlSelectionPanel = new SubControlSelectionPanel(paPanelType, ctPanelAppearance, paTitle, paItemList);

            lcSubControlSelectionPanel.RenderChildMode(paComponentController);
        }
예제 #3
0
        private void RenderSelectionPanel(ComponentController paComponentController)
        {
            SubControlSelectionPanel lcSubControlSelectionPanel;

            lcSubControlSelectionPanel = new SubControlSelectionPanel(ctPanelType, ctPanelAppearance, ctDYTPanelTitle, PrinterController.GetInstance().GetPrinterNameDictionary());

            lcSubControlSelectionPanel.RenderChildMode(paComponentController);
        }
예제 #4
0
        private void CustomComponentRendererHandler(ComponentController paComponentController, InputInfoRow paInputInfoRow, String paActiveValue)
        {
            if (paInputInfoRow.ControlType.ToUpper() == ctCTLSelectionPanel)
            {
                SubControlSelectionPanel lcSubControlSelectionPanel;

                lcSubControlSelectionPanel = new SubControlSelectionPanel(paInputInfoRow.InputMode.ToLower(), paInputInfoRow.AdditionalInfo, paInputInfoRow.InputLabel, paInputInfoRow.QueryName, paInputInfoRow.LinkColumn);
                lcSubControlSelectionPanel.RenderChildMode(paComponentController);
            }
        }
예제 #5
0
        private void RenderSelectionPanel(ComponentController paComponentController)
        {
            Dictionary <String, String> lcReceiptLayoutList;
            SubControlSelectionPanel    lcSubControlSelectionPanel;

            lcReceiptLayoutList = General.JSONDeserialize <Dictionary <String, String> >(clSettingManager.GetSettingValue(ctSETReceiptLayoutList, "{}"));

            lcSubControlSelectionPanel = new SubControlSelectionPanel(ctPanelType, ctPanelAppearance, ctDYTPanelTitle, lcReceiptLayoutList);

            lcSubControlSelectionPanel.RenderChildMode(paComponentController);
        }
예제 #6
0
        private void CustomComponentRendererHandler(ComponentController paComponentController, InputInfoRow paInputInfoRow, String paActiveValue)
        {
            switch (paInputInfoRow.ControlType.ToUpper())
            {
            case ctCTLSelectionPanel:
            {
                SubControlSelectionPanel lcSubControlSelectionPanel;

                lcSubControlSelectionPanel = new SubControlSelectionPanel(paInputInfoRow.InputMode.ToLower(), paInputInfoRow.AdditionalInfo, paInputInfoRow.InputLabel, paInputInfoRow.QueryName, paInputInfoRow.LinkColumn);
                lcSubControlSelectionPanel.RenderChildMode(paComponentController);

                break;
            }

            case ctCTLImageSelectionPanel:
            {
                SubControlSelectionPanel lcSubControlSelectionPanel;

                lcSubControlSelectionPanel = new SubControlSelectionPanel(paInputInfoRow.InputMode.ToLower(), paInputInfoRow.AdditionalInfo, paInputInfoRow.InputLabel, paInputInfoRow.QueryName, paInputInfoRow.LinkColumn);
                lcSubControlSelectionPanel.SetSelectionMode(SubControlSelectionPanel.SelectionMode.Image);
                lcSubControlSelectionPanel.RenderChildMode(paComponentController);

                break;
            }

            case ctCTLColorSelectionPanel:
            {
                SubControlSelectionPanel lcSubControlSelectionPanel;

                lcSubControlSelectionPanel = new SubControlSelectionPanel(paInputInfoRow.InputMode.ToLower(), paInputInfoRow.AdditionalInfo, paInputInfoRow.InputLabel, paInputInfoRow.QueryName, paInputInfoRow.LinkColumn);
                lcSubControlSelectionPanel.SetSelectionMode(SubControlSelectionPanel.SelectionMode.Color);
                lcSubControlSelectionPanel.RenderChildMode(paComponentController);

                break;
            }
            }
        }