private object NewFolderComboItem( int depth, LocationTreeNode folder )
        {
            Image image = m_Locations.Images.Images[ folder.Image ];
            Image selImage = m_Locations.Images.Images[ folder.SelectedImage ];

            NiceComboBox.Item newItem = new NiceComboBox.Item( depth, folder.Name, FontStyle.Regular, image, selImage, folder );

            return newItem;
        }
            public bool Match( LocationTreeNode item )
            {
                if ( m_AllFiles )
                {
                    return true;
                }

                foreach ( string extension in m_Extensions )
                {
                    if ( item.Name.EndsWith( extension, StringComparison.CurrentCultureIgnoreCase ) )
                    {
                        return true;
                    }
                }

                return false;
            }
        private static void AddListItemProperties( ListViewItem item, LocationTreeNode node, LocationProperty[] properties )
        {
            for ( int propertyIndex = 1; propertyIndex < properties.Length; ++propertyIndex )
            {
                LocationProperty property = properties[ propertyIndex ];

                if ( node.HasProperty( property ) )
                {
                    item.SubItems.Add( new ListViewItem.ListViewSubItem( item, node[ property ].ToString( ) ) );
                }
                else
                {
                    item.SubItems.Add( new ListViewItem.ListViewSubItem( item, "" ) );
                }
            }
        }