|  |  | 
 |  |  |             if (str.length() != 36) | 
 |  |  |             { | 
 |  |  |                hdr.mask = DMS_CSSSTYLE; | 
 |  |  |                hdr.cssstyle = L"color:#ff0000"; | 
 |  |  |                hdr.pCssStyle = (LPTSTR)L"color:#ff0000"; | 
 |  |  |             } | 
 |  |  |             else if (str.find(L"-") != 8) | 
 |  |  |             { | 
 |  |  |                hdr.mask = DMS_CSSSTYLE; | 
 |  |  |                hdr.cssstyle = L"color:#ff0000"; | 
 |  |  |                hdr.pCssStyle = (LPTSTR)L"color:#ff0000"; | 
 |  |  |             } | 
 |  |  |          } | 
 |  |  |          return 1; | 
 |  |  | 
 |  |  |          xml x; | 
 |  |  |           | 
 |  |  |          xaserverarg arg ; | 
 |  |  |          arg.setNativePointer(arg.CreateInstance()); | 
 |  |  | 		 | 
 |  |  |          dw_list.DwUpdateAllToEx(x); | 
 |  |  |          arg.AddArg(L"content", x.xml()); | 
 |  |  |          if (getUrl(L"/sale/data/AR/update/tran/customer", arg.GetString(), x) != 1) | 
 |  |  | 
 |  |  |       { | 
 |  |  |          xml x; | 
 |  |  |           | 
 |  |  |          xaserverarg arg ; | 
 |  |  |          arg.setNativePointer(arg.CreateInstance()); | 
 |  |  |          xaserverarg arg =GetArg(); | 
 |  |  | 			 | 
 |  |  |          if (getUrl(L"/sale/data/AR/tran/customer", arg.GetString(), x) != 1) | 
 |  |  |          { | 
 |  |  |             trace(x.text()); | 
 |  |  | 
 |  |  |  | 
 |  |  |       int onload() | 
 |  |  |       { | 
 |  |  |          SetArg(); | 
 |  |  |          dw_list = GetControl(L"dw_list"); | 
 |  |  |          dw_list.openUrl(L"/sale/view/AR/template/customertran"); | 
 |  |  |          dw_list.SetAskStyle(true); |