Example #1
0
 /// <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);
     }
 }
Example #2
0
 void FirePropertyChanged(OutlookBarProperty property)
 {
     if ( PropertyChanged != null )
         PropertyChanged(bands[currentBandIndex], property);
 }
Example #3
0
		/// <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);
			}
		}