Beispiel #1
0
 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()));
 }
Beispiel #3
0
            // For deriving only
            protected HeaderFooterTemplateReporter(HeaderFooterTemplateItem item, Color defbackColor)
                :
                base(item.XmlTag, item.Height)
            {
                Copy(item);

                DefaultBackColor = defbackColor;
            }
Beispiel #4
0
        public bool Copy(HeaderFooterTemplateItem other)
        {
            if (!base.Copy(other))
            {
                return(false);
            }

            WantDivider = other.WantDivider;
            BackColor   = Color.FromName(other.BackColor.ToString());
            return(true);
        }
Beispiel #5
0
        public bool Copy(HeaderFooterTemplateItem other)
        {
            if (!base.Copy(other))
            {
                return(false);
            }

            WantDivider = other.WantDivider;
            PixelHeight = other.PixelHeight;
            BackColor   = DrawingColor.Copy(other.BackColor);

            return(true);
        }