Explorar el Código

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

Andrew hace 2 años
padre
commit
af5453a5f0
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  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();