using BPA.Helper; using BPA.Helper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.ViewModel { public class AdminstratorsViewModel:NotifyBase { public string Admin { get { return _admin; } set { _admin = value; OnPropertyChanged(); } } private string _admin; public string Password { get { return _password; } set { _password = value; OnPropertyChanged(); } } private string _password; public string ErrorMessage { get { return _errorMessage; } set { _errorMessage = value; OnPropertyChanged(); } } private string _errorMessage; public BPARelayCommand AdminLoginCommand { get; set; } public AdminstratorsViewModel() { AdminLoginCommand = new BPARelayCommand(() => { ActionManage.GetInstance.Send("LoginSuccess"); }); } } }