示例#1
0
        public override object Copy()
        {
            Guid?nextTech = ParentGrid.GetCellData(this.Colomn - 1, this.Row) as Guid?;

            if (nextTech != null)
            {
                List <Guid> keyList = _guidDictionary.Keys.ToList();
                int         index   = keyList.IndexOf((Guid)nextTech);
                nextTech = keyList[index + 1];
            }
            return(new ItemGridCell_TechStaticDataType(nextTech, _guidDictionary.Values.ToList()));
        }