コード例 #1
0
        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;
        }
コード例 #2
0
 public FrameHolder(IFrameSize frameSize)
 {
     _frameWidth  = frameSize.FrameWidth;
     _frameHeight = frameSize.FrameHeight;
 }