コード例 #1
0
        public override bool Equals(object obj)
        {
            ReportField field = obj as ReportField;

            if (field == null)
            {
                return(false);
            }

            return(field.ToString().Equals(this.ToString()));
        }
コード例 #2
0
 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;
 }