Пример #1
0
 private void btnRes_Click(object sender, RoutedEventArgs e)
 {
     PureArbitrageMLEGGrid grid = new PureArbitrageMLEGGrid();
     grid.Title = "Trade Result - " + Symbol + " - Total:" + Total.ToString(Constants.FloatingPointFormat);
     grid.FillDataGrid(Orders);
     grid.ShowDialog();
 }
Пример #2
0
        private void btnLegs_Click(object sender, RoutedEventArgs e)
        {
            //MessageBox.Show(Trade);

            PureArbitrageMLEGGrid grid = new PureArbitrageMLEGGrid();
            grid.FillDataGrid(Orders);
            grid.dataGrid.Columns[grid.dataGrid.Columns.Count - 1].Visibility = Visibility.Collapsed;
            grid.dataGrid.Columns[grid.dataGrid.Columns.Count - 2].Visibility = Visibility.Collapsed;

            grid.Title = "Legs - " + Symbol + " - Total:" + Total.ToString(Constants.FloatingPointFormat);
            grid.ShowDialog();
        }