Esempio n. 1
0
        private void BacktestFileTextBox_MouseDown(object sender, MouseButtonEventArgs e)
        {
            var window = new BacktestImportWindow();

            window.ShowDialog();

            if (!window.Canceled)
            {
                //quite ugly, but eh...
                BacktestFileTextBox.Text = window.ViewModel.FilePath;
                ViewModel.PerformanceReportPageViewModel.ReportSettings.BacktestData = window.ViewModel.EquityCurve;
            }
        }
Esempio n. 2
0
        private void BacktestFileTextBox_MouseDown(object sender, MouseButtonEventArgs e)
        {
            var window = new BacktestImportWindow();
            window.ShowDialog();

            if (!window.Canceled)
            {
                //quite ugly, but eh...
                BacktestFileTextBox.Text = window.ViewModel.FilePath;
                ViewModel.PerformanceReportPageViewModel.ReportSettings.BacktestData = window.ViewModel.EquityCurve;
            }
        }