Ejemplo n.º 1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public UserLoginControlViewModel()
 {
     // Setting commands
     LoginAsUser           = new RelayParameterizedCommand(async(password) => await LoginAsUserCommandAsync(password));
     CloseUserLoginControl = new RelayCommand(CloseUserLoginControlCommand);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public SideMenuControlViewModel()
 {
     // Create the command for changing page
     ChangePage = new RelayParameterizedCommand((pageToOpen) => ChangePageCommand(pageToOpen));
 }