private void loadInfoToCombobox1() { if (comboBox1.Items.Count != 0) { comboBox1.Items.Clear(); } List <string> values = DB.loadDataFromJobStatusEmployee(); foreach (var value in values) { comboBox1.Items.Add(value.ToString()); } }
private void loadInfoToCombobox1() { if (comboBox1.Items.Count != 0) { comboBox1.Items.Clear(); } List <string> values = DB.loadDataFromJobStatusEmployee(); foreach (var value in values) { comboBox1.Items.Add(value.ToString()); } }