Beispiel #1
0
 private void button4_Click_1(object sender, EventArgs e)
 {
     comboBox1.Items.Clear();
     comboBox2.Items.Clear();
     comboBox4.Items.Clear();
     comboBox5.Items.Clear();
     comboBox6.Items.Clear();
     for (int i = 0; i < grp1.Get_City_Num(); i++)
     {
         comboBox1.Items.Add(grp1.IDToName(i));
         comboBox2.Items.Add(grp1.IDToName(i));
     }
     if (grp1.Get_City_Num() > 0)
     {
         comboBox1.Text = grp1.IDToName(0);
         comboBox2.Text = grp1.IDToName(0);
         comboBox3.Text = "飞碟";
     }
     Init_Time_Menu();
 }