public bool Equals(HeaderFooterTemplateItem other) { return(base.Equals(other) && (WantDivider == other.WantDivider) && (PixelHeight == other.PixelHeight) && DrawingColor.Equals(BackColor, other.BackColor)); }
public bool Equals(HeaderFooterTemplateItem other) { return(base.Equals(other) && (WantDivider == other.WantDivider) && (PixelHeight == other.PixelHeight) && (BackColor.ToArgb() == other.BackColor.ToArgb())); }
// For deriving only protected HeaderFooterTemplateReporter(HeaderFooterTemplateItem item, Color defbackColor) : base(item.XmlTag, item.Height) { Copy(item); DefaultBackColor = defbackColor; }
public bool Copy(HeaderFooterTemplateItem other) { if (!base.Copy(other)) { return(false); } WantDivider = other.WantDivider; BackColor = Color.FromName(other.BackColor.ToString()); return(true); }
public bool Copy(HeaderFooterTemplateItem other) { if (!base.Copy(other)) { return(false); } WantDivider = other.WantDivider; PixelHeight = other.PixelHeight; BackColor = DrawingColor.Copy(other.BackColor); return(true); }