| Quintiq file version 2.0 | 
| #parent: #root | 
| Method OnOK () id:Method_DialogPublishPlan_OnOK | 
| { | 
|   #keys: '[415136.0.1255982634]' | 
|   Body: | 
|   [* | 
|     this.ApplyChanges(); | 
|      | 
|       showlabel := '是否发送'; | 
|       plannames := construct( Strings ); | 
|       if( cbCustomDemand.Checked() ){ | 
|         plannames.Add( lblCustomDemand.Label() ); | 
|       } | 
|       if( cbOfflinePlan.Checked() ){ | 
|         plannames.Add( lblOfflinePlan.Label() ); | 
|       } | 
|       if( cbShiftPlan.Checked() ){ | 
|         plannames.Add( lblShiftPlan.Label() ); | 
|       } | 
|       if( cbAssembleOnlinePlan.Checked() ){ | 
|         plannames.Add( lblAssembleOnlinePlan.Label() ); | 
|       } | 
|       if( cbInventoryPlan.Checked() ){ | 
|         plannames.Add( lblInventoryPlan.Label() ); | 
|       } | 
|      | 
|       showlabel := showlabel.Concat( plannames.Concatenate( "、" ) ).Concat( '?' ); | 
|      | 
|       if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){ | 
|       } | 
|      | 
|     this.Close(); | 
|   *] | 
| } |