コード例 #1
0
        public SectionRowInspectorVM(SectionColxnsRow sectionColxnsRow, ITenantDBsDir dir) : base(dir)
        {
            MainRow         = sectionColxnsRow;
            EditPRNumberCmd = R2Command.Relay(_ => EditPRNumber(_), _ => CanEditPRNumber(), "Edit PR Number");

            MainRow.Details.ItemOpened += (s, e) => SoaViewer.Show(e.Lease, dir);
            SetCaption($"Collections from “{MainRow?.Section}” by {MainRow.Collector}");
        }
コード例 #2
0
 protected override void OnItemOpened(LeaseDTO e)
 => SoaViewer.Show(e, AppArgs);
コード例 #3
0
ファイル: LeasesListVM.cs プロジェクト: peterson1/RentLog
 public LeasesListVM(MainWindowVM2 mainWindowVM2)
 {
     MainWindow       = mainWindowVM2;
     this.ItemOpened += (s, e)
                        => SoaViewer.Show(e.Lease, MainWindow.AppArgs);
 }
コード例 #4
0
 private void OnItemOpened(CollectorPerfSubRow e)
 {
     _dir.MarketState.RefreshStall(e.Lease);
     SoaViewer.Show(e.Lease, _dir);
 }
コード例 #5
0
 public WithOverduesReportVM(ITenantDBsDir appArguments) : base(appArguments)
 {
     Rows.ItemOpened += (s, e) => SoaViewer.Show(e.DTO, AppArgs);
     Sections.SetItems(GetSectionsList());
     PickedSection = Sections.First();
 }