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