コード例 #1
0
        public bool DeleteStyle(string stylename)
        {
            HeaderGameInfo style = this[stylename];

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

            innerList.Remove(style);

            return(true);
        }
コード例 #2
0
        public HeaderGameInfo Copy()
        {
            HeaderGameInfo thiscopy = new HeaderGameInfo(this.styleName);

            thiscopy._FirstObjectOnly = this._FirstObjectOnly;
            thiscopy._Multiline       = this._Multiline;
            thiscopy._Date            = this._Date;
            thiscopy._Object          = this._Object;
            thiscopy._Location        = this._Location;
            thiscopy._ScoutType       = this._ScoutType;
            thiscopy._Title           = this._Title;
            thiscopy._WordWrap        = this._WordWrap;
            thiscopy._Opponent        = this._Opponent;
            return(thiscopy);
        }