Пример #1
0
        private void SetDimensions()
        {
            _screenDims = DisplayUtil.GetDisplaySize();
            var rect = _screenDims;

            _width  = 0;
            _height = 0;
            _left   = rect.Left;
            _top    = rect.Top;
            _width  = rect.Width;
            _height = rect.Height;
            _width  = Math.Abs(_width);
            _height = Math.Abs(_height);
        }