public void UpdateOccupationsMenu() { occupationSource.DataSource = registerController.GetOccupations(); occupationcomboBox1.DataSource = occupationSource.DataSource; occupationcomboBox1.DisplayMember = "Name"; occupationcomboBox1.ValueMember = "Name"; }