void Initialize(AnalyzerHost expertHost)
 {
     _host      = expertHost;
     this.Title = expertHost.Name;
     //_host.SessionsUpdateEvent += new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SessionsUpdateEvent);
     //_host.SourcesUpdateEvent += new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SourcesUpdateEvent);
     //UpdateUI();
 }
        public override void UnInitializeControl()
        {
            base.UnInitializeControl();

            if (_host != null)
            {
                //_host.SessionsUpdateEvent -= new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SessionsUpdateEvent);
                //_host.SourcesUpdateEvent -= new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SourcesUpdateEvent);
                _host = null;
            }
        }
        public override void UnInitializeControl()
        {
            base.UnInitializeControl();

            if (_host != null)
            {
                //_host.SessionsUpdateEvent -= new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SessionsUpdateEvent);
                //_host.SourcesUpdateEvent -= new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SourcesUpdateEvent);
                _host = null;
            }
        }
        /// <summary>
        ///
        /// </summary>
        //public ActualAnalyzerHostControl(RemoteAnalyzerHost expertHost)
        //{
        //    InitializeComponent();

        //    Initialize(expertHost);
        //}

        public FxAnalyzerHostControl(AnalyzerHost expertHost)
        {
            InitializeComponent();

            Initialize(expertHost);
        }
 void Initialize(AnalyzerHost expertHost)
 {
     _host = expertHost;
     this.Title = expertHost.Name;
     //_host.SessionsUpdateEvent += new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SessionsUpdateEvent);
     //_host.SourcesUpdateEvent += new GeneralHelper.GenericDelegate<IAnalyzerSessionManager>(_expertHost_SourcesUpdateEvent);
     //UpdateUI();
 }
        /// <summary>
        /// 
        /// </summary>
        //public ActualAnalyzerHostControl(RemoteAnalyzerHost expertHost)
        //{
        //    InitializeComponent();
        //    Initialize(expertHost);
        //}
        public FxAnalyzerHostControl(AnalyzerHost expertHost)
        {
            InitializeComponent();

            Initialize(expertHost);
        }