Пример #1
0
 public SideViewDisplayer(Panel h) : base(h)
 {
     targetsManager      = new CoordinateTargetViewManager(this);
     sweepSectionManager = new SweepSectionManager(this);
     //Distance = 3000;
     //targetsManager = new CoordinateTargetViewManager(this);
 }
Пример #2
0
        public OverViewDisplayer(Panel displayerContain) : base(displayerContain)
        {
            targetsManager = new CoordinateTargetViewManager(this);

            beginAngle = 0.0f;

            ViewState = CreateState(OverViewState.Zoom);

            _waveGateViewManager = new GraphicWaveGateViewManager(this);

            _sweepSectionManager = new SweepSectionManager(this);

            _mouseCoordinateDisplayer = new MouseCoordinateDisplayer(this);

            _upScroller    = new UpScroller(this);
            _rightScroller = new RightScroller(this);
            _downScroller  = new DownScroller(this);
            _leftScroller  = new LeftScroller(this);

            Obs = new List <IControlStateObserver>();
            displayerContain.MouseClick += HOnMouseClick;
        }