Exemplo n.º 1
0
        private void loadRuns(string filename)
        {
            lstRuns.Items.Clear();
            DataAccess dataAccess = new DataAccess(filename);
            Run[] runs = dataAccess.GetRuns();
            foreach (Run run in runs)
            {
                lstRuns.Items.Add(new ListViewItem(run.ToStringArray()));
            }

            lstInputGroups.Items.Clear();
            InputGroup[] groups = dataAccess.GetInputGroups();
            foreach (InputGroup group in groups)
            {
                lstInputGroups.Items.Add(group);

            }
        }