zoukankan      html  css  js  c++  java
  • 用不同颜色区分不同账套

    此方法是在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));
    }

  • 相关阅读:
    软件需求分析——阅读笔记
    第二次冲刺阶段 tenth day
    第16周周总结
    第二次冲刺阶段 ninth day
    判断各种数据类型的方法总结
    vue中8种组件通信方式
    字符串常用方法总结
    JS中轻松遍历对象属性的几种方式
    fetch请求和ajax请求
    js 文件下载,当前页下载,新标签下载____后端返回 GET/POST 文件流,下载文件
  • 原文地址:https://www.cnblogs.com/perock/p/2375281.html
Copyright © 2011-2022 走看看