Thanks for the comments, John. 

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of John Brett
Sent: Friday, May 02, 2008 6:27 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] CustomNodeSorter for TreeView...

>             // Separate folders from other nodes.
>             if ( tix.IsFolder & !tiy.IsFolder )

It may be a typo on your part, and it probably doesn't have any
functional effect in this case, but you should use '&&' for logical
AND in this kind of expression, rather than '&' for bitwise AND.

John

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to