Example #1
0
 private void PrepareBindings()
 {
     bindingSourceProductsIdNameModel = new BindingSource {
         DataSource = facade.GetProductsDto()
     };
     bindingSourceUnitsIdNameModel = new BindingSource {
         DataSource = facade.GetUnitsDto()
     };
 }
Example #2
0
 /// <summary>
 /// Повертає екземпляр представлення списку товарів постачальників
 /// </summary>
 /// <returns>Екземпляр представлення списку товарів постачальників</returns>
 public IProductsUC GetProductsUC()
 {
     productsUC.SetupControls(BuildDataSource(facade.GetProductsDto()));
     return(productsUC);
 }
Example #3
0
 private BindingSource PrepareBindings() => new BindingSource
 {
     DataSource = facade.GetProductsDto()
 };