コード例 #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;
            }
            }
        }