/// <summary> /// Initializes a new instance of the <see cref="ManageDeliveryNotesViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageDeliveryNotesViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableDeliveryNote = new SelectableViewModelBase<DeliveryNotePackage>(); ShowCanceledDeliveryNotes = true; LoadDeliveryNotes(string.Empty, ShowCanceledDeliveryNotes); }
/// <summary> /// Initializes a new instance of the <see cref="ManageOrdersViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageOrdersViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableOrder = new SelectableViewModelBase<OrderPackage>(); ShowCanceledOrders = true; LoadOrders(string.Empty, ShowCanceledOrders); }
/// <summary> /// Initializes a new instance of the <see cref="ManageMaterialsViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageMaterialsViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableMaterial = new SelectableViewModelBase<MaterialAndContractorsPackage>(); LoadMaterials(); }
/// <summary> /// Initializes a new instance of the <see cref="ManageClientsViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageClientsViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableClient = new SelectableViewModelBase<ClientAndClientBuildingsPackage>(); LoadClients(); }
/// <summary> /// Initializes a new instance of the <see cref="ManageRecipesViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageRecipesViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableRecipe = new SelectableViewModelBase<RecipePackage>(); LoadRecipePackages(); }
/// <summary> /// Initializes a new instance of the <see cref="ManageContractorsViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageContractorsViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableContractor = new SelectableViewModelBase<ContractorPrimitive>(); LoadContractors(); }
/// <summary> /// Initializes a new instance of the <see cref="ManageDriversViewModel"/> class. /// </summary> /// <param name="modalDialogService">The modal dialog service.</param> /// <param name="serviceFactory">The service factory.</param> public ManageDriversViewModel(IModalDialogService modalDialogService, IServiceFactory serviceFactory) : base(modalDialogService, serviceFactory) { SelectableDriver = new SelectableViewModelBase<CarAndDriverPackage>(); LoadDrivers(); }