Пример #1
0
        public void Display_NSB_Data()
        {
            IWaterfallRepository waterfall = new WaterfallRepository();
            var file          = waterfall.GetFilesFromPath();
            var listWaterfall = waterfall.GetListWaterfall_NSB_Data(file[0]);

            waterfallView21.dgvWaterfall.DataSource = listWaterfall;
        }
Пример #2
0
        private void btnGetRFDSID_Click(object sender, EventArgs e)
        {
            IWaterfallRepository waterfall = new WaterfallRepository();
            var file          = waterfall.GetFilesFromPath();
            var listWaterfall = waterfall.GetListWaterfall_Imp_Data(file[0]);
            var listRFDSID    = listWaterfall.Select(s => new Process1RFDS_ViewModel {
                RFDS_ID = s.RFDS_ID
            }).ToList();

            dgvProcess1.DataSource = listRFDSID;
        }