Ejemplo n.º 1
0
        private void Initialize()
        {
            m_orderModule = Scout.Core.Modules.Orders;
            m_areaService = Scout.Core.Service <IAreaService>();
            m_uow         = Scout.Core.Data.GetUnitOfWork();

            m_persistence = new PersistenceController(m_uow);

            m_shopfloorlines = m_areaService.GetAllShopfloorlines(m_uow);
            m_organizations  = Organization.GetActiveOrganizations();
            m_shipMethods    = OrderService.GetAllShipMethods();

            m_detailControls = new List <IBindableComponent>();

            CurrentShopfloorline = null;

            detailsTab.Visibility = LayoutVisibility.Never;

            LoadDetailsControls(m_detailControls);
        }
Ejemplo n.º 2
0
 private void LoadLists()
 {
     shopfloorlineSelList.Properties.DataSource = m_areas.GetAllShopfloorlines(m_unitOfWork);
 }