Exemple #1
0
 public AddNewBeneficiaryView(HealthcareViewModel InVm)
 {
     InitializeComponent();
     addNewBeneficiaryViewModel = new AddNewBeneficiaryViewModel(InVm, ParentWindow);
     DataContext = addNewBeneficiaryViewModel;
     WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
 }
Exemple #2
0
 public AddNewBeneficiaryViewModel(HealthcareViewModel InVm,Window ArgParentWnd)
 {
     _parentWnd = ArgParentWnd;
     _healthcareVm = InVm;
     _healthcareDc = InVm.HealthDataContext;
     _beneficiary = new fBeneficiariesToEmployeeResult();
     //_beneficiary.BeneficiaryParentEmployeeID = _healthcareVm.SelectedEmployeeId;
 }