Beispiel #1
0
        public ReportHeaderStyle Copy()
        {
            ReportHeaderStyle thiscopy = new ReportHeaderStyle(this.styleName);

            thiscopy.styleName  = this.styleName;
            thiscopy.font       = (Font)this.font.Clone();
            thiscopy.textColor  = this.textColor;
            thiscopy.backColor  = this.backColor;
            thiscopy.showBorder = this.showBorder;
            return(thiscopy);
        }
Beispiel #2
0
        public bool DeleteStyle(string stylename)
        {
            ReportHeaderStyle style = this[stylename];

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

            innerList.Remove(style);

            return(true);
        }