private void NoteFilterChanged(object sender, ICmFilter filter)
{
bool fFiltered = (filter != null);
ShowFilterStatusBarMessage(fFiltered);
// Filter can be turned off programmitically when note not matching current filter is
// inserted.
if (!fFiltered && (SIBAdapter.CurrentTabItemProperties != null) && SIBAdapter.CurrentTabItemProperties.Name != kstidNoFilter)
SIBAdapter.SetCurrentTabItem(kstidFilterSBTabInternalName, kstidNoFilter, true);
}
#endregion