111,126
社区成员
发帖
与我相关
我的任务
分享
comboBox2.Items.Clear();
if (combox1.Text == 'A')
{
comboBox2.Items.AddRange(new object[] { 1, 2, 3 });
}
else if (combox1.Text == 'B')
{
comboBox2.Items.AddRange(new object[] { 4, 5, 6 });
}