Example #1
0
        public void StartMainMenu()
        {
            //drawStartMark.StartMark();
            Console.SetWindowSize(150, 40);
            bool flag = true;

            while (flag)
            {
                printAboutControlMembers.BasicMenu();

                mode = Console.ReadLine();
                switch (mode)
                {
                case LibraryConstants.LOGIN_SUPERVISER_MODE:
                    Login();
                    break;

                case LibraryConstants.LOGIN_USER_MODE:
                    Login();
                    break;

                case LibraryConstants.GOTO_SIGNUP_PAGE:
                    addNewMember.PrintAndAdd();
                    break;

                case LibraryConstants.EXIT:
                    flag = false;
                    break;

                default:
                    break;
                }
            }
        }