コード例 #1
0
 public RegisterPatientViewModel()
 {
     _ips = new InsurancePlanSystem();
     _pc  = new PatientCatalog();
     CheckInsurancePatientCommand = new RelayCommand(CheckInsurance);
     RegisterNewPatientCommand    = new RelayCommand(RegisterNewPatient);
     CheckPatientCommand          = new RelayCommand(CheckPatient);
 }
コード例 #2
0
 public OprettePatientViewModel()
 {
     _ips            = new InsurancePlanSystem();
     _patientCatalog = new PatientCatalog();
     _checkInsurancePatientCommand = new RelayCommand(CheckInsurance);
     _addPatientCommand            = new RelayCommand(CreatePatient);
     _patientViewModelCollection   = new ObservableCollection <PatientClass>();
 }