CSReportDll.cReportSections.setCopyColl C# (CSharp) Метод

setCopyColl() приватный Метод

private setCopyColl ( cReportControls2 rhs ) : void
rhs cReportControls2
Результат void
        internal void setCopyColl(cReportControls2 rhs)
        {
            m_copyColl = rhs;

            if (m_coll != null) 
            {
                cReportSection section = null;

                for (int _i = 0; _i < this.count(); _i++)
                {
                    section = item(_i);
                    section.setCopyColl(rhs);
                }
            }
        }

Usage Example

Пример #1
0
        private void pDestroyCrossRef(cReportSections secs)
        {
            cReportSection sec = null;
            cReportSectionLine secl = null;

            for (int _i = 0; _i < secs.count(); _i++)
            {
                sec = secs.item(_i);
                for (int _j = 0; _j < sec.getSectionLines().count(); _j++)
                {
                    secl = sec.getSectionLines().item(_j);
                    secl.getControls().setSectionLine(null);

                    if (secl.getControls().getCopyColl() != null)
                    {
                        secl.getControls().getCopyColl().clear();
                    }
                    secl.getControls().setCopyColl(null);
                    secl.getControls().clear();
                    secl.setControls(null);
                }
                sec.setCopyColl(null);
            }
            secs.setCopyColl(null);
        }
All Usage Examples Of CSReportDll.cReportSections::setCopyColl