为组合控件编写的一个函数,在工程中调用后没有反应 ,这是怎么回事啊。
        
private void update()
        {
            comboBox1.SelectedIndex = 4;
            radioButton1.Checked = xuanze;
            radioButton2.Checked = !xuanze;
            if (chengji_100 == -1)
            {
                textBox1.Text = "输入成绩";
            }
            else
            {
                textBox1.Text = chengji_100.ToString();
            }            comboBox2.SelectedItem = chengji_5;
        }