1. Class Name : SysSetupFormRun
Overrides the run method with following code
public void run()
{
int red;
int yellow;
;
super();
red = WinAPI::rgb2int(255,0,0);
yellow = WinAPI::rgb2int(204,255,0);
this.design().colorScheme(FormColorScheme::RGB);
switch(curext())
{
case "DAS":
this.design().backgroundColor(red);
break;
case "DMO":
this.design().backgroundColor(yellow);
break;
default:
break;
}
}
No comments:
Post a Comment