Esempio n. 1
0
 public RegisterPatientViewModel()
 {
     _ips = new InsurancePlanSystem();
     _pc  = new PatientCatalog();
     CheckInsurancePatientCommand = new RelayCommand(CheckInsurance);
     RegisterNewPatientCommand    = new RelayCommand(RegisterNewPatient);
     CheckPatientCommand          = new RelayCommand(CheckPatient);
 }
 public OprettePatientViewModel()
 {
     _ips            = new InsurancePlanSystem();
     _patientCatalog = new PatientCatalog();
     _checkInsurancePatientCommand = new RelayCommand(CheckInsurance);
     _addPatientCommand            = new RelayCommand(CreatePatient);
     _patientViewModelCollection   = new ObservableCollection <PatientClass>();
 }