public LoginViewModel()
 {
     LoginCommand    = new MyCommand(LoginCommandExecute, LoginCommandCanExecute);
     RegisterCommand = new MyCommand(RegisterCommandExecute);
 }
        public PatientDataContext()
        {
            AddCommand = new MyCommand(Add, CanAdd);

            OkButtonText = "Add";
        }
 public AddEditDialogViewModelBase()
 {
     OkCommand    = new MyCommand(OkExecute, CanOkExecute);
     OkButtonText = "Add";
     IsInEditMode = false;
 }
 public MainDataContext()
 {
     OpenPatientsCommand = new MyCommand(OpenPatientsCommandExecute);
 }
Example #5
0
 public LoginDataContext()
 {
     LoginCommand    = new MyCommand(LoginCommandExecute, LoginCommandCanExecute);
     RegisterCommand = new MyCommand(RegisterCommandExecute);
 }