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

📄 userinfo.cs

📁 电子商务网站转载而来[展开所有目录] [建议增加分类] (重要) 您上载的源码为何会被站长不采用或帐号被删除? 1.源码太简单 2.不是源码 3.缺少文件 4.所选类别和开发环境
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class UserInfo
    {
        public int txtId;
        public string txtName = string.Empty;
        public string txtPass = string.Empty;
        public string txtEmail = string.Empty;
        public string txtPhone = string.Empty;
        public Int64 txtTelephone;
        public string txtAdress = string.Empty;
        public string txtIP = string.Empty;
        public bool txtVis;
        public UserInfo()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        public UserInfo(int nId, string nName, string nPass, string nEmail, string nPhone, Int64 nTelephone, string nAdress, string nIP, bool nVis)
        {

            this.txtId = nId;
            this.txtName = nName;
            this.txtPass = nPass;
            this.txtEmail = nEmail;
            this.txtPhone = nPhone;
            this.txtTelephone = nTelephone;
            this.txtAdress = nAdress;
            this.txtIP = nIP;
            this.txtVis = nVis;

        }
        public UserInfo(string nName, string nPass, string nEmail, string nPhone, Int64 nTelephone, string nAdress, string nIP)
        {

            this.txtName = nName;
            this.txtPass = nPass;
            this.txtEmail = nEmail;
            this.txtPhone = nPhone;
            this.txtTelephone = nTelephone;
            this.txtAdress = nAdress;
            this.txtIP = nIP;


        }
        public UserInfo(string nName,string nEmail, string nPhone, Int64 nTelephone, string nAdress)
        {
            this.txtName = nName;
            this.txtEmail = nEmail;
            this.txtPhone = nPhone;
            this.txtTelephone = nTelephone;
            this.txtAdress = nAdress;

        }
        public UserInfo(int nId, string nName, string nIP, bool nVis)
        {

            this.txtId = nId;
            this.txtName = nName;
            this.txtIP = nIP;
            this.txtVis = nVis;

        }
        public int UserId
        {

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

        }
        public string UserName
        {

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

        }
        public string UserPass
        {

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

        }
        public string UserEmail
        {

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

        }
        public string UserPhone
        {

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

        }
        public Int64 UserTelephone
        {

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

        }
        public string UserAdress
        {

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

        }
        public string UserIP
        {

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

        }
        public bool UserVis
        {

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

        }
    }
}

⌨️ 快捷键说明

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