예제 #1
0
        private void Initialize()
        {
            if (_lines == null)
            {
                this.Graphics.Add(_lines = new LinesComposite());
            }

            _points.PointAdded    += OnPointsItemAdded;
            _points.PointChanged  += OnPointsItemChanged;
            _points.PointRemoved  += OnPointsItemRemoved;
            _points.PointsCleared += OnPointsCleared;
        }
예제 #2
0
        private void OnCloneComplete()
        {
            _lines = CollectionUtils.SelectFirst(base.Graphics, delegate(IGraphic test) { return(test is LinesComposite); }) as LinesComposite;

            Initialize();
        }
예제 #3
0
		private void OnCloneComplete()
		{
			_lines = CollectionUtils.SelectFirst(base.Graphics, delegate(IGraphic test) { return test is LinesComposite; }) as LinesComposite;

			Initialize();
		}
예제 #4
0
		private void Initialize()
		{
			if (_lines == null)
				this.Graphics.Add(_lines = new LinesComposite());

			_points.PointAdded += OnPointsItemAdded;
			_points.PointChanged += OnPointsItemChanged;
			_points.PointRemoved += OnPointsItemRemoved;
			_points.PointsCleared += OnPointsCleared;
		}