| | |
| | | } |
| | | else |
| | | { |
| | | executionWrapper = new TsExecutionWrapper(); |
| | | executionWrapper = new TeststandWrapper(); |
| | | } |
| | | executionWrapper.UIMessageEvent += ExecutionWrapper_UIMessageEvent; |
| | | |
| | | if (executionWrapper is TsExecutionWrapper tsWrapper) |
| | | if (executionWrapper is TeststandWrapper tsWrapper) |
| | | { |
| | | ((System.ComponentModel.ISupportInitialize)(tsWrapper.AxApplicationMgr)).BeginInit(); |
| | | host.Child = tsWrapper.AxApplicationMgr; |
| | |
| | | public void ReleaseResource() |
| | | { |
| | | executionWrapper.UIMessageEvent -= ExecutionWrapper_UIMessageEvent; |
| | | |
| | | executionWrapper.Dispose(); |
| | | foreach (var table in tables) |
| | | { |
| | | table.RelaseResource(); |