Ejemplo n.º 1
0
        public void new_TShirt_product(int _tShirt_category)
        {
            _tShirt_category = 0;
            _tShirt_category = rnd.Next(1, 4);

            if (_tShirt_category == 1)
            {
                BasicT basicT = new BasicT();
            }
            else if (_tShirt_category == 2)
            {
                Longsleeve longsleeve = new Longsleeve();
            }
            else if (_tShirt_category == 3)
            {
                PrintedT printedT = new PrintedT();
            }
        }
Ejemplo n.º 2
0
        public void RandomTShirt()
        {
            int _tShirt_category = 0;

            _tShirt_category = rnd.Next(1, 4);

            if (_tShirt_category == 1)
            {
                BasicT basicT = new BasicT();
            }
            else if (_tShirt_category == 2)
            {
                Longsleeve longsleeve = new Longsleeve();
            }
            else if (_tShirt_category == 3)
            {
                PrintedT printedT = new PrintedT();
            }
        }