Exemplo n.º 1
0
        public void SetPausePointSource(IPausePointSource source)
        {
            if (this.pausePointSource != null)
            {
                this.pausePointSource.DataChanged -= OnPausePointSourceDataChanged;
            }

            this.pausePointSource = source;

            if (this.pausePointSource != null)
            {
                this.pausePointSource.DataChanged += OnPausePointSourceDataChanged;
            }

            RebuildPausePointGraph();
        }
        public void SetPausePointSource(IPausePointSource source)
        {
            if (this.pausePointSource != null)
            {
                this.pausePointSource.DataChanged -= OnPausePointSourceDataChanged;
            }

            this.pausePointSource = source;

            if (this.pausePointSource != null)
            {
                this.pausePointSource.DataChanged += OnPausePointSourceDataChanged;
            }

            RebuildPausePointGraph();
        }