public Bubble() { InitializeComponent(); BottomRectangles.Add(Rectangle1); BottomRectangles.Add(Rectangle2); Loaded += OnLoaded; }
public AnimatedBubbleBackground() { InitializeComponent(); TopRectangles.Add(Rectangle3); TopRectangles.Add(Rectangle4); BottomRectangles.Add(Rectangle1); BottomRectangles.Add(Rectangle2); Loaded += OnLoaded; SizeChanged += OnSizeChanged; }