internal void Check(IFrameSize frameSize) { if (_frameWidth == frameSize.FrameWidth && _frameHeight == frameSize.FrameHeight) { return; } _frameWidth = frameSize.FrameWidth; _frameHeight = frameSize.FrameHeight; _color = new Color[_frameWidth, _frameHeight]; Image = null; PreviewImage = null; }
public FrameHolder(IFrameSize frameSize) { _frameWidth = frameSize.FrameWidth; _frameHeight = frameSize.FrameHeight; }