示例#1
0
        public static LogTableItem CreateNewLogTableItem(Int32 colIndex, bool isFilter)
        {
            LogTableItem lti = new LogTableItem();

            lti.LogColumnIndex = colIndex;
            lti.IsFilterColumn = isFilter;

            return(lti);
        }
示例#2
0
 /// <summary>
 /// 从另外一个对象中复制全部内容
 /// </summary>
 /// <param name="item"></param>
 public void CopyFrom(LogTableItem item)
 {
     this.IsFilterColumn = item.IsFilterColumn;
     this.LogColumnIndex = item.LogColumnIndex;
     this.ColumnName     = item.ColumnName;
     this.SeqIndex       = item.SeqIndex;
     this.NickName       = item.NickName;
     this.Visible        = item.Visible;
 }
示例#3
0
        public object Clone()
        {
            LogTableItem item = new LogTableItem();

            item.IsFilterColumn = this.IsFilterColumn;
            item.LogColumnIndex = this.LogColumnIndex;
            item.ColumnName     = this.ColumnName;
            item.Visible        = this.Visible;
            item.NickName       = this.NickName;
            return(item);
        }