private void LoadDessertsCombobox() { var desserts = ManufactureController.GetDesserts(); positionsName_comboBox.DataSource = desserts; int index = 1; positionsName_comboBox.SelectedIndex = index; positionsName_comboBox.DisplayMember = desserts[index]; }
private void LoadGrid() { manufacture_dataGrid.DataSource = ManufactureController.GetPositions(service, dbId); }