예제 #1
0
파일: MENU.cs 프로젝트: Lera19/Homework
        public void Menu1()
        {
            int       i;
            Rectangle rectangle = new Rectangle();
            {
                i = Rectangle.Validation();
                switch (i)
                {
                case 1:
                    rectangle.Bacome();
                    break;

                case 2:
                    Rectangle.OneInformation();
                    break;

                case 3:
                    rectangle.Print();
                    break;

                case 4:
                    rectangle.AddFigure();
                    break;

                default:
                    Console.WriteLine("Not correct number, input new...");
                    break;
                }
            }
        }