Ejemplo n.º 1
0
        public void TestPentagonSerialization()
        {
            Pentagon p = new Pentagon();

            p.Add(new Point(3, 4));
            p.Add(new Point(4, 4));
            p.Add(new Point(3, 5));
            p.Color = Brushes.Coral;
            p.Serialize("serializeTest.xml");
        }