void _backtestengine_SendPlayCompleteEvent(int obj) { _performevaluator = new PerformanceEvaluator(); //_performevaluator.InitializePositions(); _performevaluator.GenerateReports(_tradelist); System.Windows.Application.Current.Dispatcher.Invoke(() => { _performevaluator.FillGrid(_resultstable); }); }
private void GeneratePerformanceReport(int time) { _performevaluator = new PerformanceEvaluator(); //_performevaluator.InitializePositions(); _performevaluator.GenerateReports(_tradelist); System.Windows.Application.Current.Dispatcher.Invoke(() => { _performevaluator.FillGrid(_resultstable); TabControlSelectedIndex = 3; }); }