// process output for collection of variables
        public override void PrintData(RegionCollectionDto regions)
        {
            var dt = new Table.RegionTable();

            // pass list to DataGridView object
            foreach (RegionDto region in regions.Regions)
            {
                dt.AddRow(region);
            }

            this.PrintTable(dt);
        }
Example #2
0
        // process output for collection of regions
        public override void PrintData(RegionCollectionDto regions)
        {
            var dt = new Table.RegionTable();

            // pass list to DataGridView object
            foreach (RegionDto region in regions.Regions)
            {
                dt.AddRow(region);
            }

            this.DataGridInstance = dt;

            // hide loading indicator
            this.StatusLabelVisible = false;
        }