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>(); }
public void Register(object s) { PatientCatalog PatientCatalog = new PatientCatalog(); PatientCatalog.GetData(Patient); PatientCatalog.Post(); Type type = typeof(PatientListView); FrameNavigation.ActivateFrameNavigation(type); }