Ejemplo n.º 1
0
        public void inputcheck(string i, ConsoleKeyInfo j)
        {
            if (j.Key == ConsoleKey.F1)
            {
                turn = true;
                rating(i);
            }
            else if (j.Key == ConsoleKey.F2)
            {
                turn = false;
                type(i);
            }
            else if (j.Key == ConsoleKey.F3)
            {
                Movie movie = new Movie();
                Console.Clear();
                movie.startMovies();
            }
            else if (j.Key == ConsoleKey.F4)
            {
                if (turn == true)
                {
                    if (rate < 5)
                    {
                        rate += 1;
                        listofrates[track] += 1;
                    }
                    else if (rate == 5)
                    {
                        rate = 0;
                        listofrates[track] = 0;
                    }
                    rating(i);
                }
                else if (turn == false)
                {
                    type(i);
                }

                else
                {
                    inputcheck(i, input);
                }
            }

            Console.Clear();
            inputcheck(i, input);
        }
Ejemplo n.º 2
0
        public void choose(string line)
        {
            switch (line)
            {
            case "Movies":
                movie.startMovies();
                return;

            case "Show":

                return;

            case "Romance":

                return;

            case "Comedy":

                return;

            case "Adventure":

                return;

            case "AdventureRomance":

                return;

            case "ComedyRomance":

                return;
                //case "":

                //    return;
                //case "":

                //    return;
                //case "":

                //    return;
            }
        }