private void ProductListView_Load(object sender, EventArgs e) { pres.OnInit(); bs.DataSource = pres.document.ProductList; grProducts.DataSource = bs; grProducts.AutoGenerateColumns = true; foreach (var item in Enum.GetValues(typeof(Currency))) { cbCurrency.Items.Add(item); } foreach (var item in Enum.GetValues(typeof(Model.Type))) { cbType.Items.Add(item); } }