Exemple #1
0
        public override Control GetControl(string policyGroup, string zoomPolicy, Font font, Size layoutSize)
        {
            switch (policyGroup)
            {
            case Standard:
                return(base.GetControl(policyGroup, zoomPolicy, font, layoutSize));

            case InputMan:
                return(InputManCreater.CreateControl(zoomPolicy, font, layoutSize));

            case PlusPak:
                return(PlusPakCreater.CreateControl(zoomPolicy, font, layoutSize));

            case ComponentOne:
                return(ComponentOneCreater.CreateControl(zoomPolicy, font, layoutSize));

            case Spread:
                return(SpreadCreater.CreateControl(zoomPolicy, font, layoutSize));

            case ActiveReports:
                return(ActiveReportsCreater.CreateControl(zoomPolicy, font, layoutSize));

            case LeadTools:
                return(LeadToolsCreater.CreateControl(zoomPolicy, font, layoutSize));

            case VBPowerPacks:
                return(VBPowerPacksCreater.CreateControl(zoomPolicy, font, layoutSize));;

            case WPFElmentHost:
                return(WPFElmentHostCreater.CreateControl(zoomPolicy, font, layoutSize));

            default:
                break;
            }
            return(base.GetControl(policyGroup, zoomPolicy, font, layoutSize));
        }
Exemple #2
0
        public override string GetDescription(string policyGroup, string zoomPolicy)
        {
            switch (policyGroup)
            {
            case Standard:
                return(base.GetDescription(policyGroup, zoomPolicy));

            case InputMan:
                return(InputManCreater.GetDescription(zoomPolicy));

            case PlusPak:
                return(PlusPakCreater.GetDescription(zoomPolicy));

            case ComponentOne:
                return(ComponentOneCreater.GetDescription(zoomPolicy));

            case Spread:
                return(SpreadCreater.GetDescription(zoomPolicy));

            case ActiveReports:
                return(ActiveReportsCreater.GetDescription(zoomPolicy));

            case LeadTools:
                return(LeadToolsCreater.GetDescription(zoomPolicy));

            case VBPowerPacks:
                return(VBPowerPacksCreater.GetDescription(zoomPolicy));

            case WPFElmentHost:
                return(WPFElmentHostCreater.GetDescription(zoomPolicy));

            default:
                break;
            }
            return(base.GetDescription(policyGroup, zoomPolicy));
        }