public void Initialize(HueUpdateQueue updateQueue) { UpdateQueue = updateQueue; InitializeLayout(); Rectangle ledRectangle = new Rectangle(this.Select(x => x.LedRectangle)); Size = ledRectangle.Size + new Size(ledRectangle.Location.X, ledRectangle.Location.Y); }
public HueDevice(HueDeviceInfo deviceInfo, HueUpdateQueue updateQueue) : base(deviceInfo, updateQueue) { InitializeLayout(); }