コード例 #1
0
 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();
 }
コード例 #2
0
        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;
            }
        }
コード例 #4
0
        /// <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);
        }