Ejemplo n.º 1
0
 /// <summary>
 /// Defualt constructor for the class
 /// </summary>
 /// <param name="window"></param>
 public LoginViewModel()
 {
     LoginCommand      = new RelayParameterizedCommand(async(parameter) => await Login(parameter));
     GoRegisterCommand = new RelayCommand(async() => await GoRegister());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Defualt constructor for the class
 /// </summary>
 /// <param name="window"></param>
 public PaymentViewModel()
 {
     PayupCommand   = new RelayParameterizedCommand(async(parameter) => await Payup(parameter));
     ClearUpCommand = new RelayParameterizedCommand(async(parameter) => await Cleanup(parameter));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Defualt constructor for the class
 /// </summary>
 /// <param name="window"></param>
 public RegisterViewModel()
 {
     RegisterCommand = new RelayParameterizedCommand(async(parameter) => await Register(parameter));
     GoLoginCommand  = new RelayCommand(async() => await GoLogin());
 }