⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 topic.cs

📁 是一款式CSDN阅读器,可以方便CSDN用户阅读自己感兴趣的内容!
💻 CS
字号:
using System;
using System.Collections.Generic;

using System.Threading;
using System.Web;

namespace feiyun0112.cnblogs.com.CSDNReader.Model
{
    /// <summary>
    /// Summary description for Topic.
    /// </summary>
    public class Topic
    {
        public Topic(Model.Room room, string id, string name, string user, string points, string replies, string replytime)
        {
            //
            // TODO: Add constructor logic here
            //
            this.Room = room;
            _id = id;
            _name = HttpUtility.HtmlDecode(name);
            _HaveRead = false;
            _replytime = replytime;
            _user = user;
            _points = points;
            _replies = replies;
            _recid = 0;
            _ReadAgain = false;
        }
        private string _name;
        private string _id;
        private string _replytime;
        private string _user;
        private string _points;
        private string _replies;
        private bool _HaveRead;
        private bool _HaveReplied;
        private bool _ReadAgain;
        private int _recid;
 
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = HttpUtility.HtmlDecode(value);
            }
        }
        public string Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }
        public string User
        {
            get
            {
                return _user;
            }
            set
            {
                _user = value;
            }
        }
        public string Point
        {
            get
            {
                return _points;
            }
            set
            {
                _points = value;
            }
        }
        public string Replies
        {
            get
            {
                return _replies;
            }
            set
            {
                _replies = value;
            }
        }
        public string ReplyTime
        {
            get
            {
                return _replytime;
            }
            set
            {
                _replytime = value;
            }
        }
        public bool HaveRead
        {
            get
            {
                return _HaveRead;
            }
            set
            {
                _HaveRead = value;
            }
        }

        public bool HaveReplied
        {
            get
            {
                return _HaveReplied;
            }
            set
            {
                _HaveReplied = value;
            }
        }

        public bool ReadAgain
        {
            get
            {
                return _ReadAgain;
            }
            set
            {
                _ReadAgain = value;
            }
        }
        public int RecID
        {
            get
            {
                return _recid;
            }
            set
            {
                _recid = value;
            }
        }
        private Controls.TopicTabPage  _TabPage;

        public Controls.TopicTabPage  TabPage 
        {
            get { return _TabPage; }
            set { _TabPage = value; }
        }


        private string _Html;

        public string Html
        {
            get { return _Html; }
            set { _Html = value; }
        }


        private Thread _threadShow;

        public Thread threadShow
        {
            get { return _threadShow; }
            set { _threadShow = value; }
        }
               

        private Model.Room  _Room=null;

        public Model.Room  Room
        {
            get { return _Room; }
            set { _Room = value; }
        }

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -