Beispiel #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());
 }
Beispiel #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));
 }
Beispiel #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());
 }