Пример #1
0
        public static void ApplicationStart()
        {
            ClientConsole client = new ClientConsole();

            client.PrintInit();
            int userMenuChoice = client.ChooseMenu();

            if (userMenuChoice == 1) //StoreFront
            {
                StoreFront store = new StoreFront();
                store.Start(client);
            }
            else if (userMenuChoice == 2) //CustomerFront
            {
                CustomerFront custFront = new CustomerFront();
                custFront.Start(client);
            }
        }