private void Clear()
        {
            _tool?.Deactivate();
            _tool = null;
            _renderer?.Dispose();
            _renderer = null;

            ClearToolPanel();
            rightPanel.Controls.Clear();
        }
        public void Dispose()
        {
            _outputDataRenderer?.Dispose();
            _outputDataRenderer = null;

            if (_dataProcessor != null)
            {
                _dataProcessor.Updated -= DataProcessorUpdated;
            }

            _dataProcessor     = null;
            _dataProcessorInfo = null;
        }