public BiblioVM() { displayRoot.RegisterWindowType <ReaderChangeVM, ReaderChange>(); FillReaders(); if (Readers == null || Readers.Count == 0) { db.Readers.AddRange(Reader.FillReaders()); db.SaveChanges(); FillReaders(); } }
public App() { DisplayRootRegistry.RegisterWindowType <CollectionsDataViewModel, MainWindow>(); DisplayRootRegistry.RegisterWindowType <AuthViewModel, AuthDialogWindow>(); }
public App() { displayRootRegistry.RegisterWindowType <MainViewModel, MainWindow>(); displayRootRegistry.RegisterWindowType <AddServiceLogViewModel, AddWindowServiceLog>(); }
//#1 //MainWindowViewModel mainWindowViewModel; public App() { displayRootRegistry.RegisterWindowType <DialogImageEditViewModel, DialogImageEditWindow>(); }
public App() { displayRootRegistry.RegisterWindowType <DataMainViewModel, MainWindow>(); displayRootRegistry.RegisterWindowType <DataUpdaterViewModel, UpdaterWindow>(); }
public App() { Initialization initialization = new Initialization(); displayRootRegistry.RegisterWindowType <MainWindowViewModel, View.MainWindow>(); displayRootRegistry.RegisterWindowType <DialogWindowViewModel, DialogWindow>(); displayRootRegistry.RegisterWindowType <Organization, AddElements>(); displayRootRegistry.RegisterWindowType <DocumentType, AddElements>(); displayRootRegistry.RegisterWindowType <IssuingAuthority, AddElements>(); displayRootRegistry.RegisterWindowType <Employee, View.AddAmployee>(); displayRootRegistry.RegisterWindowType <Department, AddElements>(); displayRootRegistry.RegisterWindowType <ShootingPermission, View.AddSP>(); displayRootRegistry.RegisterWindowType <StationFacility, AddElements>(); displayRootRegistry.RegisterWindowType <TemporarPass, View.AddTemporaryPas>(); displayRootRegistry.RegisterWindowType <SinglePass, View.AddSinglePass>(); displayRootRegistry.RegisterWindowType <Visitor, VisiterWindow>(); displayRootRegistry.RegisterWindowType <DocumentPrint, View.ShootingPermissionDocument>(); }
public App() { // displayRootRegistry.RegisterWindowType<MainWindowVM, Views.MainWindowView>(); displayRootRegistry.RegisterWindowType <AddVisitorVM, AddVisitorWindow>(); displayRootRegistry.RegisterWindowType <DocumentType, OneValueV>(); displayRootRegistry.RegisterWindowType <IssuingAuthority, OneValueV>(); displayRootRegistry.RegisterWindowType <OneValueExtendedVM <DocumentType>, OneValueExtendedV>(); displayRootRegistry.RegisterWindowType <OneValueExtendedVM <IssuingAuthority>, OneValueExtendedV>(); displayRootRegistry.RegisterWindowType <DialogVM, DialogWindowV>(); displayRootRegistry.RegisterWindowType <SinglePass, SinglePassView>(); displayRootRegistry.RegisterWindowType <Employee, EmployeeV>(); displayRootRegistry.RegisterWindowType <Department, OneValueV>(); displayRootRegistry.RegisterWindowType <OneValueExtendedVM <Department>, OneValueExtendedV>(); displayRootRegistry.RegisterWindowType <OneValueExtendedVM <Employee>, OneValueExtendedV>(); displayRootRegistry.RegisterWindowType <TemporaryPass, TemporaryPassV>(); displayRootRegistry.RegisterWindowType <ShootingPermission, ShootingPermisionV>(); displayRootRegistry.RegisterWindowType <Access, AccessV>(); displayRootRegistry.RegisterWindowType <StationFacility, OneValueV>(); displayRootRegistry.RegisterWindowType <OneValueExtendedVM <StationFacility>, OneValueExtendedV>(); }
public App() { displayRootRegistry.RegisterWindowType <MainViewModel, MainWindow>(); displayRootRegistry.RegisterWindowType <DataViewModel, DataWindow>(); displayRootRegistry.RegisterWindowType <MessageViewModel, MessageWindow>(); }
public App() { displayRoot.RegisterWindowType <BiblioVM, MainWindow>(); }