public PatientBasedDataViewModal(PatientBasedDataWindow parent) { parentWindow = parent; Model_Instance = new PatientBasedDataModel(this); generatePatientBasedDataCommand = new RelayCommand(generatePatientBasedData, (x) => true); }
private void PatientBasedData_Click(object sender, RoutedEventArgs e) { this.Hide(); var PatientBasedDataWindow_instance = new PatientBasedDataWindow(this); PatientBasedDataWindow_instance.Show(); }