Beispiel #1
0
        static void Main(string[] args)
        {
            Player player = new Player();

            player.player_display();
            Botton.ask();
        }
Beispiel #2
0
        public static void ask()
        {
            Botton botton = new Botton();
            Album  album  = new Album();

UP:
            Console.WriteLine("     ");
            Console.Write(" Input for press botton : ");
            string Answer = Console.ReadLine();

            Console.WriteLine("        ");
            //Console.WriteLine("     " + Answer);

            switch (Answer)
            {
            case "p":
                botton.play();
                goto UP;
                break;

            case "n":
                botton.next();
                goto UP;
                break;

            case "r":
                botton.previous();
                goto UP;
                break;

            case "s":
                botton.Stop();
                goto UP;
                break;

            case "a":
                botton.add();
                goto UP;
                break;

            case "q":
                album.show();
                goto UP;
                break;

            case "e":
                break;

            default:
                goto UP;
                break;
            }
        }