| | |
| | | |
| | | int OnInit() |
| | | { |
| | | int iArgs = GetParam(); |
| | | int iArgs = GetArg(); |
| | | |
| | | XXmlContentSvr xdoc = new XXmlContentSvr; |
| | | xdoc.setNativePointer(iArgs); |
| | |
| | | bind.bind(dw_1, vc); |
| | | |
| | | xml x; |
| | | x = new xml; |
| | | x.setNativePointer(xml::CreateInstance()); |
| | | x ; |
| | | |
| | | x.LoadXml(vc.GetContent()); |
| | | |
| | | dw_1.Retrieve(x); |
| | |
| | | |
| | | int onload() |
| | | { |
| | | SetArg(); |
| | | dw_1 = GetControl(L"dw_1"); |
| | | dw_1.openUrl(L"/sale/view/SaleOrder/template/delivery"); //base.maint.so.tpl/delivery |
| | | dw_1.SetColHeaderHeight(0); |
| | |
| | | dw_cell.setNativePointer(dw_1.QueryItem(L"ixcell")); |
| | | OnAttachEvent(); |
| | | |
| | | if (GetParam())OnInit(); |
| | | if (GetWinParam())OnInit(); |
| | | |
| | | return 1; |
| | | } |