예제 #1
0
            public int Compare(object obj1, object obj2)
            {
                Photo p1 = (Photo)obj1;
                Photo p2 = (Photo)obj2;

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

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

                return(result);
            }