public static LogTableItem CreateNewLogTableItem(Int32 colIndex, bool isFilter) { LogTableItem lti = new LogTableItem(); lti.LogColumnIndex = colIndex; lti.IsFilterColumn = isFilter; return(lti); }
/// <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; }
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); }