Esempio n. 1
0
        public void ResetScreens()
        {
            _primitive    = new FakePrimitive();
            _shapeControl = new ShapeBoxControl(_primitive);

            _screenCopy = new DesktopCopy[Screen.AllScreens.Length];
            for (int i = 0; i < Screen.AllScreens.Length; i++)
            {
                _screenCopy[i] = new DesktopCopy();
                _screenCopy[i].DoCopy(Screen.AllScreens[i]);
            }
        }
Esempio n. 2
0
		public void ResetScreens()
		{
			_primitive = new FakePrimitive();
			_shapeControl = new ShapeBoxControl(_primitive);

			_screenCopy = new DesktopCopy[Screen.AllScreens.Length];
			for (int i = 0; i < Screen.AllScreens.Length; i++)
			{
				_screenCopy[i] = new DesktopCopy();
				_screenCopy[i].DoCopy(Screen.AllScreens[i]);
			}
		}