Exemple #1
0
        public ChequeVoucherViewerVM LaunchChequeVoucherViewer(PassbookRowDTO rec, bool launchWindow = true)
        {
            var vm = ChequeVoucherViewerVM.Show(rec.As <ChequeVoucherDTO>(), AppArgs, launchWindow);

            vm.PassbookRow         = rec;
            vm.PassbookRepo        = Repo;
            vm.ClearedDateUpdated += (s, e) => ReloadFromDB();
            return(vm);
        }
 protected override void OnItemOpened(ChequeVoucherDTO e)
 => ChequeVoucherViewerVM.Show(ItemsList.CurrentItem, AppArgs);