Esempio n. 1
0
        static void FontAdjustment()
        {
            Console.WriteLine("\nЗадание 1.6");
            TypeParameters list = TypeParameters.None;
            bool           flag = true;

            while (flag)
            {
                Console.WriteLine("Параметры надписи: " + list.ToString());
                int input = ReadFontInt();
                switch (input)
                {
                case 0:
                    flag = false;
                    break;

                case 1:
                    list = ManageEnum(list, TypeParameters.Bold);
                    break;

                case 2:
                    list = ManageEnum(list, TypeParameters.Italic);
                    break;

                case 3:
                    list = ManageEnum(list, TypeParameters.Underline);
                    break;
                }
            }
        }