/// <summary> /// The OutlookBar calls this when one of its properties changes, specifically, a different band is opened. /// </summary> /// <param name="band"></param> /// <param name="property"></param> public void PropertyChanged(OutlookBarBand band, OutlookBarProperty property) { if (property == OutlookBarProperty.CurrentBandChanged) { //int index =m_bar.GetCurrentBand(); //OutlookBarBand band = m_bar.Bands[index]; ChoiceGroup group = (ChoiceGroup)band.Tag; Debug.Assert(group != null); group.OnDisplay(this, null); } }
void FirePropertyChanged(OutlookBarProperty property) { if ( PropertyChanged != null ) PropertyChanged(bands[currentBandIndex], property); }
/// <summary> /// The OutlookBar calls this when one of its properties changes, specifically, a different band is opened. /// </summary> /// <param name="band"></param> /// <param name="property"></param> public void PropertyChanged(OutlookBarBand band, OutlookBarProperty property) { if (property == OutlookBarProperty.CurrentBandChanged) { //int index =m_bar.GetCurrentBand(); //OutlookBarBand band = m_bar.Bands[index]; ChoiceGroup group = (ChoiceGroup) band.Tag; Debug.Assert(group != null); group.OnDisplay(this, null); } }