private void LoadProducts()
        {
            IProductMgr productMgr = new ContainerBootstrapper().ChildContainer.Resolve <IProductMgr>();

            bindingSourceProducts.DataSource = productMgr.GetAll().OfType <TimesCard>();
            //bindingSourceProducts.DataSource = productMgr.GetAll().OfType<T>();
        }
Пример #2
0
        private void LoadMediums()
        {
            IMediumMgr mediumMgr = new ContainerBootstrapper().ChildContainer.Resolve <IMediumMgr>();

            bindingSourceMediums.DataSource = mediumMgr.GetAll();
        }