Example #1
0
        //when prompted from other screen guides user to menu screen
        public static void mainMenu()
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("\nPress any key to return to Menu ");
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.ReadKey();
            Screens back = new Screens();

            back.MainMenu();
        }
Example #2
0
        static void Main(string[] args)
        {
            //aesthetics
            //all screens consist of colour change
            //all screens have unique title names for ease
            //warning and commands are in red colour
            Console.ForegroundColor = ConsoleColor.DarkCyan;
            Console.SetWindowSize(100, 20);
            Console.SetBufferSize(100, 80);

            //new user
            Login user = new Login();

            user.GetUser();

            //start program from menu screen
            Screens options = new Screens();

            options.MainMenu();

            Console.WriteLine();
        }