Inheritance: System.Windows.Forms.Control
Ejemplo n.º 1
0
		public ImageViewPort()
		{
			_viewPortInstance = this;
			_currentPrimitive = new SelectionTool();
			DoubleBuffered = true;
			_shapeControl = new ShapeBoxControl(null);
			_navigationControl = new NavigationControl();						
		
			SetStyle(
				ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint |
				ControlStyles.DoubleBuffer, true);
		}
Ejemplo n.º 2
0
        public ImageViewPort()
        {
            _viewPortInstance  = this;
            _currentPrimitive  = new SelectionTool();
            DoubleBuffered     = true;
            _shapeControl      = new ShapeBoxControl(null);
            _navigationControl = new NavigationControl();

            SetStyle(
                ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint |
                ControlStyles.DoubleBuffer, true);
        }