예제 #1
0
        private void saveButtonClicked(object sender, EventArgs e)
        {
            int k = strategyComboBox.SelectedIndex;

            portfolios[k].machines = MachinesBuilder.build(machineForms);

            InitDataReader.write(portfolios);
        }
예제 #2
0
        private void applyChangesToPreviousSelectedPortfolio()
        {
            int k = strategyComboBox.previousIndex;

            if (k < 0)
            {
                return;
            }

            portfolios[k].machines = MachinesBuilder.build(machineForms);
        }