Files
bodyshop-uploader/BodyshopUploader/ViewModels/LoginViewModel.props.cs
2023-02-24 15:51:37 -08:00

51 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace RomeOnlinePartner.ViewModels
{
public partial class LoginViewModel : BaseViewModel
{
private string _userName = Properties.Settings.Default.Username;
public string UserName
{
get { return _userName; }
set { SetProperty(ref _userName, value); }
}
private SecureString _userPassword = Properties.Settings.Default.Password;
public SecureString UserPassword
{
get { return _userPassword; }
set { SetProperty(ref _userPassword, value); }
}
private bool _error = false;
public bool Error
{
get { return _error; }
set { SetProperty(ref _error, value); }
}
private string _errorMsg;
public string ErrorMsg
{
get { return _errorMsg; }
set { SetProperty(ref _errorMsg, value); }
}
private bool _loading = false;
public bool Loading
{
get { return _loading; }
set { SetProperty(ref _loading, value); }
}
}
}