public override bool Equals(object obj) { ReportField field = obj as ReportField; if (field == null) { return(false); } return(field.ToString().Equals(this.ToString())); }
public RowField(ReportField field) { Hidden = field.Hidden; Name = field.Name; DataType = field.DataType; DataFormatString = field.DataFormatString; HeaderText = field.HeaderText; DataStyle = field.DataStyle.Copy(); FooterStyle = field.FooterStyle; HeaderStyle = field.HeaderStyle; ShowTotals = field.ShowTotals; }