UserData.cs
749 Bytes
using System.ComponentModel;
/// <summary>
/// 用户名和密码的实体类
/// </summary>
namespace OS.Spin.ViewModle.Models
{
class UserData : INotifyPropertyChanged
{
private string _username;
private string _password;
/// <summary>
/// 设置或获取用户名
/// </summary>
public string username
{
get { return _username; }
set
{
_username = value;
}
}
public string password
{
get { return _password; }
set
{
_password = value;
}
}
public event PropertyChangedEventHandler PropertyChanged;
}
}