private void LoadProducts() { IProductMgr productMgr = new ContainerBootstrapper().ChildContainer.Resolve <IProductMgr>(); bindingSourceProducts.DataSource = productMgr.GetAll().OfType <TimesCard>(); //bindingSourceProducts.DataSource = productMgr.GetAll().OfType<T>(); }
private void LoadMediums() { IMediumMgr mediumMgr = new ContainerBootstrapper().ChildContainer.Resolve <IMediumMgr>(); bindingSourceMediums.DataSource = mediumMgr.GetAll(); }