public void Execute() { ActiveCanvas.DeselectAllShapes(); foreach (Shape SelectedShape in AllShape) { ActiveCanvas.RemoveDrawnShape(SelectedShape); } ActiveCanvas.AddDrawnShape(GroupShape); GroupShape.Select(); }