예제 #1
0
 static Ui()
 {
     List<string> mainChoices = new List<string>(new[]
    {
         "Display Individual Genres",
         "Combine Genres",
         "Quit"
     });
     MainMenu = new Menu("What is your choice", mainChoices);
     List<string> genreChoices = new List<string>(Enum.GetNames(typeof (GenreList)));
     genreChoices.Remove("None");
     genreChoices.Add("Quit");
     GenreMenu = new Menu("Which genre would you like to view", genreChoices);   
 }
예제 #2
0
 public static int CreateCombineGenresMenu()
 {
     CombineGenresMenu = new Menu("Which Genres would you like to combine", combineGenreChoices);
     return CombineGenresMenu.CreateMenu();
 }