Exemplo n.º 1
0
 static void Main(string[] args)
 {
     //Initializes Each of the other classes
     CSVProcessor onlyRunOneCSVProcessor = new CSVProcessor(upPath(3,Environment.CurrentDirectory) + "\\datafiles\\WineList.csv");
     wineItemCollection theWineCollection = new wineItemCollection(onlyRunOneCSVProcessor);
     controlClass controlTheProgram = new controlClass(theWineCollection, onlyRunOneCSVProcessor);
     //repeats the ui
     while(true)
     {
         controlTheProgram.PrintPrompt();
     }
 }
Exemplo n.º 2
0
 public controlClass(wineItemCollection collection, CSVProcessor processor)
 {
     processCSV = processor;
     collectedWineItems = collection;
 }