예제 #1
0
        public void FillControls(CSmartArray array)
        {
            List <ProductTag> ptList = new List <ProductTag>();
            List <int>        iList  = new List <int>();

            if (array != null)
            {
                array.FillArray(ptList, iList);
            }
            int count = ptList.Count;

            for (int i = 0; i < count; i++)
            {
                m_prCollection[i].SetValue(ptList[i], iList[i]);
            }
            for (int i = count; i < m_prCollection.Count; i++)
            {
                m_prCollection[i].SetValue(Kernal.ProductTag.ptNotFound, 0);
            }
        }