示例#1
0
 public void logout()
 {
     _currentUser = null;
 }
示例#2
0
 public EmployeeViewModel(User user)
 {
     CurrentUser = user;
     Title = Consts.USER_TITLE_EDIT;
     _type = PanelType.Edit;
     IsBackButtonVisible = true;
     setBooleanValues();
 }
示例#3
0
 public void login(User user)
 {
     // Validation?
     _currentUser = user;
 }
示例#4
0
 public EmployeeViewModel()
 {
     _currentUser = new User();
     Title = Consts.USER_TITLE_NEW;
     _type = PanelType.New;
     IsBackButtonVisible = false;
     setBooleanValues();
 }