| Quintiq file version 2.0 | 
| #parent: Button2 | 
| Response OnClick () id:Response_FormAlgorithmRuns_Button2_OnClick | 
| { | 
|   #keys: '[122872.0.1816417472]' | 
|   Body: | 
|   [* | 
|     // Run the benchmarking | 
|     dlg := construct( LibOBT_dlgEditBenchmarkerParameter ); | 
|     // The button is not linked to any selected scenarios, so you can only run the benchmarks from the KT | 
|     dlg.RadioButtonGroupBenchmarkType().DisableWithUserFeedback( Translations::LibOBT_Benchmarker_NoScenariosSelected() ) | 
|     result := dlg.EditBenchmarkerParameter( this, ScenarioManager.LibOBT_Benchmarker().LibOBT_BenchmarkerParameter() ); | 
|      | 
|     if( result > 0 ) | 
|     { | 
|       isbenchmarking := true; | 
|       ScenarioManager.LibOBT_Benchmarker().CreateScenarioAndRunBenchmarking( isbenchmarking ); | 
|     } | 
|   *] | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_GUIButtonBase_OnClick' | 
|   Precondition: | 
|   [* | 
|     ScenarioManager::HasScenarioManager( ScenarioManager, feedback ); | 
|   *] | 
| } |