Exemplo n.º 1
0
 public void MouseUp(RoutedEventArgs e, List <IComponent> shapes, ShapeDao shapesDao, ICanvas canvas)
 {
     foreach (IComponent c in shapes)
     {
         if (c.GetWidth() > 1 && c.GetHeight() > 1)
         {
             shapesDao.AddComponent(c);
         }
     }
     canvas.AddTool(new Selector(shapes, canvas), e);
 }