Ejemplo n.º 1
0
        public void GroupSelected(Graphic[] components)
        {
            CompoundGraphic group = new CompoundGraphic();

            foreach (var component  in components)
            {
                group.Add(component);
                all.Remove(component);
            }
            all.Add(group);
            all.Draw();
        }
Ejemplo n.º 2
0
 public void Load()
 {
     all = new CompoundGraphic();
     all.Add(new Dot(1, 2));
     all.Add(new Circle(5, 5, 3));
 }