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

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

            InitDataReader.write(portfolios);
        }
Example #2
0
        private void unblockButtonClicked(object sender, EventArgs e)
        {
            portfolios = InitDataReader.read();
            foreach (var portfolio in portfolios)
            {
                portfolio.unblockAllMachines();
            }

            initCombobox();

            InitDataReader.write(portfolios);
        }