Browse Source

Загрузить файлы ''

Andrew 2 years ago
parent
commit
af5453a5f0
1 changed files with 8 additions and 0 deletions
  1. 8 0
      123.txt

+ 8 - 0
123.txt

@@ -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();