private void ExecuteCollateralEdit(object obj)
        {
            CollateralDialogViewModel viewModel = new CollateralDialogViewModel(SelectedCollateral.Collateral_agreement,
                                                                                SelectedCollateral.Start_date, SelectedCollateral.End_date, SelectedCollateral.Credit_agreement, SelectedCollateral.Currency,
                                                                                SelectedCollateral.TypeId, SelectedCollateral.Sum, SelectedCollateral.Description, SelectedCollateral.FormId);

            WindowManager.ProcessMessage(viewModel as object);
        }
Exemplo n.º 2
0
        public void ExecuteAddCollateral(object obj)
        {
            CollateralDialogViewModel viewModel = new CollateralDialogViewModel(SelectedCredit.Credit_agreement);

            WindowManager.ProcessMessage(viewModel as object);
        }