voteinfo.cs

来自「电子商务网站转载而来[展开所有目录] [建议增加分类] (重要) 」· CS 代码 · 共 58 行

CS
58
字号
using System;
using System.Collections.Generic;
using System.Text;
//该源码下载自【编程联盟】ASp.Net下载中心 【 http://aspx.bcbbs.net 】

namespace Model
{
    public class VoteInfo
    {
        public int txtId;
        public string txtName = string.Empty;
        public int txtVoteNum;
        public bool txtVis;
        public VoteInfo()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        public VoteInfo(int nId, string nName, int nVoteNum, bool nVis)
        {

            this.txtId = nId;
            this.txtName = nName;
            this.txtVoteNum = nVoteNum;
            this.txtVis = nVis;

        }
        public int VoteId
        {

            get { return txtId; }
            set { txtId = value; }

        }
        public string VoteName
        {

            get { return txtName; }
            set { txtName = value; }

        }
        public int VoteNum
        {

            get { return txtVoteNum; }
            set { txtVoteNum = value; }

        }
        public bool Vis
        {

            get { return txtVis; }
            set { txtVis = value; }

        }
    }
}

⌨️ 快捷键说明

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