为组合控件编写的一个函数,在工程中调用后没有反应 ,这是怎么回事啊。
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;
}
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;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货