public static int CompareTopsThenLefts(ReportItemInfo aLeft, ReportItemInfo aRight)
        {
            int num = aLeft.Top.CompareTo(aRight.Top);

            if (num == 0)
            {
                return(aLeft.Left.CompareTo(aRight.Left));
            }
            return(num);
        }
Esempio n. 2
0
        public override void AddReportItem(object rplSource, int top, int left, int width, int height, int generationIndex, byte state, string subreportLanguage, Dictionary <string, ToggleParent> toggleParents)
        {
            ReportItemInfo item = new ReportItemInfo(rplSource, top, left, left + width, (state & 0x20) != 0, toggleParents);

            this.m_fullList.Add(item);
        }