SysSetupFormRun 用不同颜色区分不同公司账套

public void run()
{
    super();

    this.design().colorScheme(2);
    this.design().backgroundColor(winapi::RGB2int(255, 0, 255)); // CRP
/*
    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;
        }
*/
}

posted @ 2011-12-22 09:08  perock  阅读(260)  评论(0编辑  收藏  举报