Exemplo n.º 1
0
 public LoginViewModel()
 {
     LoginCommand    = new MyCommand(LoginCommandExecute, LoginCommandCanExecute);
     RegisterCommand = new MyCommand(RegisterCommandExecute);
 }
Exemplo n.º 2
0
        public PatientDataContext()
        {
            AddCommand = new MyCommand(Add, CanAdd);

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