示例#1
0
        /*============Constructor===========*/

        public Novel(string novelTitle, NovelState state = NovelState.Active, int rank = 0, bool isReading = false)
        {
            this._novelTitle      = novelTitle;
            this._state           = state;
            this._rank            = rank;
            this._newChapterCount = 0;
            this._isReading       = isReading;

            this._chapters = new BindingList <Chapter>();
            SetUpdateProgress();
        }
        /*============Constructor===========*/

        public Novel(string novelTitle, NovelState state = NovelState.Active, int rank = 0, bool isReading = false)
        {
            this._novelTitle = novelTitle;
            this._state = state;
            this._rank = rank;
            this._newChapterCount = 0;
            this._isReading = isReading;

            this._chapters = new BindingList<Chapter>();
            SetUpdateProgress();
        }