private void OnInformationBoxChanged(object sender, InformationBoxChangedEventArgs e) { if (e.InformationBox != null) { e.InformationBox.Updated += OnInformationBoxUpdated; } else { NotifyEntityPropertyChanged("InformationBox", null); } }
private void OnInformationBoxChanged(object sender, InformationBoxChangedEventArgs e) { if (_currentInformationBox != null) { _currentInformationBox.Updated -= new EventHandler(OnUpdateInformationBox); } _currentInformationBox = e.InformationBox; _toolTip.Active = false; _toolTip.Hide(this); if (e.InformationBox != null) { _currentInformationBox.Updated += new EventHandler(OnUpdateInformationBox); } }
private void OnInformationBoxChanged(object sender, InformationBoxChangedEventArgs e) { if (_currentInformationBox != null) _currentInformationBox.Updated -= new EventHandler(OnUpdateInformationBox); _currentInformationBox = e.InformationBox; _toolTip.Active = false; _toolTip.Hide(this); if (e.InformationBox != null) _currentInformationBox.Updated += new EventHandler(OnUpdateInformationBox); }