Beispiel #1
0
        public NiceShapes()
        {
            circle = new Circle();
            circle.GetRadius();
            x = 5;

            //draw3D = new Triangle();
            draw3D = new Circle();
            //draw3D = new Canvas();

            object obj = circle;


            draw3D.DrawIn3D();
        }
Beispiel #2
0
 static void Draw3D(IDraw3D draw3D)
 {
     draw3D.DrawIn3D();
 }