getControls() public method

public getControls ( ) : cReportControls
return cReportControls
示例#1
0
        public void remove(int index)
        {
            try
            {
                cReportSectionLine w_item = item(index);
                if (w_item != null)
                {
                    if (w_item.getControls() != null)
                    {
                        w_item.getControls().clear();
                        w_item.getControls().setSectionLine(null);
                        w_item.getControls().setCopyColl(null);
                    }
                    m_coll.Remove(m_keys[index]);
                    m_keys.RemoveAt(index);
                }

                return;
            }
            catch
            {
            }
        }
示例#2
0
        public void remove(String key)
        {
            try
            {
                cReportSectionLine w_item = item(key);
                if (w_item != null)
                {
                    if (w_item.getControls() != null)
                    {
                        w_item.getControls().clear();
                        w_item.getControls().setSectionLine(null);
                        w_item.getControls().setCopyColl(null);
                    }
                    m_coll.Remove(key);
                    m_keys.Remove(key);
                }

                return;
            }
            catch
            {
            }
        }