예제 #1
0
        private void loadInfoToCombobox1()
        {
            if (comboBox1.Items.Count != 0)
            {
                comboBox1.Items.Clear();
            }

            List <string> values = DB.loadDataFromPositionAdmin();

            foreach (var value in values)
            {
                comboBox1.Items.Add(value.ToString());
            }
        }