Example #1
0
        public ApplicationForm()
        {
            InitializeComponent();

            machineForms = new List <MachineForm>();
            setAddButtonPosition();

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

            initCombobox();

            InitDataReader.write(portfolios);
        }