• 用不同颜色区分不同账套


    此方法是在Class  SysSetupFormRun中  RUN()

    curEXT用于获取当前公司账号;

    public void run()
    {
        super();

        this.design().colorScheme(2);

        switch (curEXT())
            {
            case '011' :
                this.design().backgroundColor(winapi::RGB2int(240,240,240));
                break;
            case '020' :
                this.design().backgroundColor(winapi::RGB2int(0,128,0));
                break;
            case '031' :
                this.design().backgroundColor(winapi::RGB2int(0,64,255));
                break;
            case '015' :
                this.design().backgroundColor(winapi::RGB2int(64,64,255));
                break;
            case '016' :
                this.design().backgroundColor(winapi::RGB2int(64,0,255));
                break;
            case '017' :
                this.design().backgroundColor(winapi::RGB2int(0,64,64));
                break;
            case '040' :
                this.design().backgroundColor(winapi::RGB2int(0,0,128));
                break;
            case '307' :
                this.design().backgroundColor(winapi::RGB2int(0,128,255));
                break;
            case '308' :
                this.design().backgroundColor(winapi::RGB2int(255,128,255));
                break;
            default :
                this.design().backgroundColor(winapi::RGB2int(212,208,200));
                break;
            }
            //this.design().backgroundColor(winapi::RGB2int(255,128,255));
    }

  • 相关阅读:
    Cents 7 Kubernetes
    Docker registry
    centos 7 安装 docker
    ToList()所带来的性能影响
    C#之Linq、where()、FindAll()的区别
    2.2 数据库高速缓冲区
    ORACLE之autotrace使用
    spring.net简介
    初识批处理
    TIBCO Rendezvous — 技术介绍
  • 原文地址:https://www.cnblogs.com/perock/p/2375281.html
Copyright © 2020-2023  润新知