Exemple #1
0
            public int Compare(IBrowsableItem obj1, IBrowsableItem obj2)
            {
                Photo p1 = (Photo)obj1;
                Photo p2 = (Photo)obj2;

                int result = Photo.CompareDate(p1, p2);

                if (result == 0)
                {
                    result = CompareName(p1, p2);
                }

                return(result);
            }