|
@@ -0,0 +1,8 @@
|
|
|
+List<string> listManufacturer = new List<string>();
|
|
|
+ listManufacturer.Add("Все производители");
|
|
|
+ foreach (Product product in BaseConnect.BaseModel.Product.ToList())
|
|
|
+ {
|
|
|
+ string Manuf = product.ProductManufacturer;
|
|
|
+ listManufacturer.Add(Manuf);
|
|
|
+ }
|
|
|
+ cbManufact.ItemsSource = listManufacturer.Distinct();
|