yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Quintiq file version 2.0
#parent: #root
Method New (
  internal[GUIComponent] parent,
  shadow[LibOpt_BT_BenchmarkTrackingDataset] owner
) as shadow[LibOpt_BT_ManualVersion] id:Method_DialogLibOpt_BT_ManualVersion_New_144
{
  #keys: '[145592.0.281801876]'
  Body:
  [*
    data := owner.ManualVersion( relnew );
    
    Dialog.CheckBoxIsActive().Checked( true );
    
    Dialog.Data( data );             
    
    Dialog.ToggleIsActive();
    
    if ( Dialog.DoModal( parent ) < 0 )
    {
      data.Delete();
    }
    
    return data;
  *]
}