コード例 #1
0
 void _backtestengine_SendPlayCompleteEvent(int obj)
 {
     _performevaluator = new PerformanceEvaluator();
     //_performevaluator.InitializePositions();
     _performevaluator.GenerateReports(_tradelist);
     System.Windows.Application.Current.Dispatcher.Invoke(() =>
     {
         _performevaluator.FillGrid(_resultstable);
     });
 }
コード例 #2
0
        private void GeneratePerformanceReport(int time)
        {
            _performevaluator = new PerformanceEvaluator();
            //_performevaluator.InitializePositions();
            _performevaluator.GenerateReports(_tradelist);

            System.Windows.Application.Current.Dispatcher.Invoke(() =>
            {
                _performevaluator.FillGrid(_resultstable);
                TabControlSelectedIndex = 3;
            });
        }