Esempio n. 1
0
 public ComboboxViewModel()
 {
     Flight_Dictionary FD = new Flight_Dictionary();
     File_Reader psgList = new File_Reader();
     CmbContent = new ObservableCollection<string>(FD.giveList());
     CmbOrContent = new ObservableCollection<string>(FD.originList);
     CmbClassContent = new ObservableCollection<string>(FD.seatClass);
     columCollect = new ObservableCollection<string>(getColumns());
     rowsCollect = new ObservableCollection<string>(getRows());
     var readJSONFile = new ObservableCollection<Passenger>(psgList.readFile());
 }
Esempio n. 2
0
        public ComboboxViewModel()
        {
            Flight_Dictionary FD      = new Flight_Dictionary();
            File_Reader       psgList = new File_Reader();

            CmbContent      = new ObservableCollection <string>(FD.giveList());
            CmbOrContent    = new ObservableCollection <string>(FD.originList);
            CmbClassContent = new ObservableCollection <string>(FD.seatClass);
            columCollect    = new ObservableCollection <string>(getColumns());
            rowsCollect     = new ObservableCollection <string>(getRows());
            var readJSONFile = new ObservableCollection <Passenger>(psgList.readFile());
        }